==1711245== Memcheck, a memory error detector ==1711245== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1711245== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==1711245== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestOffLatticeRandomFieldGenerator -malloc_debug -malloc_dump -memory_info ==1711245== Parent PID: 1710456 ==1711245== ==1711245== ==1711245== FILE DESCRIPTORS: 9 open (3 std) at exit. ==1711245== Open file descriptor 12: ==1711245== at 0x7E2022D: pipe (pipe.c:29) ==1711245== by 0x1009307D: ??? ==1711245== by 0xB9D94CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==1711245== by 0x7A71418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1711245== by 0x7A0AD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1711245== by 0x66E1D38: PetscInitialize (pinit.c:924) ==1711245== by 0x65B615B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==1711245== by 0x65B61A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==1711245== by 0x11C0C1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==1711245== by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==1711245== by 0x11A138: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==1711245== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1711245== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1711245== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1711245== ==1711245== Open file descriptor 8: /dev/shm/open_mpi.0000 ==1711245== at 0x7E24BCC: __open_nocancel (open64_nocancel.c:39) ==1711245== by 0x7DA8C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==1711245== by 0x796B822: ??? ==1711245== by 0x796B96F: ??? ==1711245== by 0xBA7E6DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1711245== by 0xBA7E938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1711245== by 0xBA34922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1711245== by 0xB9D92DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==1711245== by 0x7A71418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1711245== by 0x7A0AD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1711245== by 0x66E1D38: PetscInitialize (pinit.c:924) ==1711245== by 0x65B615B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==1711245== by 0x65B61A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==1711245== by 0x11C0C1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==1711245== by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==1711245== by 0x11A138: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==1711245== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1711245== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1711245== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1711245== ==1711245== Open file descriptor 116: ==1711245== ==1711245== ==1711245== Open file descriptor 112: ==1711245== ==1711245== ==1711245== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestOffLatticeRandomFieldGenerator_valgrind.txt ==1711245== ==1711245== ==1711245== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==1711245== ==1711245== ==1711245== ==1711245== HEAP SUMMARY: ==1711245== in use at exit: 751,855 bytes in 9,790 blocks ==1711245== total heap usage: 56,408 allocs, 46,618 frees, 1,353,935,018 bytes allocated ==1711245== ==1711245== 448 bytes in 8 blocks are definitely lost in loss record 51 of 80 ==1711245== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1711245== by 0x5746975: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:462) ==1711245== by 0x5744C0E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:34) ==1711245== by 0x5747BB4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:38) ==1711245== by 0x5747BD9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1084) ==1711245== by 0x400647D: call_init.part.0 (dl-init.c:70) ==1711245== by 0x4006567: call_init (dl-init.c:33) ==1711245== by 0x4006567: _dl_init (dl-init.c:117) ==1711245== by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2) ==1711245== by 0x3: ??? ==1711245== by 0x1FFF0002E2: ??? ==1711245== by 0x1FFF000357: ??? ==1711245== by 0x1FFF000365: ??? ==1711245== by 0x1FFF000372: ??? ==1711245== { 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:* } ==1711245== 13,600 bytes in 100 blocks are definitely lost in loss record 74 of 80 ==1711245== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1711245== by 0x11C528: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:96) ==1711245== by 0x11CFF6: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36) ==1711245== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1711245== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1711245== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1711245== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1711245== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1711245== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1711245== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1711245== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN34TestOffLatticeRandomFieldGenerator25TestSampleFromRandomFieldEv fun:_ZN76TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==1711245== 14,400 bytes in 100 blocks are definitely lost in loss record 75 of 80 ==1711245== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1711245== by 0x11C81F: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:126) ==1711245== by 0x11CFF6: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36) ==1711245== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1711245== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1711245== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1711245== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1711245== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1711245== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1711245== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1711245== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN34TestOffLatticeRandomFieldGenerator25TestSampleFromRandomFieldEv fun:_ZN76TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==1711245== 14,400 bytes in 100 blocks are definitely lost in loss record 76 of 80 ==1711245== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1711245== by 0x11CC98: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomFieldWithLengthscaleZero() (TestOffLatticeRandomFieldGenerator.hpp:159) ==1711245== by 0x11D060: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomFieldWithLengthscaleZero::runTest() (TestOffLatticeRandomFieldGenerator.cpp:42) ==1711245== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1711245== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1711245== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1711245== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1711245== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1711245== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1711245== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1711245== { Memcheck:Leak match-leak-kinds: definite fun:_Znwm fun:_ZN34TestOffLatticeRandomFieldGenerator44TestSampleFromRandomFieldWithLengthscaleZeroEv fun:_ZN95TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomFieldWithLengthscaleZero7runTestEv fun:_ZN7CxxTest19RealTestDescription3runEv fun:_ZN7CxxTest10TestRunner7runTestERNS_15TestDescriptionE fun:_ZN7CxxTest10TestRunner8runSuiteERNS_16SuiteDescriptionE fun:_ZN7CxxTest10TestRunner8runWorldEv fun:_ZN7CxxTest10TestRunner11runAllTestsERNS_12TestListenerE fun:_ZN7CxxTest14ErrorFormatter3runEv fun:main } ==1711245== LEAK SUMMARY: ==1711245== definitely lost: 42,848 bytes in 308 blocks ==1711245== indirectly lost: 0 bytes in 0 blocks ==1711245== possibly lost: 0 bytes in 0 blocks ==1711245== still reachable: 8,400 bytes in 107 blocks ==1711245== suppressed: 700,607 bytes in 9,375 blocks ==1711245== Reachable blocks (those to which a pointer was found) are not shown. ==1711245== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1711245== ==1711245== For lists of detected and suppressed errors, rerun with: -s ==1711245== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 34 from 34)