[Smi-tickets] [COIN-OR Stochastic Modeling Interface] #4: valgrind reports many memory leaks in unittest

Trac ticket reflector for Smi smi-tickets at list.coin-or.org
Sun Jun 15 10:09:05 EDT 2008


#4: valgrind reports many memory leaks in unittest
------------------------+---------------------------------------------------
 Reporter:  stefan      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  major       |   Milestone:          
Component:  component1  |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------
 Hi,

 running
 {{{
    valgrind --tool=memcheck --leak-check=full  --show-reachable=yes
 ./unitTest
 }}}

 gives me
 {{{
 ==2989== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 5 from 1)
 ==2989== malloc/free: in use at exit: 1,320,462 bytes in 16,201 blocks.
 ==2989== malloc/free: 53,476 allocs, 37,275 frees, 194,706,926 bytes
 allocated.
 ==2989== For counts of detected errors, rerun with: -v
 ==2989== searching for pointers to 16,201 not-freed blocks.
 ==2989== checked 169,288 bytes.
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 1 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A0E9: SmiScenarioTreeUnitTest() (unitTest.cpp:88)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 2 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A0D5: SmiScenarioTreeUnitTest() (unitTest.cpp:87)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 3 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A0C1: SmiScenarioTreeUnitTest() (unitTest.cpp:86)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 4 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A0AD: SmiScenarioTreeUnitTest() (unitTest.cpp:85)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 5 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A099: SmiScenarioTreeUnitTest() (unitTest.cpp:84)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 6 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A085: SmiScenarioTreeUnitTest() (unitTest.cpp:83)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 7 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A071: SmiScenarioTreeUnitTest() (unitTest.cpp:82)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 8 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40A05D: SmiScenarioTreeUnitTest() (unitTest.cpp:81)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 9 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409C7F: SmiScenarioTreeUnitTest() (unitTest.cpp:55)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 10 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409C68: SmiScenarioTreeUnitTest() (unitTest.cpp:54)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 11 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409C51: SmiScenarioTreeUnitTest() (unitTest.cpp:53)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 12 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409C3A: SmiScenarioTreeUnitTest() (unitTest.cpp:52)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 13 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409C23: SmiScenarioTreeUnitTest() (unitTest.cpp:51)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 14 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409C0C: SmiScenarioTreeUnitTest() (unitTest.cpp:50)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 15 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409BF5: SmiScenarioTreeUnitTest() (unitTest.cpp:49)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are definitely lost in loss record 16 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409BDE: SmiScenarioTreeUnitTest() (unitTest.cpp:48)
 ==2989==    by 0x40C1DF: main (unitTest.cpp:1765)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 17 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409776: SmiTreeNodeUnitTest() (unitTest.cpp:279)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 18 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409762: SmiTreeNodeUnitTest() (unitTest.cpp:278)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 19 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40974E: SmiTreeNodeUnitTest() (unitTest.cpp:277)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 20 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40973A: SmiTreeNodeUnitTest() (unitTest.cpp:276)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 21 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409726: SmiTreeNodeUnitTest() (unitTest.cpp:275)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 22 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x409712: SmiTreeNodeUnitTest() (unitTest.cpp:274)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 23 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4096FB: SmiTreeNodeUnitTest() (unitTest.cpp:273)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 4 bytes in 1 blocks are indirectly lost in loss record 24 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4096E4: SmiTreeNodeUnitTest() (unitTest.cpp:272)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 8 bytes in 1 blocks are indirectly lost in loss record 25 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4548FE:
 __gnu_cxx::new_allocator<std::string>::allocate(unsigned long, void
 const*) (new_allocator.h:92)
 ==2989==    by 0x45492D: std::_Vector_base<std::string,
 std::allocator<std::string> >::_M_allocate(unsigned long)
 (stl_vector.h:144)
 ==2989==    by 0x454BF7: std::vector<std::string,
 std::allocator<std::string>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,
 std::vector<std::string, std::allocator<std::string> > >, std::string
 const&) (vector.tcc:308)
 ==2989==    by 0x454DDB: std::vector<std::string,
 std::allocator<std::string> >::push_back(std::string const&)
 (stl_vector.h:694)
 ==2989==    by 0x6081C9: CoinMessageHandler::operator<<(std::string
 const&) (CoinMessageHandler.cpp:771)
 ==2989==    by 0x584C1C: ClpSimplex::initialSolve(ClpSolve&)
 (ClpSolve.cpp:2385)
 ==2989==    by 0x44DD20: OsiClpSolverInterface::initialSolve()
 (OsiClpSolverInterface.cpp:354)
 ==2989==    by 0x404101: ModelBug() (unitTest.cpp:1706)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 8 bytes in 1 blocks are still reachable in loss record 26 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x414318: SmiCoreCombineReplace::Instance()
 (SmiCoreCombineRule.cpp:17)
 ==2989==    by 0x426D13: SmiSmpsCardReader::nextSmpsField()
 (SmiSmpsIO.cpp:751)
 ==2989==    by 0x427264: SmiSmpsIO::readStochFile(SmiScnModel*,
 SmiCoreData*, char const*, char const*) (SmiSmpsIO.cpp:193)
 ==2989==    by 0x41FA3C: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:548)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 8 bytes in 1 blocks are still reachable in loss record 27 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4142D8: SmiCoreCombineAdd::Instance()
 (SmiCoreCombineRule.cpp:142)
 ==2989==    by 0x426CFD: SmiSmpsCardReader::nextSmpsField()
 (SmiSmpsIO.cpp:748)
 ==2989==    by 0x42899D: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:82)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 16 bytes in 1 blocks are indirectly lost in loss record 28 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40FB0A:
 __gnu_cxx::new_allocator<SmiTreeNode<SmiScnNode*>*>::allocate(unsigned
 long, void const*) (new_allocator.h:92)
 ==2989==    by 0x40FB39: std::_Vector_base<SmiTreeNode<SmiScnNode*>*,
 std::allocator<SmiTreeNode<SmiScnNode*>*> >::_M_allocate(unsigned long)
 (stl_vector.h:144)
 ==2989==    by 0x425E05: std::vector<SmiTreeNode<SmiScnNode*>*,
 std::allocator<SmiTreeNode<SmiScnNode*>*>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<SmiTreeNode<SmiScnNode*>**,
 std::vector<SmiTreeNode<SmiScnNode*>*,
 std::allocator<SmiTreeNode<SmiScnNode*>*> > >, SmiTreeNode<SmiScnNode*>*
 const&) (vector.tcc:308)
 ==2989==    by 0x425F81: std::vector<SmiTreeNode<SmiScnNode*>*,
 std::allocator<SmiTreeNode<SmiScnNode*>*>
 >::push_back(SmiTreeNode<SmiScnNode*>* const&) (stl_vector.h:694)
 ==2989==    by 0x4260B1: SmiScenarioTree<SmiScnNode*>::addPathtoLeaf(int,
 int, std::vector<SmiScnNode*, std::allocator<SmiScnNode*> >&, unsigned)
 (SmiScenarioTree.hpp:304)
 ==2989==    by 0x421194: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:118)
 ==2989==    by 0x404091: ModelBug() (unitTest.cpp:1690)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 16 bytes in 1 blocks are indirectly lost in loss record 29 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4FC498: ClpSimplex::createStatus() (ClpSimplex.cpp:6685)
 ==2989==    by 0x5092AA: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6785)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 16 bytes in 1 blocks are indirectly lost in loss record 30 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x47547A: OsiAuxInfo::clone() const (OsiAuxInfo.cpp:31)
 ==2989==    by 0x46ECD8:
 OsiSolverInterface::OsiSolverInterface(OsiSolverInterface const&)
 (OsiSolverInterface.cpp:1047)
 ==2989==    by 0x442F2F:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2944)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 32 bytes in 1 blocks are indirectly lost in loss record 31 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x424040:
 __gnu_cxx::new_allocator<SmiScnNode*>::allocate(unsigned long, void
 const*) (new_allocator.h:92)
 ==2989==    by 0x42406F: std::_Vector_base<SmiScnNode*,
 std::allocator<SmiScnNode*> >::_M_allocate(unsigned long)
 (stl_vector.h:144)
 ==2989==    by 0x425AF5: std::vector<SmiScnNode*,
 std::allocator<SmiScnNode*>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<SmiScnNode**,
 std::vector<SmiScnNode*, std::allocator<SmiScnNode*> > >, SmiScnNode*
 const&) (vector.tcc:308)
 ==2989==    by 0x425C71: std::vector<SmiScnNode*,
 std::allocator<SmiScnNode*> >::push_back(SmiScnNode* const&)
 (stl_vector.h:694)
 ==2989==    by 0x42606F: SmiScenarioTree<SmiScnNode*>::addPathtoLeaf(int,
 int, std::vector<SmiScnNode*, std::allocator<SmiScnNode*> >&, unsigned)
 (SmiScenarioTree.hpp:300)
 ==2989==    by 0x421194: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:118)
 ==2989==    by 0x404091: ModelBug() (unitTest.cpp:1690)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 32 bytes in 1 blocks are indirectly lost in loss record 32 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x5240D3: ClpSimplex::gutsOfCopy(ClpSimplex const&)
 (ClpSimplex.cpp:2069)
 ==2989==    by 0x5238A9: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1865)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 32 bytes in 2 blocks are indirectly lost in loss record 33 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x482862: ClpEventHandler::clone() const
 (ClpEventHandler.cpp:52)
 ==2989==    by 0x49B3EC: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:708)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 36 bytes in 1 blocks are definitely lost in loss record 34 of 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404CB0: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1040)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 36 bytes in 1 blocks are indirectly lost in loss record 35 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49F443: unsigned char* ClpCopyOfArray<unsigned
 char>(unsigned char const*, int) (ClpParameters.hpp:109)
 ==2989==    by 0x49BA44: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:793)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 40 bytes in 1 blocks are indirectly lost in loss record 36 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x493DE5: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:254)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 40 bytes in 1 blocks are indirectly lost in loss record 37 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x5B8838: ClpLinearObjective::clone() const
 (ClpLinearObjective.cpp:219)
 ==2989==    by 0x49B9DF: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:789)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 48 bytes in 1 blocks are indirectly lost in loss record 38 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64924D:
 CoinPackedMatrix::reverseOrderedCopyOf(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:947)
 ==2989==    by 0x447169: OsiClpSolverInterface::getMatrixByRow() const
 (OsiClpSolverInterface.cpp:1988)
 ==2989==    by 0x419698: SmiCoreData::SmiCoreData(OsiSolverInterface*,
 int, int*, int*) (SmiScnData.cpp:20)
 ==2989==    by 0x406962: SmiScnModelScenarioUnitTest() (unitTest.cpp:547)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 52 bytes in 1 blocks are indirectly lost in loss record 39 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64922C:
 CoinPackedMatrix::reverseOrderedCopyOf(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:946)
 ==2989==    by 0x447169: OsiClpSolverInterface::getMatrixByRow() const
 (OsiClpSolverInterface.cpp:1988)
 ==2989==    by 0x419698: SmiCoreData::SmiCoreData(OsiSolverInterface*,
 int, int*, int*) (SmiScnData.cpp:20)
 ==2989==    by 0x406962: SmiScnModelScenarioUnitTest() (unitTest.cpp:547)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 56 bytes in 14 blocks are indirectly lost in loss record 40 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x639D2B: CoinPackedMatrix::CoinPackedMatrix()
 (CoinPackedMatrix.cpp:1812)
 ==2989==    by 0x49EAC8: ClpModel::ClpModel(bool) (ClpModel.cpp:95)
 ==2989==    by 0x50A689: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:122)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x40428A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 64 bytes in 1 blocks are indirectly lost in loss record 41 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40FE68:
 __gnu_cxx::new_allocator<SmiDiscreteRV*>::allocate(unsigned long, void
 const*) (new_allocator.h:92)
 ==2989==    by 0x40FE97: std::_Vector_base<SmiDiscreteRV*,
 std::allocator<SmiDiscreteRV*> >::_M_allocate(unsigned long)
 (stl_vector.h:144)
 ==2989==    by 0x412277: std::vector<SmiDiscreteRV*,
 std::allocator<SmiDiscreteRV*>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<SmiDiscreteRV**,
 std::vector<SmiDiscreteRV*, std::allocator<SmiDiscreteRV*> > >,
 SmiDiscreteRV* const&) (vector.tcc:308)
 ==2989==    by 0x4123F3: std::vector<SmiDiscreteRV*,
 std::allocator<SmiDiscreteRV*> >::push_back(SmiDiscreteRV* const&)
 (stl_vector.h:694)
 ==2989==    by 0x412416:
 SmiDiscreteDistribution::addDiscreteRV(SmiDiscreteRV*)
 (SmiDiscreteDistribution.hpp:35)
 ==2989==    by 0x405707: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1122)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are definitely lost in loss record 42 of 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404C94: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1039)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 43 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x481F6C: ClpDualRowSteepest::clone(bool) const
 (ClpDualRowSteepest.cpp:1018)
 ==2989==    by 0x524485: ClpSimplex::gutsOfCopy(ClpSimplex const&)
 (ClpSimplex.cpp:2112)
 ==2989==    by 0x5238A9: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1865)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are definitely lost in loss record 44 of 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404C78: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1038)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 45 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49B7C0: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:765)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 46 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49B77E: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:763)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 96 bytes in 6 blocks are indirectly lost in loss record 47 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x46F31A: OsiSolverInterface::setInitialData()
 (OsiSolverInterface.cpp:998)
 ==2989==    by 0x4361D9: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5314)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x405AD7: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 800 (96 direct, 704 indirect) bytes in 1 blocks are definitely
 lost in loss record 48 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40978A: SmiTreeNodeUnitTest() (unitTest.cpp:281)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 184 bytes in 42 blocks are indirectly lost in loss record 49 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64E445: CoinPackedVector::reserve(int)
 (CoinPackedVector.cpp:339)
 ==2989==    by 0x64EC61: CoinPackedVector::gutsOfSetVector(int, int
 const*, double const*, bool, char const*) (CoinPackedVector.cpp:481)
 ==2989==    by 0x64F648: CoinPackedVector::CoinPackedVector(int, int
 const*, double const*, bool) (CoinPackedVector.cpp:383)
 ==2989==    by 0x403DE2: ModelBug() (unitTest.cpp:1669)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 200 bytes in 5 blocks are indirectly lost in loss record 50 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4051FD: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1085)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 240 bytes in 5 blocks are indirectly lost in loss record 51 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40FDDE:
 __gnu_cxx::new_allocator<SmiDiscreteEvent*>::allocate(unsigned long, void
 const*) (new_allocator.h:92)
 ==2989==    by 0x40FE0D: std::_Vector_base<SmiDiscreteEvent*,
 std::allocator<SmiDiscreteEvent*> >::_M_allocate(unsigned long)
 (stl_vector.h:144)
 ==2989==    by 0x411D75: std::vector<SmiDiscreteEvent*,
 std::allocator<SmiDiscreteEvent*>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<SmiDiscreteEvent**,
 std::vector<SmiDiscreteEvent*, std::allocator<SmiDiscreteEvent*> > >,
 SmiDiscreteEvent* const&) (vector.tcc:308)
 ==2989==    by 0x411EF1: std::vector<SmiDiscreteEvent*,
 std::allocator<SmiDiscreteEvent*> >::push_back(SmiDiscreteEvent* const&)
 (stl_vector.h:694)
 ==2989==    by 0x41206E: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:98)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 288 bytes in 6 blocks are indirectly lost in loss record 52 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x420F6B: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:84)
 ==2989==    by 0x421CBE:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:669)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 336 (80 direct, 256 indirect) bytes in 2 blocks are definitely
 lost in loss record 53 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x651E69: __gnu_cxx::new_allocator<std::_Rb_tree_node<int>
 >::allocate(unsigned long, void const*) (new_allocator.h:92)
 ==2989==    by 0x651E8D: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_get_node() (stl_tree.h:357)
 ==2989==    by 0x651EA9: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_create_node(int const&)
 (stl_tree.h:366)
 ==2989==    by 0x651F60: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_insert_(std::_Rb_tree_node_base
 const*, std::_Rb_tree_node_base const*, int const&) (stl_tree.h:852)
 ==2989==    by 0x6520C5: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_insert_unique(int const&)
 (stl_tree.h:1148)
 ==2989==    by 0x6521EE: std::set<int, std::less<int>, std::allocator<int>
 >::insert(int const&) (stl_set.h:381)
 ==2989==    by 0x6528E6: CoinPackedVectorBase::indexSet(char const*, char
 const*) const (CoinPackedVectorBase.cpp:275)
 ==2989==    by 0x653205: CoinPackedVectorBase::duplicateIndex(char const*,
 char const*) const (CoinPackedVectorBase.cpp:106)
 ==2989==    by 0x653240:
 CoinPackedVectorBase::setTestForDuplicateIndex(bool) const
 (CoinPackedVectorBase.cpp:64)
 ==2989==    by 0x64ECE6: CoinPackedVector::gutsOfSetVector(int, int
 const*, double const*, bool, char const*) (CoinPackedVector.cpp:489)
 ==2989==    by 0x64F648: CoinPackedVector::CoinPackedVector(int, int
 const*, double const*, bool) (CoinPackedVector.cpp:383)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 6 blocks are indirectly lost in loss record 54 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417F4C: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:128)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 6 blocks are indirectly lost in loss record 55 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417CF6: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:102)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 6 blocks are indirectly lost in loss record 56 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417B49: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:79)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 6 blocks are indirectly lost in loss record 57 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417B1F: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:78)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 120 (72 direct, 48 indirect) bytes in 1 blocks are definitely
 lost in loss record 58 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x403D4C: ModelBug() (unitTest.cpp:1667)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 80 bytes in 5 blocks are indirectly lost in loss record 59 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x49ED2A: ClpModel::ClpModel(bool) (ClpModel.cpp:114)
 ==2989==    by 0x50A689: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:122)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x405AD7: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 120 (72 direct, 48 indirect) bytes in 1 blocks are definitely
 lost in loss record 60 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x403DB6: ModelBug() (unitTest.cpp:1669)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 1 blocks are indirectly lost in loss record 61 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4CF6B2: ClpPackedMatrix::ClpPackedMatrix(ClpPackedMatrix
 const&) (ClpPackedMatrix.cpp:59)
 ==2989==    by 0x4CFB7D: ClpPackedMatrix::clone() const
 (ClpPackedMatrix.cpp:152)
 ==2989==    by 0x49BC00: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:811)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 1 blocks are indirectly lost in loss record 62 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x44712A: OsiClpSolverInterface::getMatrixByRow() const
 (OsiClpSolverInterface.cpp:1987)
 ==2989==    by 0x419698: SmiCoreData::SmiCoreData(OsiSolverInterface*,
 int, int*, int*) (SmiScnData.cpp:20)
 ==2989==    by 0x406962: SmiScnModelScenarioUnitTest() (unitTest.cpp:547)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 112 bytes in 1 blocks are indirectly lost in loss record 63 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4F3E2E: ClpPrimalColumnSteepest::clone(bool) const
 (ClpPrimalColumnSteepest.cpp:3051)
 ==2989==    by 0x5244BA: ClpSimplex::gutsOfCopy(ClpSimplex const&)
 (ClpSimplex.cpp:2113)
 ==2989==    by 0x5238A9: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1865)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 120 bytes in 1 blocks are indirectly lost in loss record 64 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4CFB6C: ClpPackedMatrix::clone() const
 (ClpPackedMatrix.cpp:152)
 ==2989==    by 0x49BC00: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:811)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 120 bytes in 1 blocks are indirectly lost in loss record 65 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x494A15: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:328)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 128 bytes in 6 blocks are indirectly lost in loss record 66 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x418260: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:164)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 128 bytes in 6 blocks are indirectly lost in loss record 67 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x418239: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:163)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 128 bytes in 6 blocks are indirectly lost in loss record 68 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x418212: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:162)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 128 bytes in 6 blocks are indirectly lost in loss record 69 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4181E8: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:161)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 128 bytes in 6 blocks are indirectly lost in loss record 70 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4181C1: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:160)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 128 bytes in 6 blocks are indirectly lost in loss record 71 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x41C198:
 __gnu_cxx::new_allocator<SmiNodeData*>::allocate(unsigned long, void
 const*) (new_allocator.h:92)
 ==2989==    by 0x41C1C7: std::_Vector_base<SmiNodeData*,
 std::allocator<SmiNodeData*> >::_M_allocate(unsigned long)
 (stl_vector.h:144)
 ==2989==    by 0x41CC62: SmiNodeData** std::vector<SmiNodeData*,
 std::allocator<SmiNodeData*>
 >::_M_allocate_and_copy<SmiNodeData**>(unsigned long, SmiNodeData**,
 SmiNodeData**) (stl_vector.h:904)
 ==2989==    by 0x41E110: std::vector<SmiNodeData*,
 std::allocator<SmiNodeData*> >::reserve(unsigned long) (vector.tcc:79)
 ==2989==    by 0x4181A8: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:155)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 144 bytes in 2 blocks are indirectly lost in loss record 72 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x6456D8:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int,
 bool) (CoinPackedMatrix.cpp:2172)
 ==2989==    by 0x4CF6D7: ClpPackedMatrix::ClpPackedMatrix(ClpPackedMatrix
 const&) (ClpPackedMatrix.cpp:59)
 ==2989==    by 0x4CFB7D: ClpPackedMatrix::clone() const
 (ClpPackedMatrix.cpp:152)
 ==2989==    by 0x49BC00: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:811)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 144 bytes in 4 blocks are indirectly lost in loss record 73 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x646F34: CoinPackedMatrix::CoinPackedMatrix(bool, int
 const*, int const*, double const*, int) (CoinPackedMatrix.cpp:1966)
 ==2989==    by 0x4067DA: SmiScnModelScenarioUnitTest() (unitTest.cpp:535)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 144 bytes in 4 blocks are indirectly lost in loss record 74 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x646F53: CoinPackedMatrix::CoinPackedMatrix(bool, int
 const*, int const*, double const*, int) (CoinPackedMatrix.cpp:1967)
 ==2989==    by 0x404F17: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1061)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 152 bytes in 2 blocks are indirectly lost in loss record 75 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x645702:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int,
 bool) (CoinPackedMatrix.cpp:2173)
 ==2989==    by 0x4CF6D7: ClpPackedMatrix::ClpPackedMatrix(ClpPackedMatrix
 const&) (ClpPackedMatrix.cpp:59)
 ==2989==    by 0x4CFB7D: ClpPackedMatrix::clone() const
 (ClpPackedMatrix.cpp:152)
 ==2989==    by 0x49BC00: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:811)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 176 bytes in 1 blocks are definitely lost in loss record 76 of
 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404B7E: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1030)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 184 bytes in 1 blocks are indirectly lost in loss record 77 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x406932: SmiScnModelScenarioUnitTest() (unitTest.cpp:547)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 184 bytes in 42 blocks are indirectly lost in loss record 78 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64E424: CoinPackedVector::reserve(int)
 (CoinPackedVector.cpp:338)
 ==2989==    by 0x64EC61: CoinPackedVector::gutsOfSetVector(int, int
 const*, double const*, bool, char const*) (CoinPackedVector.cpp:481)
 ==2989==    by 0x64F296:
 CoinPackedVector::CoinPackedVector(CoinPackedVector const&)
 (CoinPackedVector.cpp:460)
 ==2989==    by 0x410B08: SmiLinearData::SmiLinearData(SmiLinearData&)
 (SmiLinearData.hpp:55)
 ==2989==    by 0x410C2F: SmiDiscreteEvent::SmiDiscreteEvent(SmiLinearData,
 double) (SmiDiscreteDistribution.hpp:80)
 ==2989==    by 0x411FC9: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 192 bytes in 6 blocks are indirectly lost in loss record 79 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x502020: ClpSimplex::getEmptyFactorization()
 (ClpSimplex.cpp:9690)
 ==2989==    by 0x50AC47: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:135)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x405AD7: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 196 bytes in 4 blocks are indirectly lost in loss record 80 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x63A086: CoinPackedMatrix::assignMatrix(bool, int, int,
 int, double*&, int*&, int*&, int*&, int, int) (CoinPackedMatrix.cpp:1027)
 ==2989==    by 0x42099F: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:238)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 212 bytes in 4 blocks are indirectly lost in loss record 81 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x420823: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:224)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 216 bytes in 1 blocks are definitely lost in loss record 82 of
 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404DC0: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1050)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 216 bytes in 1 blocks are indirectly lost in loss record 83 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x45451F: double* CoinCopyOfArray<double>(double const*,
 int) (CoinHelperFunctions.hpp:157)
 ==2989==    by 0x5B87E6:
 ClpLinearObjective::ClpLinearObjective(ClpLinearObjective const&)
 (ClpLinearObjective.cpp:45)
 ==2989==    by 0x5B8849: ClpLinearObjective::clone() const
 (ClpLinearObjective.cpp:219)
 ==2989==    by 0x49B9DF: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:789)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 216 bytes in 1 blocks are indirectly lost in loss record 84 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49B7E1: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:766)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 216 bytes in 1 blocks are indirectly lost in loss record 85 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49B79F: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:764)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 216 bytes in 1 blocks are definitely lost in loss record 86 of
 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404DA4: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1049)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 256 bytes in 1 blocks are indirectly lost in loss record 87 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x60ABBA: __gnu_cxx::new_allocator<long>::allocate(unsigned
 long, void const*) (new_allocator.h:92)
 ==2989==    by 0x60ABE9: std::_Vector_base<long, std::allocator<long>
 >::_M_allocate(unsigned long) (stl_vector.h:144)
 ==2989==    by 0x60B1DB: std::vector<long, std::allocator<long>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<long*, std::vector<long,
 std::allocator<long> > >, long const&) (vector.tcc:308)
 ==2989==    by 0x60B357: std::vector<long, std::allocator<long>
 >::push_back(long const&) (stl_vector.h:694)
 ==2989==    by 0x60849D: CoinMessageHandler::operator<<(int)
 (CoinMessageHandler.cpp:671)
 ==2989==    by 0x584C3A: ClpSimplex::initialSolve(ClpSolve&)
 (ClpSolve.cpp:2385)
 ==2989==    by 0x44DD20: OsiClpSolverInterface::initialSolve()
 (OsiClpSolverInterface.cpp:354)
 ==2989==    by 0x404101: ModelBug() (unitTest.cpp:1706)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 268 bytes in 2 blocks are indirectly lost in loss record 88 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64575E:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int,
 bool) (CoinPackedMatrix.cpp:2176)
 ==2989==    by 0x4CF221: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix
 const&) (ClpPackedMatrix.cpp:99)
 ==2989==    by 0x494A2C: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:328)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 304 bytes in 6 blocks are indirectly lost in loss record 89 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417C30: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:88)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 304 bytes in 6 blocks are indirectly lost in loss record 90 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417C0A: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:87)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 304 bytes in 6 blocks are indirectly lost in loss record 91 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417BE4: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:86)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 336 bytes in 3 blocks are definitely lost in loss record 92 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4207AB: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:219)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 336 bytes in 3 blocks are definitely lost in loss record 93 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x420784: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:218)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 368 bytes in 42 blocks are indirectly lost in loss record 94 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64E466: CoinPackedVector::reserve(int)
 (CoinPackedVector.cpp:340)
 ==2989==    by 0x64EC61: CoinPackedVector::gutsOfSetVector(int, int
 const*, double const*, bool, char const*) (CoinPackedVector.cpp:481)
 ==2989==    by 0x64F648: CoinPackedVector::CoinPackedVector(int, int
 const*, double const*, bool) (CoinPackedVector.cpp:383)
 ==2989==    by 0x403DE2: ModelBug() (unitTest.cpp:1669)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 432 bytes in 6 blocks are indirectly lost in loss record 95 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x50AC66: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:139)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x405AD7: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 536 bytes in 2 blocks are indirectly lost in loss record 96 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x645737:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int,
 bool) (CoinPackedMatrix.cpp:2175)
 ==2989==    by 0x4CF221: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix
 const&) (ClpPackedMatrix.cpp:99)
 ==2989==    by 0x494A2C: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:328)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 552 bytes in 3 blocks are indirectly lost in loss record 97 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x428E7D: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 560 bytes in 20 blocks are indirectly lost in loss record 98 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x644C63: CoinPackedMatrix::gutsOfCopyOfNoGaps(bool, int,
 int, double const*, int const*, int const*) (CoinPackedMatrix.cpp:2496)
 ==2989==    by 0x644F6A:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:2110)
 ==2989==    by 0x410A9B: SmiLinearData::SmiLinearData(SmiLinearData&)
 (SmiLinearData.hpp:55)
 ==2989==    by 0x410C2F: SmiDiscreteEvent::SmiDiscreteEvent(SmiLinearData,
 double) (SmiDiscreteDistribution.hpp:80)
 ==2989==    by 0x411FC9: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 608 bytes in 6 blocks are indirectly lost in loss record 99 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x41C222:
 __gnu_cxx::new_allocator<double*>::allocate(unsigned long, void const*)
 (new_allocator.h:92)
 ==2989==    by 0x41C251: std::_Vector_base<double*,
 std::allocator<double*> >::_M_allocate(unsigned long) (stl_vector.h:144)
 ==2989==    by 0x41E791: std::vector<double*, std::allocator<double*>
 >::_M_fill_insert(__gnu_cxx::__normal_iterator<double**,
 std::vector<double*, std::allocator<double*> > >, unsigned long, double*
 const&) (vector.tcc:395)
 ==2989==    by 0x41E8DE: std::vector<double*, std::allocator<double*>
 >::insert(__gnu_cxx::__normal_iterator<double**, std::vector<double*,
 std::allocator<double*> > >, unsigned long, double* const&)
 (stl_vector.h:792)
 ==2989==    by 0x41E95A: std::vector<double*, std::allocator<double*>
 >::resize(unsigned long, double*) (stl_vector.h:509)
 ==2989==    by 0x418920: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:211)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 640 bytes in 20 blocks are indirectly lost in loss record 100 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x644CAA: CoinPackedMatrix::gutsOfCopyOfNoGaps(bool, int,
 int, double const*, int const*, int const*) (CoinPackedMatrix.cpp:2498)
 ==2989==    by 0x644F6A:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:2110)
 ==2989==    by 0x410A9B: SmiLinearData::SmiLinearData(SmiLinearData&)
 (SmiLinearData.hpp:55)
 ==2989==    by 0x410C2F: SmiDiscreteEvent::SmiDiscreteEvent(SmiLinearData,
 double) (SmiDiscreteDistribution.hpp:80)
 ==2989==    by 0x411FC9: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 640 bytes in 20 blocks are indirectly lost in loss record 101 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x644DAF: CoinPackedMatrix::gutsOfCopyOfNoGaps(bool, int,
 int, double const*, int const*, int const*) (CoinPackedMatrix.cpp:2517)
 ==2989==    by 0x644F6A:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:2110)
 ==2989==    by 0x410A9B: SmiLinearData::SmiLinearData(SmiLinearData&)
 (SmiLinearData.hpp:55)
 ==2989==    by 0x410C2F: SmiDiscreteEvent::SmiDiscreteEvent(SmiLinearData,
 double) (SmiDiscreteDistribution.hpp:80)
 ==2989==    by 0x411FC9: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 672 bytes in 6 blocks are indirectly lost in loss record 102 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x50AC91: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:141)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x405AD7: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 672 bytes in 7 blocks are indirectly lost in loss record 103 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40F131: SmiTreeNode<int*>::addChild(int*, int)
 (SmiScenarioTree.hpp:77)
 ==2989==    by 0x4097B5: SmiTreeNodeUnitTest() (unitTest.cpp:291)
 ==2989==    by 0x40C1D0: main (unitTest.cpp:1762)
 ==2989==
 ==2989==
 ==2989== 744 bytes in 6 blocks are indirectly lost in loss record 104 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417BBE: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:84)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 744 bytes in 6 blocks are indirectly lost in loss record 105 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417B97: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:83)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 744 bytes in 6 blocks are indirectly lost in loss record 106 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x417B70: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:82)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 768 bytes in 4 blocks are indirectly lost in loss record 107 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x646DE1: CoinPackedMatrix::CoinPackedMatrix(bool, int
 const*, int const*, double const*, int) (CoinPackedMatrix.cpp:1944)
 ==2989==    by 0x404F17: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1061)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 1,246 bytes in 36 blocks are indirectly lost in loss record 108
 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4CA7620: std::string::_Rep::_S_create(unsigned long,
 unsigned long, std::allocator<char> const&) (new_allocator.h:92)
 ==2989==    by 0x4CA92ED: std::string::_M_mutate(unsigned long, unsigned
 long, unsigned long) (basic_string.tcc:454)
 ==2989==    by 0x4CA948B: std::string::_M_replace_safe(unsigned long,
 unsigned long, char const*, unsigned long) (basic_string.tcc:659)
 ==2989==    by 0x6074CC: CoinMessageHandler::CoinMessageHandler()
 (CoinMessageHandler.cpp:439)
 ==2989==    by 0x49ECB9: ClpModel::ClpModel(bool) (ClpModel.cpp:112)
 ==2989==    by 0x50A689: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:122)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x4206F6: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:212)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 9,504 bytes in 6 blocks are indirectly lost in loss record 109 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x49ECA6: ClpModel::ClpModel(bool) (ClpModel.cpp:112)
 ==2989==    by 0x50A689: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:122)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x40428A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 9,504 bytes in 6 blocks are indirectly lost in loss record 110 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x46F4DF: OsiSolverInterface::setInitialData()
 (OsiSolverInterface.cpp:1020)
 ==2989==    by 0x4361D9: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5314)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x40428A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 15,913 (864 direct, 15,049 indirect) bytes in 1 blocks are
 definitely lost in loss record 111 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x403687: SmpsBug() (unitTest.cpp:1732)
 ==2989==    by 0x40C239: main (unitTest.cpp:1783)
 ==2989==
 ==2989==
 ==2989== 960 bytes in 4 blocks are indirectly lost in loss record 112 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4207F9: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:223)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 1,760 bytes in 44 blocks are indirectly lost in loss record 113
 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x651E69: __gnu_cxx::new_allocator<std::_Rb_tree_node<int>
 >::allocate(unsigned long, void const*) (new_allocator.h:92)
 ==2989==    by 0x651E8D: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_get_node() (stl_tree.h:357)
 ==2989==    by 0x651EA9: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_create_node(int const&)
 (stl_tree.h:366)
 ==2989==    by 0x651F60: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_insert_(std::_Rb_tree_node_base
 const*, std::_Rb_tree_node_base const*, int const&) (stl_tree.h:852)
 ==2989==    by 0x6520C5: std::_Rb_tree<int, int, std::_Identity<int>,
 std::less<int>, std::allocator<int> >::_M_insert_unique(int const&)
 (stl_tree.h:1148)
 ==2989==    by 0x6521EE: std::set<int, std::less<int>, std::allocator<int>
 >::insert(int const&) (stl_set.h:381)
 ==2989==    by 0x6528E6: CoinPackedVectorBase::indexSet(char const*, char
 const*) const (CoinPackedVectorBase.cpp:275)
 ==2989==    by 0x653205: CoinPackedVectorBase::duplicateIndex(char const*,
 char const*) const (CoinPackedVectorBase.cpp:106)
 ==2989==    by 0x653240:
 CoinPackedVectorBase::setTestForDuplicateIndex(bool) const
 (CoinPackedVectorBase.cpp:64)
 ==2989==    by 0x64ECE6: CoinPackedVector::gutsOfSetVector(int, int
 const*, double const*, bool, char const*) (CoinPackedVector.cpp:489)
 ==2989==    by 0x64F296:
 CoinPackedVector::CoinPackedVector(CoinPackedVector const&)
 (CoinPackedVector.cpp:460)
 ==2989==
 ==2989==
 ==2989== 3,328 bytes in 16 blocks are indirectly lost in loss record 114
 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x418284: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:170)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 4,896 bytes in 102 blocks are indirectly lost in loss record 115
 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x65286D: CoinPackedVectorBase::indexSet(char const*, char
 const*) const (CoinPackedVectorBase.cpp:271)
 ==2989==    by 0x653205: CoinPackedVectorBase::duplicateIndex(char const*,
 char const*) const (CoinPackedVectorBase.cpp:106)
 ==2989==    by 0x653240:
 CoinPackedVectorBase::setTestForDuplicateIndex(bool) const
 (CoinPackedVectorBase.cpp:64)
 ==2989==    by 0x64ECE6: CoinPackedVector::gutsOfSetVector(int, int
 const*, double const*, bool, char const*) (CoinPackedVector.cpp:489)
 ==2989==    by 0x64F296:
 CoinPackedVector::CoinPackedVector(CoinPackedVector const&)
 (CoinPackedVector.cpp:460)
 ==2989==    by 0x410AD0: SmiLinearData::SmiLinearData(SmiLinearData&)
 (SmiLinearData.hpp:55)
 ==2989==    by 0x410C2F: SmiDiscreteEvent::SmiDiscreteEvent(SmiLinearData,
 double) (SmiDiscreteDistribution.hpp:80)
 ==2989==    by 0x411FC9: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 9,120 bytes in 20 blocks are indirectly lost in loss record 116
 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x411FA7: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 10,224 bytes in 6 blocks are indirectly lost in loss record 117
 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4363DF: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x40428A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 12,032 bytes in 80 blocks are indirectly lost in loss record 118
 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x653B90: CoinPackedVectorBase::denseVector(int) const
 (CoinPackedVectorBase.cpp:24)
 ==2989==    by 0x4183AD: SmiCoreData::gutsOfConstructor(int, int, int,
 int*, int*, CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:182)
 ==2989==    by 0x418D43: SmiCoreData::SmiCoreData(CoinMpsIO*, int, int*,
 int*) (SmiScnData.cpp:49)
 ==2989==    by 0x428EC9: SmiSmpsIO::readTimeFile(SmiScnModel*, char
 const*, char const*) (SmiSmpsIO.cpp:138)
 ==2989==    by 0x41F6A4: SmiScnModel::readSmps(char const*,
 SmiCoreCombineRule*) (SmiScnModel.cpp:528)
 ==2989==    by 0x409466: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:352)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 15,913 (864 direct, 15,049 indirect) bytes in 1 blocks are
 definitely lost in loss record 119 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x404277: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 1,276 bytes in 111 blocks are indirectly lost in loss record 120
 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x5F5A13: _ZL11mallocArrayl (CoinIndexedVector.cpp:1558)
 ==2989==    by 0x5F6050: CoinArrayWithLength::conditionalNew(long)
 (CoinIndexedVector.cpp:1575)
 ==2989==    by 0x5D516E: CoinBigIndexArrayWithLength::conditionalNew(int)
 (CoinIndexedVector.hpp:684)
 ==2989==    by 0x5D1B84: CoinFactorization::gutsOfInitialize(int)
 (CoinFactorization1.cpp:176)
 ==2989==    by 0x5D29CF: CoinFactorization::CoinFactorization()
 (CoinFactorization1.cpp:21)
 ==2989==    by 0x486692: ClpFactorization::ClpFactorization()
 (ClpFactorization.cpp:1113)
 ==2989==    by 0x50202D: ClpSimplex::getEmptyFactorization()
 (ClpSimplex.cpp:9690)
 ==2989==    by 0x50AC47: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:135)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x405AD7: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==
 ==2989==
 ==2989== 5,376 bytes in 6 blocks are indirectly lost in loss record 121 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x486685: ClpFactorization::ClpFactorization()
 (ClpFactorization.cpp:1113)
 ==2989==    by 0x50202D: ClpSimplex::getEmptyFactorization()
 (ClpSimplex.cpp:9690)
 ==2989==    by 0x50AC47: ClpSimplex::ClpSimplex(bool) (ClpSimplex.cpp:135)
 ==2989==    by 0x4363F1: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5336)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x40428A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 15,913 (864 direct, 15,049 indirect) bytes in 1 blocks are
 definitely lost in loss record 122 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4094CE: SmiScnSmpsIOUnitTestReplace() (unitTest.cpp:354)
 ==2989==    by 0x40C1EE: main (unitTest.cpp:1768)
 ==2989==
 ==2989==
 ==2989== 888 bytes in 3 blocks are definitely lost in loss record 123 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x42075D: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:217)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 888 bytes in 3 blocks are definitely lost in loss record 124 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x42070F: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:215)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 1,920 bytes in 4 blocks are indirectly lost in loss record 125 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4207D2: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:222)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 15,913 (864 direct, 15,049 indirect) bytes in 1 blocks are
 definitely lost in loss record 126 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x405AC4: SmiScnModelScenarioUnitTest() (unitTest.cpp:399)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 3,168 (264 direct, 2,904 indirect) bytes in 3 blocks are
 definitely lost in loss record 127 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4208D8: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:235)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 272 bytes in 1 blocks are indirectly lost in loss record 128 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x6493FE:
 CoinPackedMatrix::reverseOrderedCopyOf(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:970)
 ==2989==    by 0x447169: OsiClpSolverInterface::getMatrixByRow() const
 (OsiClpSolverInterface.cpp:1988)
 ==2989==    by 0x419698: SmiCoreData::SmiCoreData(OsiSolverInterface*,
 int, int*, int*) (SmiScnData.cpp:20)
 ==2989==    by 0x406962: SmiScnModelScenarioUnitTest() (unitTest.cpp:547)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 384 bytes in 4 blocks are indirectly lost in loss record 129 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x646DC5: CoinPackedMatrix::CoinPackedMatrix(bool, int
 const*, int const*, double const*, int) (CoinPackedMatrix.cpp:1943)
 ==2989==    by 0x4067DA: SmiScnModelScenarioUnitTest() (unitTest.cpp:535)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 560 bytes in 3 blocks are indirectly lost in loss record 130 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x41C098:
 __gnu_cxx::new_allocator<double>::allocate(unsigned long, void const*)
 (new_allocator.h:92)
 ==2989==    by 0x41C0C7: std::_Vector_base<double, std::allocator<double>
 >::_M_allocate(unsigned long) (stl_vector.h:144)
 ==2989==    by 0x60B84F: std::vector<double, std::allocator<double>
 >::_M_insert_aux(__gnu_cxx::__normal_iterator<double*, std::vector<double,
 std::allocator<double> > >, double const&) (vector.tcc:308)
 ==2989==    by 0x60B9CB: std::vector<double, std::allocator<double>
 >::push_back(double const&) (stl_vector.h:694)
 ==2989==    by 0x608336: CoinMessageHandler::operator<<(double)
 (CoinMessageHandler.cpp:695)
 ==2989==    by 0x4E3D18: ClpPresolve::postsolve(bool)
 (ClpPresolve.cpp:283)
 ==2989==    by 0x5841C0: ClpSimplex::initialSolve(ClpSolve&)
 (ClpSolve.cpp:2316)
 ==2989==    by 0x44DD20: OsiClpSolverInterface::initialSolve()
 (OsiClpSolverInterface.cpp:354)
 ==2989==    by 0x404101: ModelBug() (unitTest.cpp:1706)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 576 bytes in 4 blocks are indirectly lost in loss record 131 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x488913: double* ClpCopyOfArray<double>(double const*,
 int) (ClpParameters.hpp:109)
 ==2989==    by 0x49B8B1: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:781)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 864 bytes in 1 blocks are indirectly lost in loss record 132 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4438D4: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2905)
 ==2989==    by 0x40C90A:
 SmiScnModel::setOsiSolverHandle(OsiSolverInterface&) (SmiScnModel.hpp:167)
 ==2989==    by 0x4040B7: ModelBug() (unitTest.cpp:1694)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 888 bytes in 3 blocks are definitely lost in loss record 133 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x420736: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:216)
 ==2989==    by 0x408574: SmiScnModelScenarioUnitTest() (unitTest.cpp:783)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 20,069 (864 direct, 19,205 indirect) bytes in 1 blocks are
 definitely lost in loss record 134 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x443886: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 1,584 bytes in 1 blocks are indirectly lost in loss record 135 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x49B344: ClpModel::gutsOfCopy(ClpModel const&, int)
 (ClpModel.cpp:705)
 ==2989==    by 0x49CDBF: ClpModel::ClpModel(ClpModel const&, int)
 (ClpModel.cpp:656)
 ==2989==    by 0x523275: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1847)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 1,584 bytes in 1 blocks are indirectly lost in loss record 136 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x46ED89:
 OsiSolverInterface::OsiSolverInterface(OsiSolverInterface const&)
 (OsiSolverInterface.cpp:1052)
 ==2989==    by 0x442F2F:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2944)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 1,704 bytes in 1 blocks are indirectly lost in loss record 137 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4430F8:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 21,448 (224 direct, 21,224 indirect) bytes in 1 blocks are
 definitely lost in loss record 138 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x403F36: ModelBug() (unitTest.cpp:1681)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 544 bytes in 1 blocks are indirectly lost in loss record 139 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x64941F:
 CoinPackedMatrix::reverseOrderedCopyOf(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:971)
 ==2989==    by 0x447169: OsiClpSolverInterface::getMatrixByRow() const
 (OsiClpSolverInterface.cpp:1988)
 ==2989==    by 0x419698: SmiCoreData::SmiCoreData(OsiSolverInterface*,
 int, int*, int*) (SmiScnData.cpp:20)
 ==2989==    by 0x406962: SmiScnModelScenarioUnitTest() (unitTest.cpp:547)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 696 (88 direct, 608 indirect) bytes in 1 blocks are definitely
 lost in loss record 140 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x404EDB: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1061)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 896 bytes in 1 blocks are indirectly lost in loss record 141 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x48640E:
 ClpFactorization::ClpFactorization(ClpFactorization const&)
 (ClpFactorization.cpp:1134)
 ==2989==    by 0x5240EB: ClpSimplex::gutsOfCopy(ClpSimplex const&)
 (ClpSimplex.cpp:2069)
 ==2989==    by 0x5238A9: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:1865)
 ==2989==    by 0x443118:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:2948)
 ==2989==    by 0x443897: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:2903)
 ==2989==    by 0x406921: SmiScnModelScenarioUnitTest() (unitTest.cpp:544)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 18,864 (40 direct, 18,824 indirect) bytes in 1 blocks are
 definitely lost in loss record 142 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40517A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1080)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 48 bytes in 1 blocks are indirectly lost in loss record 143 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x6894FD: CoinWarmStartBasis::operator=(CoinWarmStartBasis
 const&) (CoinWarmStartBasis.cpp:120)
 ==2989==    by 0x44DDCA: OsiClpSolverInterface::initialSolve()
 (OsiClpSolverInterface.cpp:360)
 ==2989==    by 0x404101: ModelBug() (unitTest.cpp:1706)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 48 bytes in 2 blocks are indirectly lost in loss record 144 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x414E60: SmiNodeData::getDenseRow(int)
 (SmiScnData.cpp:571)
 ==2989==    by 0x42025C: SmiScnModel::addNode(SmiScnNode*)
 (SmiScnModel.cpp:311)
 ==2989==    by 0x425811: SmiScnModelAddNode::operator()(SmiScnNode*)
 (SmiScnModel.hpp:270)
 ==2989==    by 0x42583E: SmiScnModelAddNode
 std::for_each<__gnu_cxx::__normal_iterator<SmiScnNode**,
 std::vector<SmiScnNode*, std::allocator<SmiScnNode*> > >,
 SmiScnModelAddNode>(__gnu_cxx::__normal_iterator<SmiScnNode**,
 std::vector<SmiScnNode*, std::allocator<SmiScnNode*> > >,
 __gnu_cxx::__normal_iterator<SmiScnNode**, std::vector<SmiScnNode*,
 std::allocator<SmiScnNode*> > >, SmiScnModelAddNode) (stl_algo.h:3791)
 ==2989==    by 0x4208CE: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:233)
 ==2989==    by 0x407B4B: SmiScnModelScenarioUnitTest() (unitTest.cpp:680)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 56 bytes in 1 blocks are indirectly lost in loss record 145 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x420784: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:218)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 56 bytes in 1 blocks are indirectly lost in loss record 146 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x4207AB: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:219)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 56 bytes in 1 blocks are indirectly lost in loss record 147 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x493D1D: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:244)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 56 bytes in 1 blocks are indirectly lost in loss record 148 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x493CDB: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:242)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 149 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x42070F: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:215)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 150 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x420736: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:216)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 151 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x42075D: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:217)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 152 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x5B8AC7: double* CoinCopyOfArray<double>(double const*,
 int, double) (CoinHelperFunctions.hpp:190)
 ==2989==    by 0x5B8954: ClpLinearObjective::ClpLinearObjective(double
 const*, int) (ClpLinearObjective.cpp:35)
 ==2989==    by 0x493DFD: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:254)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 153 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x493D3E: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:245)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 1 blocks are indirectly lost in loss record 154 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x493CFC: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:243)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 72 bytes in 3 blocks are definitely lost in loss record 155 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x407052: SmiScnModelScenarioUnitTest() (unitTest.cpp:603)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 1 blocks are indirectly lost in loss record 156 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4CF200: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix
 const&) (ClpPackedMatrix.cpp:99)
 ==2989==    by 0x494A2C: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:328)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 88 bytes in 1 blocks are indirectly lost in loss record 157 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4208D8: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:235)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 200 (88 direct, 112 indirect) bytes in 1 blocks are definitely
 lost in loss record 158 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4077C7: SmiScnModelScenarioUnitTest() (unitTest.cpp:652)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 176 bytes in 1 blocks are definitely lost in loss record 159 of
 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404B9A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1031)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 184 bytes in 1 blocks are indirectly lost in loss record 160 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x403EE8: ModelBug() (unitTest.cpp:1678)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 200 (88 direct, 112 indirect) bytes in 1 blocks are definitely
 lost in loss record 161 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4050A6: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1074)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 96 bytes in 2 blocks are indirectly lost in loss record 162 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x41C12A:
 __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const,
 std::vector<double, std::allocator<double> >*> > >::allocate(unsigned
 long, void const*) (new_allocator.h:92)
 ==2989==    by 0x41C14F: std::_Rb_tree<int, std::pair<int const,
 std::vector<double, std::allocator<double> >*>,
 std::_Select1st<std::pair<int const, std::vector<double,
 std::allocator<double> >*> >, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> > >::_M_get_node()
 (stl_tree.h:357)
 ==2989==    by 0x41CB3D: std::_Rb_tree<int, std::pair<int const,
 std::vector<double, std::allocator<double> >*>,
 std::_Select1st<std::pair<int const, std::vector<double,
 std::allocator<double> >*> >, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> >
 >::_M_create_node(std::pair<int const, std::vector<double,
 std::allocator<double> >*> const&) (stl_tree.h:366)
 ==2989==    by 0x41CBF4: std::_Rb_tree<int, std::pair<int const,
 std::vector<double, std::allocator<double> >*>,
 std::_Select1st<std::pair<int const, std::vector<double,
 std::allocator<double> >*> >, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> >
 >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base
 const*, std::pair<int const, std::vector<double, std::allocator<double>
 >*> const&) (stl_tree.h:852)
 ==2989==    by 0x41CDCD: std::_Rb_tree<int, std::pair<int const,
 std::vector<double, std::allocator<double> >*>,
 std::_Select1st<std::pair<int const, std::vector<double,
 std::allocator<double> >*> >, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> >
 >::_M_insert_unique(std::pair<int const, std::vector<double,
 std::allocator<double> >*> const&) (stl_tree.h:1148)
 ==2989==    by 0x41CFCD: std::_Rb_tree<int, std::pair<int const,
 std::vector<double, std::allocator<double> >*>,
 std::_Select1st<std::pair<int const, std::vector<double,
 std::allocator<double> >*> >, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> >
 >::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<int const,
 std::vector<double, std::allocator<double> >*> >, std::pair<int const,
 std::vector<double, std::allocator<double> >*> const&) (stl_tree.h:1188)
 ==2989==    by 0x41D373: std::map<int, std::vector<double,
 std::allocator<double> >*, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> >
 >::insert(std::_Rb_tree_iterator<std::pair<int const, std::vector<double,
 std::allocator<double> >*> >, std::pair<int const, std::vector<double,
 std::allocator<double> >*> const&) (stl_map.h:496)
 ==2989==    by 0x41D41A: std::map<int, std::vector<double,
 std::allocator<double> >*, std::less<int>, std::allocator<std::pair<int
 const, std::vector<double, std::allocator<double> >*> > >::operator[](int
 const&) (stl_map.h:419)
 ==2989==    by 0x414D91: SmiNodeData::getDenseRow(int)
 (SmiScnData.cpp:563)
 ==2989==    by 0x42025C: SmiScnModel::addNode(SmiScnNode*)
 (SmiScnModel.cpp:311)
 ==2989==    by 0x425811: SmiScnModelAddNode::operator()(SmiScnNode*)
 (SmiScnModel.hpp:270)
 ==2989==
 ==2989==
 ==2989== 108 bytes in 1 blocks are definitely lost in loss record 163 of
 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404DDC: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1051)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 216 bytes in 1 blocks are definitely lost in loss record 164 of
 179
 ==2989==    at 0x4A059F6: malloc (vg_replace_malloc.c:149)
 ==2989==    by 0x404D88: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1048)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 432 bytes in 2 blocks are definitely lost in loss record 165 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x653B90: CoinPackedVectorBase::denseVector(int) const
 (CoinPackedVectorBase.cpp:24)
 ==2989==    by 0x414E1C: SmiNodeData::getDenseRow(int)
 (SmiScnData.cpp:569)
 ==2989==    by 0x42025C: SmiScnModel::addNode(SmiScnNode*)
 (SmiScnModel.cpp:311)
 ==2989==    by 0x425811: SmiScnModelAddNode::operator()(SmiScnNode*)
 (SmiScnModel.hpp:270)
 ==2989==    by 0x42583E: SmiScnModelAddNode
 std::for_each<__gnu_cxx::__normal_iterator<SmiScnNode**,
 std::vector<SmiScnNode*, std::allocator<SmiScnNode*> > >,
 SmiScnModelAddNode>(__gnu_cxx::__normal_iterator<SmiScnNode**,
 std::vector<SmiScnNode*, std::allocator<SmiScnNode*> > >,
 __gnu_cxx::__normal_iterator<SmiScnNode**, std::vector<SmiScnNode*,
 std::allocator<SmiScnNode*> > >, SmiScnModelAddNode) (stl_algo.h:3791)
 ==2989==    by 0x4208CE: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:233)
 ==2989==    by 0x407B4B: SmiScnModelScenarioUnitTest() (unitTest.cpp:680)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 696 (88 direct, 608 indirect) bytes in 1 blocks are definitely
 lost in loss record 166 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x40679E: SmiScnModelScenarioUnitTest() (unitTest.cpp:535)
 ==2989==    by 0x40C20C: main (unitTest.cpp:1774)
 ==2989==
 ==2989==
 ==2989== 96 bytes in 1 blocks are indirectly lost in loss record 167 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x426021: SmiScenarioTree<SmiScnNode*>::addPathtoLeaf(int,
 int, std::vector<SmiScnNode*, std::allocator<SmiScnNode*> >&, unsigned)
 (SmiScenarioTree.hpp:296)
 ==2989==    by 0x421194: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:118)
 ==2989==    by 0x403FF1: ModelBug() (unitTest.cpp:1686)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 184 bytes in 1 blocks are indirectly lost in loss record 168 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x405057: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1070)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 192 bytes in 2 blocks are indirectly lost in loss record 169 of
 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x424235: SmiTreeNode<SmiScnNode*>::addChild(SmiScnNode*,
 int) (SmiScenarioTree.hpp:77)
 ==2989==    by 0x426000: SmiScenarioTree<SmiScnNode*>::addPathtoLeaf(int,
 int, std::vector<SmiScnNode*, std::allocator<SmiScnNode*> >&, unsigned)
 (SmiScenarioTree.hpp:292)
 ==2989==    by 0x421194: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:118)
 ==2989==    by 0x404091: ModelBug() (unitTest.cpp:1690)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 256 bytes in 4 blocks are indirectly lost in loss record 170 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49F495: double* ClpCopyOfArray<double>(double const*,
 int, double) (ClpParameters.hpp:96)
 ==2989==    by 0x493D8F: ClpModel::gutsOfLoadModel(int, int, double
 const*, double const*, double const*, double const*, double const*, double
 const*) (ClpModel.cpp:251)
 ==2989==    by 0x494972: ClpModel::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpModel.cpp:322)
 ==2989==    by 0x5092A1: ClpSimplex::loadProblem(CoinPackedMatrix const&,
 double const*, double const*, double const*, double const*, double const*,
 double const*) (ClpSimplex.cpp:6784)
 ==2989==    by 0x444D67:
 OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*,
 double const*, double const*, double const*, double const*)
 (OsiClpSolverInterface.cpp:2561)
 ==2989==    by 0x420A33: SmiScnModel::loadOsiSolverData()
 (SmiScnModel.cpp:241)
 ==2989==    by 0x4040C0: ModelBug() (unitTest.cpp:1697)
 ==2989==    by 0x40C22A: main (unitTest.cpp:1780)
 ==2989==
 ==2989==
 ==2989== 320 bytes in 20 blocks are indirectly lost in loss record 171 of
 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x644DD0: CoinPackedMatrix::gutsOfCopyOfNoGaps(bool, int,
 int, double const*, int const*, int const*) (CoinPackedMatrix.cpp:2518)
 ==2989==    by 0x644F6A:
 CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&)
 (CoinPackedMatrix.cpp:2110)
 ==2989==    by 0x410A9B: SmiLinearData::SmiLinearData(SmiLinearData&)
 (SmiLinearData.hpp:55)
 ==2989==    by 0x410C2F: SmiDiscreteEvent::SmiDiscreteEvent(SmiLinearData,
 double) (SmiDiscreteDistribution.hpp:80)
 ==2989==    by 0x411FC9: SmiDiscreteRV::addEvent(CoinPackedMatrix&,
 CoinPackedVector&, CoinPackedVector&, CoinPackedVector&,
 CoinPackedVector&, CoinPackedVector&, double)
 (SmiDiscreteDistribution.hpp:97)
 ==2989==    by 0x405333: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1096)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 15,913 (864 direct, 15,049 indirect) bytes in 1 blocks are
 definitely lost in loss record 172 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x4091BC: SmiScnSmpsIOUnitTestAdd() (unitTest.cpp:378)
 ==2989==    by 0x40C1FD: main (unitTest.cpp:1771)
 ==2989==
 ==2989==
 ==2989== 61,488 bytes in 21 blocks are indirectly lost in loss record 173
 of 179
 ==2989==    at 0x4A05EA5: operator new[](unsigned long)
 (vg_replace_malloc.c:199)
 ==2989==    by 0x49F3CB: char* CoinCopyOfArray<char>(char const*, int)
 (CoinHelperFunctions.hpp:157)
 ==2989==    by 0x609C18: CoinMessages::operator=(CoinMessages const&)
 (CoinMessageHandler.cpp:160)
 ==2989==    by 0x46F52C: OsiSolverInterface::setInitialData()
 (OsiSolverInterface.cpp:1021)
 ==2989==    by 0x4361D9: OsiClpSolverInterface::reset()
 (OsiClpSolverInterface.cpp:5314)
 ==2989==    by 0x441221: OsiClpSolverInterface::OsiClpSolverInterface()
 (OsiClpSolverInterface.cpp:2892)
 ==2989==    by 0x40428A: SmiScnModelDiscreteUnitTest() (unitTest.cpp:929)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 72,384 bytes in 1,508 blocks are indirectly lost in loss record
 174 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x42108A: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:109)
 ==2989==    by 0x4226C9:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:766)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 89,896 bytes in 3,044 blocks are indirectly lost in loss record
 175 of 179
 ==2989==    at 0x4A05AF7: realloc (vg_replace_malloc.c:306)
 ==2989==    by 0x415E4F: SmiNodeData::SmiNodeData(int, SmiCoreData*,
 CoinPackedMatrix const*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:490)
 ==2989==    by 0x421068: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:106)
 ==2989==    by 0x421CBE:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:669)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 104,368 bytes in 3,044 blocks are indirectly lost in loss record
 176 of 179
 ==2989==    at 0x4A04D1F: calloc (vg_replace_malloc.c:279)
 ==2989==    by 0x414D4F: SmiNodeData::assignMemory() (SmiScnData.cpp:584)
 ==2989==    by 0x4154A0: SmiNodeData::SmiNodeData(int, SmiCoreData*,
 CoinPackedMatrix const*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:315)
 ==2989==    by 0x421068: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:106)
 ==2989==    by 0x421CBE:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:669)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 179,792 bytes in 3,044 blocks are indirectly lost in loss record
 177 of 179
 ==2989==    at 0x4A05AF7: realloc (vg_replace_malloc.c:306)
 ==2989==    by 0x415E1B: SmiNodeData::SmiNodeData(int, SmiCoreData*,
 CoinPackedMatrix const*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*)
 (SmiScnData.cpp:489)
 ==2989==    by 0x421068: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:106)
 ==2989==    by 0x421CBE:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:669)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 629,824 bytes in 3,028 blocks are indirectly lost in loss record
 178 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x42100C: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:106)
 ==2989==    by 0x421CBE:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:669)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989==
 ==2989== 1,168,972 (72,960 direct, 1,096,012 indirect) bytes in 1,520
 blocks are definitely lost in loss record 179 of 179
 ==2989==    at 0x4A06205: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==2989==    by 0x42108A: SmiScnModel::generateScenario(SmiCoreData*,
 CoinPackedMatrix*, CoinPackedVector*, CoinPackedVector*,
 CoinPackedVector*, CoinPackedVector*, CoinPackedVector*, int, int, double,
 SmiCoreCombineRule*) (SmiScnModel.cpp:109)
 ==2989==    by 0x421CBE:
 SmiScnModel::processDiscreteDistributionIntoScenarios(SmiDiscreteDistribution*,
 bool) (SmiScnModel.cpp:669)
 ==2989==    by 0x405774: SmiScnModelDiscreteUnitTest() (unitTest.cpp:1129)
 ==2989==    by 0x40C21B: main (unitTest.cpp:1777)
 ==2989==
 ==2989== LEAK SUMMARY:
 ==2989==    definitely lost: 84,536 bytes in 1,585 blocks.
 ==2989==    indirectly lost: 1,235,910 bytes in 14,614 blocks.
 ==2989==      possibly lost: 0 bytes in 0 blocks.
 ==2989==    still reachable: 16 bytes in 2 blocks.
 ==2989==         suppressed: 0 bytes in 0 blocks.
 }}}

-- 
Ticket URL: <https://projects.coin-or.org/Smi/ticket/4>
COIN-OR Stochastic Modeling Interface <http://projects.coin-or.org/Smi>
An API for stochastic programming problems.



More information about the Smi-tickets mailing list