==2911977== Memcheck, a memory error detector ==2911977== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==2911977== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info ==2911977== Command: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/mesh/test/TestOffLatticeRandomFieldGenerator -malloc_debug -malloc_dump -memory_info ==2911977== Parent PID: 2911187 ==2911977== ==2911977== ==2911977== FILE DESCRIPTORS: 9 open (3 std) at exit. ==2911977== Open file descriptor 12: ==2911977== at 0x7E3022D: pipe (pipe.c:29) ==2911977== by 0x100A407D: ??? ==2911977== by 0xB9DB4CB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2911977== by 0x7A81418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911977== by 0x7A1AD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911977== by 0x66F1D38: PetscInitialize (pinit.c:924) ==2911977== by 0x65C623F: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2911977== by 0x65C628D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2911977== by 0x11C0C1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2911977== by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2911977== by 0x11A138: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2911977== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911977== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911977== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==2911977== ==2911977== Open file descriptor 8: /dev/shm/open_mpi.0000 ==2911977== at 0x7E34BCC: __open_nocancel (open64_nocancel.c:39) ==2911977== by 0x7DB8C4F: shm_open@@GLIBC_2.34 (shm_open.c:40) ==2911977== by 0x797B822: ??? ==2911977== by 0x797B96F: ??? ==2911977== by 0xBA806DC: ??? (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2911977== by 0xBA80938: opal_shmem_base_select (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2911977== by 0xBA36922: opal_init (in /usr/lib/x86_64-linux-gnu/libopen-pal.so.40.30.2) ==2911977== by 0xB9DB2DB: orte_init (in /usr/lib/x86_64-linux-gnu/libopen-rte.so.40.30.2) ==2911977== by 0x7A81418: ompi_mpi_init (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911977== by 0x7A1AD7A: PMPI_Init_thread (in /usr/lib/x86_64-linux-gnu/libmpi.so.40.30.2) ==2911977== by 0x66F1D38: PetscInitialize (pinit.c:924) ==2911977== by 0x65C623F: PetscSetupUtils::InitialisePetsc() (PetscSetupUtils.cpp:80) ==2911977== by 0x65C628D: PetscSetupUtils::CommonSetup() (PetscSetupUtils.cpp:88) ==2911977== by 0x11C0C1: PetscSetup::setUpWorld() (FakePetscSetup.hpp:70) ==2911977== by 0x117D93: CxxTest::RealWorldDescription::setUp() (RealDescriptions.cpp:266) ==2911977== by 0x11A138: CxxTest::TestRunner::runWorld() (TestRunner.h:43) ==2911977== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911977== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911977== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==2911977== ==2911977== Open file descriptor 116: ==2911977== ==2911977== ==2911977== Open file descriptor 112: ==2911977== ==2911977== ==2911977== Open file descriptor 4: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/memtest/TestOffLatticeRandomFieldGenerator_valgrind.txt ==2911977== ==2911977== ==2911977== Open file descriptor 3: /home/github/actions-runner/_work/Chaste/Chaste/Chaste/chaste-build-dir/Testing/Temporary/LastTest.log.tmp ==2911977== ==2911977== ==2911977== ==2911977== HEAP SUMMARY: ==2911977== in use at exit: 745,583 bytes in 9,678 blocks ==2911977== total heap usage: 56,390 allocs, 46,712 frees, 1,353,930,488 bytes allocated ==2911977== ==2911977== 13,600 bytes in 100 blocks are definitely lost in loss record 60 of 69 ==2911977== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911977== by 0x11C528: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:96) ==2911977== by 0x11CFF6: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36) ==2911977== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911977== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911977== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911977== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911977== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911977== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911977== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==2911977== { 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 } ==2911977== 14,400 bytes in 100 blocks are definitely lost in loss record 62 of 69 ==2911977== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911977== by 0x11C81F: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomField() (TestOffLatticeRandomFieldGenerator.hpp:126) ==2911977== by 0x11CFF6: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomField::runTest() (TestOffLatticeRandomFieldGenerator.cpp:36) ==2911977== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911977== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911977== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911977== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911977== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911977== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911977== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==2911977== { 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 } ==2911977== 14,400 bytes in 100 blocks are definitely lost in loss record 63 of 69 ==2911977== at 0x4849013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==2911977== by 0x11CC98: TestOffLatticeRandomFieldGenerator::TestSampleFromRandomFieldWithLengthscaleZero() (TestOffLatticeRandomFieldGenerator.hpp:159) ==2911977== by 0x11D060: TestDescription_TestOffLatticeRandomFieldGenerator_TestSampleFromRandomFieldWithLengthscaleZero::runTest() (TestOffLatticeRandomFieldGenerator.cpp:42) ==2911977== by 0x1175CA: CxxTest::RealTestDescription::run() (RealDescriptions.cpp:96) ==2911977== by 0x11A3E6: CxxTest::TestRunner::runTest(CxxTest::TestDescription&) (TestRunner.h:74) ==2911977== by 0x11A2CB: CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) (TestRunner.h:61) ==2911977== by 0x11A171: CxxTest::TestRunner::runWorld() (TestRunner.h:46) ==2911977== by 0x11A033: CxxTest::TestRunner::runAllTests(CxxTest::TestListener&) (TestRunner.h:23) ==2911977== by 0x11A647: CxxTest::ErrorFormatter::run() (ErrorFormatter.h:47) ==2911977== by 0x116595: main (TestOffLatticeRandomFieldGenerator.cpp:18) ==2911977== { 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 } ==2911977== LEAK SUMMARY: ==2911977== definitely lost: 42,400 bytes in 300 blocks ==2911977== indirectly lost: 0 bytes in 0 blocks ==2911977== possibly lost: 0 bytes in 0 blocks ==2911977== still reachable: 2,576 bytes in 3 blocks ==2911977== suppressed: 700,607 bytes in 9,375 blocks ==2911977== Reachable blocks (those to which a pointer was found) are not shown. ==2911977== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==2911977== ==2911977== For lists of detected and suppressed errors, rerun with: -s ==2911977== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 37 from 37)