==1052578== Memcheck, a memory error detector ==1052578== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1052578== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==1052578== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/cell_based/test/TestImmersedBoundaryCellPopulation -malloc_debug -malloc_dump -memory_info ==1052578== Parent PID: 1050807 ==1052578== ==1052578== ==1052578== FILE DESCRIPTORS: 9 open (3 std) at exit. ==1052578== Open file descriptor 12: ==1052578== at 0x10CE722D: pipe (pipe.c:29) ==1052578== by 0x196A507D: ??? ==1052578== by 0x14C134CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==1052578== by 0x105EF418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1052578== by 0x10588D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1052578== by 0xF27FD38: PetscInitialize (pinit.c:924) ==1052578== by 0xF0F42DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==1052578== by 0xF0F432D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==1052578== by 0x178F57: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==1052578== by 0x171249: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==1052578== by 0x174580: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== ==1052578== Open file descriptor 8: /dev/shm/open_mpi.0000 ==1052578== at 0x10CEBBCC: __open_nocancel (open64_nocancel.c:39) ==1052578== by 0x10C6FC4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==1052578== by 0xF129822: ??? ==1052578== by 0xF12996F: ??? ==1052578== by 0x14CB86DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1052578== by 0x14CB8938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1052578== by 0x14C6E922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1052578== by 0x14C132DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==1052578== by 0x105EF418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1052578== by 0x10588D7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1052578== by 0xF27FD38: PetscInitialize (pinit.c:924) ==1052578== by 0xF0F42DF: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==1052578== by 0xF0F432D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==1052578== by 0x178F57: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==1052578== by 0x171249: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==1052578== by 0x174580: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== ==1052578== Open file descriptor 115: ==1052578== ==1052578== ==1052578== Open file descriptor 112: ==1052578== ==1052578== ==1052578== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryCellPopulation_valgrind.txt ==1052578== ==1052578== ==1052578== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==1052578== ==1052578== ==1052578== ==1052578== HEAP SUMMARY: ==1052578== in use at exit: 1,054,754 bytes in 15,477 blocks ==1052578== total heap usage: 113,866 allocs, 98,389 frees, 1,395,754,490 bytes allocated ==1052578== ==1052578== 8 bytes in 1 blocks are possibly lost in loss record 4 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0x1A8613: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:127) ==1052578== by 0x1A8147: std::allocator_traits >::allocate(std::allocator&, unsigned long) (alloc_traits.h:464) ==1052578== by 0x1A7CB5: std::_Vector_base >::_M_allocate(unsigned long) (stl_vector.h:346) ==1052578== by 0x1A8271: std::vector >::_M_default_append(unsigned long) (vector.tcc:635) ==1052578== by 0x1A7D48: std::vector >::resize(unsigned long) (stl_vector.h:940) ==1052578== by 0xE5221A3: ElementAttributes<1u, 2u>::SetFirstAttribute(double) (ElementAttributes.cpp:62) ==1052578== by 0xE3FC983: AbstractElement<1u, 2u>::SetAttribute(double) (AbstractElement.cpp:169) ==1052578== by 0xE627665: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:180) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 16 bytes in 1 blocks are possibly lost in loss record 8 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0x19A547: __gnu_cxx::new_allocator*>::allocate(unsigned long, void const*) (new_allocator.h:127) ==1052578== by 0x1988D1: std::allocator_traits*> >::allocate(std::allocator*>&, unsigned long) (alloc_traits.h:464) ==1052578== by 0x195F37: std::_Vector_base*, std::allocator*> >::_M_allocate(unsigned long) (stl_vector.h:346) ==1052578== by 0x1935DC: std::_Vector_base*, std::allocator*> >::_M_create_storage(unsigned long) (stl_vector.h:361) ==1052578== by 0x18F640: std::_Vector_base*, std::allocator*> >::_Vector_base(unsigned long, std::allocator*> const&) (stl_vector.h:305) ==1052578== by 0x18A1F2: std::vector*, std::allocator*> >::vector(std::vector*, std::allocator*> > const&) (stl_vector.h:555) ==1052578== by 0xE3FC27B: AbstractElement<1u, 2u>::AbstractElement(unsigned int, std::vector*, std::allocator*> > const&) (AbstractElement.cpp:49) ==1052578== by 0xE41F971: AbstractTetrahedralElement<1u, 2u>::AbstractTetrahedralElement(unsigned int, std::vector*, std::allocator*> > const&) (AbstractTetrahedralElement.cpp:64) ==1052578== by 0xE45722E: BoundaryElement<1u, 2u>::BoundaryElement(unsigned int, std::vector*, std::allocator*> > const&) (BoundaryElement.cpp:47) ==1052578== by 0xE6275A3: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:173) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 24 bytes in 1 blocks are possibly lost in loss record 13 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0xE3FC1FD: AbstractElement<1u, 2u>::ConstructElementAttributes() (AbstractElement.cpp:198) ==1052578== by 0xE3FC96A: AbstractElement<1u, 2u>::SetAttribute(double) (AbstractElement.cpp:167) ==1052578== by 0xE627665: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:180) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 48 bytes in 1 blocks are possibly lost in loss record 29 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0xE627589: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:173) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 320 bytes in 8 blocks are possibly lost in loss record 43 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0x19D8C1: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==1052578== by 0x19D2FE: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==1052578== by 0x19C9CA: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==1052578== by 0x19C23B: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==1052578== by 0x19B340: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==1052578== by 0xA4EA263: 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) ==1052578== by 0xA4E98C1: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==1052578== by 0xA4E8E17: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==1052578== by 0xE5BF855: Node<2u>::AddElement(unsigned int) (Node.cpp:270) ==1052578== by 0xE51B38F: Element<2u, 2u>::RegisterWithNodes() (Element.cpp:69) ==1052578== by 0xE51B299: Element<2u, 2u>::Element(unsigned int, std::vector*, std::allocator*> > const&, bool) (Element.cpp:51) ==1052578== by 0xE627255: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:127) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 320 bytes in 8 blocks are possibly lost in loss record 44 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0x19D8C1: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==1052578== by 0x19D2FE: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==1052578== by 0x19C9CA: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==1052578== by 0x19C23B: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==1052578== by 0x19B340: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==1052578== by 0xA4EA263: 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) ==1052578== by 0xA4E98C1: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==1052578== by 0xA4E8E17: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==1052578== by 0xE5BFC3B: Node<2u>::AddBoundaryElement(unsigned int) (Node.cpp:296) ==1052578== by 0xE627555: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:169) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 576 bytes in 4 blocks are possibly lost in loss record 48 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0xE626F99: TetrahedralMesh<2u, 2u>::ConstructFromMeshReader(AbstractMeshReader<2u, 2u>&) (TetrahedralMesh.cpp:93) ==1052578== by 0xA867402: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:889) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== 352,683 (320 direct, 352,363 indirect) bytes in 1 blocks are definitely lost in loss record 92 of 93 ==1052578== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1052578== by 0xA867372: ImmersedBoundaryCellPopulation<2u>::GetTetrahedralMeshForPdeModifier() (ImmersedBoundaryCellPopulation.cpp:884) ==1052578== by 0x17B120: TestImmersedBoundaryCellPopulation::TestMeshMethods() (TestImmersedBoundaryCellPopulation.hpp:215) ==1052578== by 0x187496: TestDescription_TestImmersedBoundaryCellPopulation_TestMeshMethods::runTest() (TestImmersedBoundaryCellPopulation.cpp:37) ==1052578== by 0x17092D: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1052578== by 0x17482E: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1052578== by 0x174713: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1052578== by 0x1745B9: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1052578== by 0x174420: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1052578== by 0x174AB7: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1052578== by 0x16F665: main (TestImmersedBoundaryCellPopulation.cpp:19) ==1052578== { 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 } ==1052578== LEAK SUMMARY: ==1052578== definitely lost: 320 bytes in 1 blocks ==1052578== indirectly lost: 352,363 bytes in 6,074 blocks ==1052578== possibly lost: 1,312 bytes in 24 blocks ==1052578== still reachable: 56 bytes in 3 blocks ==1052578== suppressed: 700,703 bytes in 9,375 blocks ==1052578== Reachable blocks (those to which a pointer was found) are not shown. ==1052578== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1052578== ==1052578== For lists of detected and suppressed errors, rerun with: -s ==1052578== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 37 from 37)