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