==1376357== Memcheck, a memory error detector ==1376357== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1376357== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==1376357== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestOffLatticeRandomFieldGenerator -malloc_debug -malloc_dump -memory_info ==1376357== Parent PID: 1375558 ==1376357== ==1376357== ==1376357== FILE DESCRIPTORS: 9 open (3 std) at exit. ==1376357== Open file descriptor 12: ==1376357== at 0x7E3122D: pipe (pipe.c:29) ==1376357== by 0x100A607D: ??? ==1376357== by 0xB9DD4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==1376357== by 0x7A82418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1376357== by 0x7A1BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1376357== by 0x66F2D38: PetscInitialize (pinit.c:924) ==1376357== by 0x65C715B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==1376357== by 0x65C71A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==1376357== by 0x11C0C1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==1376357== by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==1376357== by 0x11A138: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==1376357== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1376357== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1376357== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1376357== ==1376357== Open file descriptor 8: /dev/shm/open_mpi.0000 ==1376357== at 0x7E35BCC: __open_nocancel (open64_nocancel.c:39) ==1376357== by 0x7DB9C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==1376357== by 0x797C822: ??? ==1376357== by 0x797C96F: ??? ==1376357== by 0xBA826DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1376357== by 0xBA82938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1376357== by 0xBA38922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==1376357== by 0xB9DD2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==1376357== by 0x7A82418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1376357== by 0x7A1BD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==1376357== by 0x66F2D38: PetscInitialize (pinit.c:924) ==1376357== by 0x65C715B: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==1376357== by 0x65C71A9: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==1376357== by 0x11C0C1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==1376357== by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==1376357== by 0x11A138: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==1376357== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1376357== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1376357== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1376357== ==1376357== Open file descriptor 116: ==1376357== ==1376357== ==1376357== Open file descriptor 112: ==1376357== ==1376357== ==1376357== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestOffLatticeRandomFieldGenerator_valgrind.txt ==1376357== ==1376357== ==1376357== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==1376357== ==1376357== ==1376357== ==1376357== HEAP SUMMARY: ==1376357== in use at exit: 751,855 bytes in 9,790 blocks ==1376357== total heap usage: 56,410 allocs, 46,620 frees, 1,353,935,145 bytes allocated ==1376357== ==1376357== 448 bytes in 8 blocks are definitely lost in loss record 52 of 81 ==1376357== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1376357== by 0x5751095: OpenSimplex2S::initLatticePoints() (OpenSimplex2S.cpp:442) ==1376357== by 0x574F32E: OpenSimplex2S::Initializer::Initializer() (OpenSimplex2S.cpp:14) ==1376357== by 0x57522D4: __static_initialization_and_destruction_0(int, int) (OpenSimplex2S.cpp:18) ==1376357== by 0x57522F9: _GLOBAL__sub_I_OpenSimplex2S.cpp (OpenSimplex2S.cpp:1064) ==1376357== by 0x400647D: call_init.part.0 (dl-init.c:70) ==1376357== by 0x4006567: call_init (dl-init.c:33) ==1376357== by 0x4006567: _dl_init (dl-init.c:117) ==1376357== by 0x40202E9: ??? (in /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2) ==1376357== by 0x3: ??? ==1376357== by 0x1FFF0002EE: ??? ==1376357== by 0x1FFF000363: ??? ==1376357== by 0x1FFF000371: ??? ==1376357== by 0x1FFF00037E: ??? ==1376357== { 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:* } ==1376357== 13,600 bytes in 100 blocks are definitely lost in loss record 75 of 81 ==1376357== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1376357== by 0x11C528: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:95) ==1376357== by 0x11CFF6: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36) ==1376357== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1376357== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1376357== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1376357== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1376357== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1376357== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1376357== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1376357== { 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 } ==1376357== 14,400 bytes in 100 blocks are definitely lost in loss record 76 of 81 ==1376357== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1376357== by 0x11C81F: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:125) ==1376357== by 0x11CFF6: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36) ==1376357== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1376357== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1376357== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1376357== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1376357== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1376357== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1376357== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1376357== { 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 } ==1376357== 14,400 bytes in 100 blocks are definitely lost in loss record 77 of 81 ==1376357== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==1376357== by 0x11CC98: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomFieldWithLengthscaleZero() (TestOffLatticeRandomFieldGenerator.hpp:158) ==1376357== by 0x11D060: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomFieldWithLengthscaleZero::runTest() (TestOffLatticeRandomFieldGenerator.cpp:42) ==1376357== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==1376357== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==1376357== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==1376357== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==1376357== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==1376357== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==1376357== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==1376357== { 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 } ==1376357== LEAK SUMMARY: ==1376357== definitely lost: 42,848 bytes in 308 blocks ==1376357== indirectly lost: 0 bytes in 0 blocks ==1376357== possibly lost: 0 bytes in 0 blocks ==1376357== still reachable: 8,400 bytes in 107 blocks ==1376357== suppressed: 700,607 bytes in 9,375 blocks ==1376357== Reachable blocks (those to which a pointer was found) are not shown. ==1376357== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1376357== ==1376357== For lists of detected and suppressed errors, rerun with: -s ==1376357== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 34 from 34)