==2911947== Memcheck, a memory error detector ==2911947== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2911947== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==2911947== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestImmersedBoundaryMesh -malloc_debug -malloc_dump -memory_info ==2911947== Parent PID: 2911187 ==2911947== ==2911947== ==2911947== FILE DESCRIPTORS: 9 open (3 std) at exit. ==2911947== Open file descriptor 12: ==2911947== at 0x82A022D: pipe (pipe.c:29) ==2911947== by 0x100A207D: ??? ==2911947== by 0xB9E14CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2911947== by 0x7AC3418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911947== by 0x7A5CD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911947== by 0x6753D38: PetscInitialize (pinit.c:924) ==2911947== by 0x65C623F: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2911947== by 0x65C628D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2911947== by 0x161429: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2911947== by 0x15BC31: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2911947== by 0x15EDB6: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2911947== by 0x15EC57: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911947== by 0x15F2ED: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911947== by 0x15A015: main (TestImmersedBoundaryMesh.cpp:19) ==2911947== ==2911947== Open file descriptor 8: /dev/shm/open_mpi.0000 ==2911947== at 0x82A4BCC: __open_nocancel (open64_nocancel.c:39) ==2911947== by 0x8228C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==2911947== by 0x65FB822: ??? ==2911947== by 0x65FB96F: ??? ==2911947== by 0xBA866DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2911947== by 0xBA86938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2911947== by 0xBA3C922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2911947== by 0xB9E12DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2911947== by 0x7AC3418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911947== by 0x7A5CD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911947== by 0x6753D38: PetscInitialize (pinit.c:924) ==2911947== by 0x65C623F: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2911947== by 0x65C628D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2911947== by 0x161429: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2911947== by 0x15BC31: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2911947== by 0x15EDB6: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2911947== by 0x15EC57: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911947== by 0x15F2ED: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911947== by 0x15A015: main (TestImmersedBoundaryMesh.cpp:19) ==2911947== ==2911947== Open file descriptor 116: ==2911947== ==2911947== ==2911947== Open file descriptor 112: ==2911947== ==2911947== ==2911947== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryMesh_valgrind.txt ==2911947== ==2911947== ==2911947== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==2911947== ==2911947== ==2911947== ==2911947== HEAP SUMMARY: ==2911947== in use at exit: 705,823 bytes in 9,405 blocks ==2911947== total heap usage: 104,897 allocs, 95,492 frees, 1,386,878,260 bytes allocated ==2911947== ==2911947== 512 (432 direct, 80 indirect) bytes in 3 blocks are definitely lost in loss record 41 of 73 ==2911947== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911947== by 0x1632CE: TestImmersedBoundaryMesh::TestImmersedBoundaryElementAndLaminaIterators() (TestImmersedBoundaryMesh.hpp:179) ==2911947== by 0x17F934: TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators::runTest() (TestImmersedBoundaryMesh.cpp:61) ==2911947== by 0x15B315: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911947== by 0x15F064: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911947== by 0x15EF49: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911947== by 0x15EDEF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911947== by 0x15EC57: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911947== by 0x15F2ED: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911947== by 0x15A015: main (TestImmersedBoundaryMesh.cpp:19) ==2911947== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN24TestImmersedBoundaryMesh45TestImmersedBoundaryElementAndLaminaIteratorsEv fun:_ZN86TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2911947== 552 (120 direct, 432 indirect) bytes in 3 blocks are definitely lost in loss record 44 of 73 ==2911947== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911947== by 0x190E89: __gnu_cxx::new_allocator >::allocate(unsigned long, void const*) (new_allocator.h:127) ==2911947== by 0x190621: std::allocator_traits > >::allocate(std::allocator >&, unsigned long) (alloc_traits.h:464) ==2911947== by 0x190194: std::_Rb_tree, std::less, std::allocator >::_M_get_node() (stl_tree.h:561) ==2911947== by 0x18F4A3: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_M_create_node(unsigned int const&) (stl_tree.h:611) ==2911947== by 0x18DEA6: std::_Rb_tree_node* std::_Rb_tree, std::less, std::allocator >::_Alloc_node::operator()(unsigned int const&) const (stl_tree.h:529) ==2911947== by 0x18C3FB: 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) ==2911947== by 0x58946ED: std::pair, bool> std::_Rb_tree, std::less, std::allocator >::_M_insert_unique(unsigned int const&) (stl_tree.h:2129) ==2911947== by 0x5890955: std::set, std::allocator >::insert(unsigned int const&) (stl_set.h:512) ==2911947== by 0x5A0BC87: Node<2u>::AddElement(unsigned int) (Node.cpp:270) ==2911947== by 0x1633F2: TestImmersedBoundaryMesh::TestImmersedBoundaryElementAndLaminaIterators() (TestImmersedBoundaryMesh.hpp:183) ==2911947== by 0x17F934: TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators::runTest() (TestImmersedBoundaryMesh.cpp:61) ==2911947== by 0x15B315: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911947== by 0x15F064: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911947== by 0x15EF49: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911947== by 0x15EDEF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911947== by 0x15EC57: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911947== by 0x15F2ED: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911947== by 0x15A015: main (TestImmersedBoundaryMesh.cpp:19) ==2911947== { Memcheck:Leak match-leak-kinds: definite 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:_ZN24TestImmersedBoundaryMesh45TestImmersedBoundaryElementAndLaminaIteratorsEv fun:_ZN86TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2911947== 696 (576 direct, 120 indirect) bytes in 4 blocks are definitely lost in loss record 59 of 73 ==2911947== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911947== by 0x163268: TestImmersedBoundaryMesh::TestImmersedBoundaryElementAndLaminaIterators() (TestImmersedBoundaryMesh.hpp:178) ==2911947== by 0x17F934: TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators::runTest() (TestImmersedBoundaryMesh.cpp:61) ==2911947== by 0x15B315: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911947== by 0x15F064: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911947== by 0x15EF49: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911947== by 0x15EDEF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911947== by 0x15EC57: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911947== by 0x15F2ED: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911947== by 0x15A015: main (TestImmersedBoundaryMesh.cpp:19) ==2911947== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN24TestImmersedBoundaryMesh45TestImmersedBoundaryElementAndLaminaIteratorsEv fun:_ZN86TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2911947== 880 (720 direct, 160 indirect) bytes in 5 blocks are definitely lost in loss record 60 of 73 ==2911947== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911947== by 0x163334: TestImmersedBoundaryMesh::TestImmersedBoundaryElementAndLaminaIterators() (TestImmersedBoundaryMesh.hpp:180) ==2911947== by 0x17F934: TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators::runTest() (TestImmersedBoundaryMesh.cpp:61) ==2911947== by 0x15B315: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911947== by 0x15F064: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911947== by 0x15EF49: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911947== by 0x15EDEF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911947== by 0x15EC57: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911947== by 0x15F2ED: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911947== by 0x15A015: main (TestImmersedBoundaryMesh.cpp:19) ==2911947== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN24TestImmersedBoundaryMesh45TestImmersedBoundaryElementAndLaminaIteratorsEv fun:_ZN86TestDescription_TestImmersedBoundaryMesh_TestImmersedBoundaryElementAndLaminaIterators7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2911947== LEAK SUMMARY: ==2911947== definitely lost: 1,848 bytes in 15 blocks ==2911947== indirectly lost: 792 bytes in 12 blocks ==2911947== possibly lost: 0 bytes in 0 blocks ==2911947== still reachable: 2,576 bytes in 3 blocks ==2911947== suppressed: 700,607 bytes in 9,375 blocks ==2911947== Reachable blocks (those to which a pointer was found) are not shown. ==2911947== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2911947== ==2911947== For lists of detected and suppressed errors, rerun with: -s ==2911947== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 37 from 37)