==149543== Memcheck, a memory error detector ==149543== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==149543== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==149543== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/cell_based/test/TestImmersedBoundaryCellPopulation -malloc_debug -malloc_dump -memory_info ==149543== Parent PID: 147781 ==149543== ==149543== ==149543== FILE DESCRIPTORS: 9 open (3 std) at exit. ==149543== Open file descriptor 12: ==149543== at 0x10DB922D: pipe (pipe.c:29) ==149543== by 0x1977607D: ??? ==149543== by 0x14CF34CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==149543== by 0x106C1418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==149543== by 0x1065AD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==149543== by 0xF351D38: PetscInitialize (pinit.c:924) ==149543== by 0xF1C62DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==149543== by 0xF1C632D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==149543== by 0x16A271: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==149543== by 0x162AEF: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==149543== by 0x165BE0: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== ==149543== Open file descriptor 8: /dev/shm/open_mpi.0000 ==149543== at 0x10DBDBCC: __open_nocancel (open64_nocancel.c:39) ==149543== by 0x10D41C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==149543== by 0xF1FB822: ??? ==149543== by 0xF1FB96F: ??? ==149543== by 0x14D986DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==149543== by 0x14D98938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==149543== by 0x14D4E922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==149543== by 0x14CF32DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==149543== by 0x106C1418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==149543== by 0x1065AD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==149543== by 0xF351D38: PetscInitialize (pinit.c:924) ==149543== by 0xF1C62DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==149543== by 0xF1C632D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==149543== by 0x16A271: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==149543== by 0x162AEF: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==149543== by 0x165BE0: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== ==149543== Open file descriptor 115: ==149543== ==149543== ==149543== Open file descriptor 112: ==149543== ==149543== ==149543== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryCellPopulation_valgrind.txt ==149543== ==149543== ==149543== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==149543== ==149543== ==149543== ==149543== HEAP SUMMARY: ==149543== in use at exit: 1,054,748 bytes in 15,477 blocks ==149543== total heap usage: 101,528 allocs, 86,051 frees, 1,373,503,030 bytes allocated ==149543== ==149543== 8 bytes in 1 blocks are possibly lost in loss record 4 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0x18991D: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:127) ==149543== by 0x189451: std::allocator_traits >::allocate(std::allocator&, unsigned long) (alloc_traits.h:464) ==149543== by 0x188FBF: std::_Vector_base >::_M_allocate(unsigned long) (stl_vector.h:346) ==149543== by 0x18957B: std::vector >::_M_default_append(unsigned long) (vector.tcc:635) ==149543== by 0x189052: std::vector >::resize(unsigned long) (stl_vector.h:940) ==149543== by 0xE5F9CC3: ElementAttributes<1u, 2u>::SetFirstAttribute(double) (ElementAttributes.cpp:62) ==149543== by 0xE4D44A3: AbstractElement<1u, 2u>::SetAttribute(double) (AbstractElement.cpp:169) ==149543== by 0xE6FF185: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:180) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIdE8allocateEmPKv fun:_ZNSt16allocator_traitsISaIdEE8allocateERS0_m fun:_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm fun:_ZNSt6vectorIdSaIdEE17_M_default_appendEm fun:_ZNSt6vectorIdSaIdEE6resizeEm fun:_ZN17ElementAttributesILj1ELj2EE17SetFirstAttributeEd fun:_ZN15AbstractElementILj1ELj2EE12SetAttributeEd fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 16 bytes in 1 blocks are possibly lost in loss record 8 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xA6F6589: __gnu_cxx::new_allocator*>::allocate(unsigned long, void const*) (new_allocator.h:127) ==149543== by 0xA6F61D9: std::allocator_traits*> >::allocate(std::allocator*>&, unsigned long) (alloc_traits.h:464) ==149543== by 0xA6F5DFD: std::_Vector_base*, std::allocator*> >::_M_allocate(unsigned long) (stl_vector.h:346) ==149543== by 0xA739A90: std::_Vector_base*, std::allocator*> >::_M_create_storage(unsigned long) (stl_vector.h:361) ==149543== by 0xA7391BA: std::_Vector_base*, std::allocator*> >::_Vector_base(unsigned long, std::allocator*> const&) (stl_vector.h:305) ==149543== by 0xA7386C2: std::vector*, std::allocator*> >::vector(std::vector*, std::allocator*> > const&) (stl_vector.h:555) ==149543== by 0xE4D3D9B: AbstractElement<1u, 2u>::AbstractElement(unsigned int, std::vector*, std::allocator*> > const&) (AbstractElement.cpp:49) ==149543== by 0xE4F7491: AbstractTetrahedralElement<1u, 2u>::AbstractTetrahedralElement(unsigned int, std::vector*, std::allocator*> > const&) (AbstractTetrahedralElement.cpp:64) ==149543== by 0xE52ED4E: BoundaryElement<1u, 2u>::BoundaryElement(unsigned int, std::vector*, std::allocator*> > const&) (BoundaryElement.cpp:47) ==149543== by 0xE6FF0C3: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:173) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIP4NodeILj2EEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaIP4NodeILj2EEEE8allocateERS3_m fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EE11_M_allocateEm fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EE17_M_create_storageEm fun:_ZNSt12_Vector_baseIP4NodeILj2EESaIS2_EEC1EmRKS3_ fun:_ZNSt6vectorIP4NodeILj2EESaIS2_EEC1ERKS4_ fun:_ZN15AbstractElementILj1ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN26AbstractTetrahedralElementILj1ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN15BoundaryElementILj1ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EE fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 24 bytes in 1 blocks are possibly lost in loss record 14 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xE4D3D1D: AbstractElement<1u, 2u>::ConstructElementAttributes() (AbstractElement.cpp:198) ==149543== by 0xE4D448A: AbstractElement<1u, 2u>::SetAttribute(double) (AbstractElement.cpp:167) ==149543== by 0xE6FF185: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:180) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN15AbstractElementILj1ELj2EE26ConstructElementAttributesEv fun:_ZN15AbstractElementILj1ELj2EE12SetAttributeEd fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 48 bytes in 1 blocks are possibly lost in loss record 29 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xE6FF0A9: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:173) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 400 bytes in 10 blocks are possibly lost in loss record 43 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xA5830E5: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==149543== by 0xA581F11: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==149543== by 0xA57FB46: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==149543== by 0xA57E48F: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==149543== by 0xA57D848: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==149543== by 0xA57D1E3: std::_Rb_tree_iterator std::_Rb_tree, std::less, std::allocator >::_M_insert_, std::less, std::allocator >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree, std::less, std::allocator >::_Alloc_node&) (stl_tree.h:1784) ==149543== by 0xA57C841: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==149543== by 0xA57BD97: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==149543== by 0xE697375: Node<2u>::AddElement(unsigned int) (Node.cpp:270) ==149543== by 0xE5F2EAF: Element<2u, 2u>::RegisterWithNodes() (Element.cpp:69) ==149543== by 0xE5F2DB9: Element<2u, 2u>::Element(unsigned int, std::vector*, std::allocator*> > const&, bool) (Element.cpp:51) ==149543== by 0xE6FED75: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIjEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeIjEEE8allocateERS2_m fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_M_get_nodeEv fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE14_M_create_nodeIJRKjEEEPSt13_Rb_tree_nodeIjEDpOT_ fun:_ZNKSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_Alloc_nodeclIRKjEEPSt13_Rb_tree_nodeIjEOT_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IRKjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjEPSt18_Rb_tree_node_baseSD_OT_RT0_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ fun:_ZNSt3setIjSt4lessIjESaIjEE6insertERKj fun:_ZN4NodeILj2EE10AddElementEj fun:_ZN7ElementILj2ELj2EE17RegisterWithNodesEv fun:_ZN7ElementILj2ELj2EEC1EjRKSt6vectorIP4NodeILj2EESaIS4_EEb fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 400 bytes in 10 blocks are possibly lost in loss record 44 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xA5830E5: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==149543== by 0xA581F11: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==149543== by 0xA57FB46: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==149543== by 0xA57E48F: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==149543== by 0xA57D848: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==149543== by 0xA57D1E3: std::_Rb_tree_iterator std::_Rb_tree, std::less, std::allocator >::_M_insert_, std::less, std::allocator >::_Alloc_node>(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, unsigned int const&, std::_Rb_tree, std::less, std::allocator >::_Alloc_node&) (stl_tree.h:1784) ==149543== by 0xA57C841: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==149543== by 0xA57BD97: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==149543== by 0xE69775B: Node<2u>::AddBoundaryElement(unsigned int) (Node.cpp:296) ==149543== by 0xE6FF075: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:169) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeIjEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaISt13_Rb_tree_nodeIjEEE8allocateERS2_m fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_M_get_nodeEv fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE14_M_create_nodeIJRKjEEEPSt13_Rb_tree_nodeIjEDpOT_ fun:_ZNKSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE11_Alloc_nodeclIRKjEEPSt13_Rb_tree_nodeIjEOT_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE10_M_insert_IRKjNS5_11_Alloc_nodeEEESt17_Rb_tree_iteratorIjEPSt18_Rb_tree_node_baseSD_OT_RT0_ fun:_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE16_M_insert_uniqueIRKjEESt4pairISt17_Rb_tree_iteratorIjEbEOT_ fun:_ZNSt3setIjSt4lessIjESaIjEE6insertERKj fun:_ZN4NodeILj2EE18AddBoundaryElementEj fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 720 bytes in 5 blocks are possibly lost in loss record 62 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xE6FEAB9: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:93) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 24,000 bytes in 1 blocks are possibly lost in loss record 82 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xE666842: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==149543== by 0xE662BB2: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==149543== by 0xE65E683: std::_Vector_base, std::allocator > >::_M_allocate(unsigned long) (stl_vector.h:346) ==149543== by 0xE6587A6: std::vector, std::allocator > >::_M_default_append(unsigned long) (vector.tcc:635) ==149543== by 0xE652D3E: std::vector, std::allocator > >::resize(unsigned long) (stl_vector.h:940) ==149543== by 0xE700F12: TetrahedralMesh<2u, 2u>::RefreshJacobianCachedData() (TetrahedralMesh.cpp:675) ==149543== by 0xE6FF203: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:184) ==149543== by 0xA8F8C30: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:886) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEEE8allocateEmPKv fun:_ZNSt16allocator_traitsISaIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEEEE8allocateERS5_m fun:_ZNSt12_Vector_baseIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEESaIS4_EE11_M_allocateEm fun:_ZNSt6vectorIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEESaIS4_EE17_M_default_appendEm fun:_ZNSt6vectorIN5boost7numeric5ublas8c_matrixIdLm2ELm2EEESaIS4_EE6resizeEm fun:_ZN15TetrahedralMeshILj2ELj2EE25RefreshJacobianCachedDataEv fun:_ZN15TetrahedralMeshILj2ELj2EE23ConstructFromMeshReaderER18AbstractMeshReaderILj2ELj2EE fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== 328,378 (320 direct, 328,058 indirect) bytes in 1 blocks are definitely lost in loss record 93 of 93 ==149543== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==149543== by 0xA8F8BA0: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:881) ==149543== by 0x16B998: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:213) ==149543== by 0x16EE02: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:36) ==149543== by 0x162326: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==149543== by 0x165E8E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==149543== by 0x165D73: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==149543== by 0x165C19: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==149543== by 0x165ADB: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==149543== by 0x1660EF: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==149543== by 0x1612E5: main (TestImmersedBoundaryCellPopulation.cpp:18) ==149543== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN30ImmersedBoundaryCellPopulationILj2EE32GetTetrahedralMeshForPdeModifierEv fun:_ZN34TestImmersedBoundaryCellPopulation15TestMeshMethodsEv fun:_ZN66TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==149543== LEAK SUMMARY: ==149543== definitely lost: 320 bytes in 1 blocks ==149543== indirectly lost: 328,058 bytes in 6,068 blocks ==149543== possibly lost: 25,616 bytes in 30 blocks ==149543== still reachable: 56 bytes in 3 blocks ==149543== suppressed: 700,698 bytes in 9,375 blocks ==149543== Reachable blocks (those to which a pointer was found) are not shown. ==149543== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==149543== ==149543== For lists of detected and suppressed errors, rerun with: -s ==149543== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 37 from 37)