==2103909== Memcheck, a memory error detector ==2103909== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2103909== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==2103909== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestImmersedBoundaryFftInterface -malloc_debug -malloc_dump -memory_info ==2103909== Parent PID: 2103158 ==2103909== ==2103909== ==2103909== FILE DESCRIPTORS: 9 open (3 std) at exit. ==2103909== Open file descriptor 12: ==2103909== at 0x80D622D: pipe (pipe.c:29) ==2103909== by 0x1009407D: ??? ==2103909== by 0xB9CB4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2103909== by 0x79E2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2103909== by 0x797BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2103909== by 0x6650D38: PetscInitialize (pinit.c:924) ==2103909== by 0x652715B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2103909== by 0x65271A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2103909== by 0x11A31F: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2103909== by 0x115DD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2103909== by 0x118396: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2103909== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2103909== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2103909== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2103909== ==2103909== Open file descriptor 8: /dev/shm/open_mpi.0000 ==2103909== at 0x80DABCC: __open_nocancel (open64_nocancel.c:39) ==2103909== by 0x805EC4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==2103909== by 0x78DA822: ??? ==2103909== by 0x78DA96F: ??? ==2103909== by 0xBA706DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2103909== by 0xBA70938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2103909== by 0xBA26922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2103909== by 0xB9CB2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2103909== by 0x79E2418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2103909== by 0x797BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2103909== by 0x6650D38: PetscInitialize (pinit.c:924) ==2103909== by 0x652715B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2103909== by 0x65271A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2103909== by 0x11A31F: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2103909== by 0x115DD3: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2103909== by 0x118396: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2103909== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2103909== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2103909== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2103909== ==2103909== Open file descriptor 116: ==2103909== ==2103909== ==2103909== Open file descriptor 112: ==2103909== ==2103909== ==2103909== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestImmersedBoundaryFftInterface_valgrind.txt ==2103909== ==2103909== ==2103909== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==2103909== ==2103909== ==2103909== ==2103909== HEAP SUMMARY: ==2103909== in use at exit: 1,501,831 bytes in 9,600 blocks ==2103909== total heap usage: 50,883 allocs, 41,283 frees, 1,361,963,614 bytes allocated ==2103909== ==2103909== 448 bytes in 8 blocks are definitely lost in loss record 111 of 145 ==2103909== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2103909== by 0x5746875: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:462) ==2103909== by 0x5744B0E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:34) ==2103909== by 0x5747AB4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:38) ==2103909== by 0x5747AD9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1084) ==2103909== by 0x400647D: call_init.part.0 (dl-init.c:70) ==2103909== by 0x4006567: call_init (dl-init.c:33) ==2103909== by 0x4006567: _dl_init (dl-init.c:117) ==2103909== by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2) ==2103909== by 0x3: ??? ==2103909== by 0x1FFF0002F2: ??? ==2103909== by 0x1FFF000365: ??? ==2103909== by 0x1FFF000373: ??? ==2103909== by 0x1FFF000380: ??? ==2103909== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN13OpenSimplex2S17initLatticePointsEv fun:_ZN13OpenSimplex2S11InitializerC1Ev fun:_Z41__static_initialization_and_destruction_0ii fun:_GLOBAL__sub_I_OpenSimplex2S.cpp fun:call_init.part.0 fun:call_init fun:_dl_init obj:/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 obj:* obj:* obj:* obj:* obj:* } ==2103909== 2,832 (752 direct, 2,080 indirect) bytes in 1 blocks are definitely lost in loss record 133 of 145 ==2103909== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2103909== by 0x11B000: TestImmersedBoundaryFftInterface::TestFftExecuteForward() (TestImmersedBoundaryFftInterface.hpp:92) ==2103909== by 0x11BEC8: TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteForward::runTest() (TestImmersedBoundaryFftInterface.cpp:36) ==2103909== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2103909== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2103909== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2103909== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2103909== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2103909== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2103909== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2103909== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN32TestImmersedBoundaryFftInterface21TestFftExecuteForwardEv fun:_ZN70TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteForward7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2103909== 262,144 bytes in 1 blocks are possibly lost in loss record 140 of 145 ==2103909== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2103909== by 0x120049: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (new_allocator.h:127) ==2103909== by 0x5A9428D: boost::multi_array >::allocate_space() (multi_array.hpp:545) ==2103909== by 0x5A94CD0: boost::multi_array >::multi_array(boost::detail::multi_array::extent_gen<3ul> const&, boost::general_storage_order<3ul> const&, std::allocator const&) (multi_array.hpp:226) ==2103909== by 0x5A92E45: boost::multi_array >::resize(boost::detail::multi_array::extent_gen<3ul> const&) (multi_array.hpp:458) ==2103909== by 0x5B1ACFB: ImmersedBoundaryMesh<2u, 2u>::ImmersedBoundaryMesh(std::vector*, std::allocator*> >, std::vector*, std::allocator*> >, std::vector*, std::allocator*> >, unsigned int, unsigned int) (ImmersedBoundaryMesh.cpp:65) ==2103909== by 0x11B020: TestImmersedBoundaryFftInterface::TestFftExecuteForward() (TestImmersedBoundaryFftInterface.hpp:92) ==2103909== by 0x11BEC8: TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteForward::runTest() (TestImmersedBoundaryFftInterface.cpp:36) ==2103909== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2103909== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2103909== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2103909== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2103909== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2103909== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2103909== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2103909== { Memcheck:Leak match-leak-kinds: possible fun:_Znwm fun:_ZN9__gnu_cxx13new_allocatorIdE8allocateEmPKv fun:_ZN5boost11multi_arrayIdLm3ESaIdEE14allocate_spaceEv fun:_ZN5boost11multi_arrayIdLm3ESaIdEEC1ERKNS_6detail11multi_array10extent_genILm3EEERKNS_21general_storage_orderILm3EEERKS1_ fun:_ZN5boost11multi_arrayIdLm3ESaIdEE6resizeERKNS_6detail11multi_array10extent_genILm3EEE fun:_ZN20ImmersedBoundaryMeshILj2ELj2EEC1ESt6vectorIP4NodeILj2EESaIS4_EES1_IP23ImmersedBoundaryElementILj2ELj2EESaIS9_EES1_IPS7_ILj1ELj2EESaISD_EEjj fun:_ZN32TestImmersedBoundaryFftInterface21TestFftExecuteForwardEv fun:_ZN70TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteForward7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2103909== 264,976 (752 direct, 264,224 indirect) bytes in 1 blocks are definitely lost in loss record 143 of 145 ==2103909== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2103909== by 0x11A80D: TestImmersedBoundaryFftInterface::TestConstructor() (TestImmersedBoundaryFftInterface.hpp:68) ==2103909== by 0x11BE5E: TestDescription_TestImmersedBoundaryFftInterface_TestConstructor::runTest() (TestImmersedBoundaryFftInterface.cpp:30) ==2103909== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2103909== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2103909== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2103909== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2103909== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2103909== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2103909== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2103909== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN32TestImmersedBoundaryFftInterface15TestConstructorEv fun:_ZN64TestDescription_TestImmersedBoundaryFftInterface_TestConstructor7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2103909== 264,976 (752 direct, 264,224 indirect) bytes in 1 blocks are definitely lost in loss record 144 of 145 ==2103909== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2103909== by 0x11B7D2: TestImmersedBoundaryFftInterface::TestFftExecuteInverse() (TestImmersedBoundaryFftInterface.hpp:124) ==2103909== by 0x11BF32: TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteInverse::runTest() (TestImmersedBoundaryFftInterface.cpp:42) ==2103909== by 0x11560A: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2103909== by 0x118644: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2103909== by 0x118529: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2103909== by 0x1183CF: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2103909== by 0x118291: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2103909== by 0x1188A5: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2103909== by 0x1145D5: main (TestImmersedBoundaryFftInterface.cpp:18) ==2103909== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN32TestImmersedBoundaryFftInterface21TestFftExecuteInverseEv fun:_ZN70TestDescription_TestImmersedBoundaryFftInterface_TestFftExecuteInverse7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==2103909== LEAK SUMMARY: ==2103909== definitely lost: 2,704 bytes in 11 blocks ==2103909== indirectly lost: 530,528 bytes in 107 blocks ==2103909== possibly lost: 262,144 bytes in 1 blocks ==2103909== still reachable: 5,848 bytes in 106 blocks ==2103909== suppressed: 700,607 bytes in 9,375 blocks ==2103909== Reachable blocks (those to which a pointer was found) are not shown. ==2103909== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2103909== ==2103909== For lists of detected and suppressed errors, rerun with: -s ==2103909== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 37 from 37)