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