!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! VERIFICATION CHECK: vc-memory-leak !!!!! !!!!! !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Description: Check that the model has no memory leaks. This is tested using the Valgrind memory debugging tool (http://valgrind.org) by performing a series of energy and force calculations on a randomly distorted face-centered cubic (FCC) cube base structure for both non-periodic and periodic boundary conditions. Separate configurations are tested for each species supported by the model, as well as one containing a random distribution of all species. Configurations used for testing are provided as auxiliary files. Author: Ellad Tadmor and Daniel S. Karls ----------------------------------------------------------------------------------------------------- Results for KIM Model : ThreeBodyBondOrder_KDS_KhorDasSarma_1988_C__MO_454320668790_000 Supported species : C random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = C (Configuration in file "config-F-C.xyz") ----------------------------------------------------------------------------------------------------- Energy = -72.1999731728048 Forces: 1 2.54786561e+00 1.97660962e+01 1.71185631e+01 2 1.89198335e+01 -2.19968466e+01 5.89516609e+00 3 4.61094593e+00 2.24680016e+01 1.68206649e+01 4 -2.28420718e+00 -1.93144748e+01 -1.71184998e+01 5 -2.30989699e+00 3.51609835e+01 -9.37118871e+00 6 -1.66777573e+01 -1.39227439e+01 4.69830613e+00 7 -3.24401160e+00 7.85637034e+00 2.21231785e+01 8 -3.05191900e-01 6.54952348e+00 3.45965565e+00 9 -9.04799738e-01 1.84573927e+01 2.16563143e+01 10 1.09412737e+01 -2.12184829e+00 1.45211252e+01 11 -3.56085946e+00 6.37130364e+00 8.24532587e+00 12 1.38893011e+00 -2.08245287e+01 -1.86623601e+01 13 6.93186691e+00 4.82106478e+00 7.02524974e+00 14 -2.79914644e+00 -3.04900273e+00 6.33768242e-01 15 -8.76342116e+00 -4.57060474e+00 -3.04126111e+00 16 -1.63792024e+01 -7.04843022e+00 -1.24627239e+01 17 8.10386346e+00 3.73982725e+00 1.15640981e+01 18 -1.36572299e+00 -2.12002793e+01 -1.87389986e+01 19 7.39814737e+00 1.63141841e+01 -3.55347458e+00 20 2.79944514e-01 -4.66186830e+00 -5.43159738e+00 21 7.80420477e+00 3.40487128e+00 -1.01473915e+01 22 -3.29574360e+00 -1.04378184e+01 -1.10819773e+01 23 -8.39077737e-02 3.21650993e-03 -5.60907502e-02 24 -1.47478646e+01 -1.67285067e+01 -4.64632332e+00 25 1.10340288e+01 5.02231530e+00 -9.81054178e+00 26 1.50868898e+01 -1.21085572e+01 1.13672835e+01 27 -4.44831706e+00 2.11994912e+01 -3.82495286e+00 28 1.53966893e+01 -1.49871958e+01 2.49026706e+00 29 5.32347885e+00 8.01957914e+00 7.76549888e+00 30 -2.56242812e+00 -9.01993532e+00 7.89721360e+00 31 -2.08697260e+01 1.67555308e+01 -1.88710173e+01 32 -1.11657583e+01 -1.39171108e+01 -1.64632797e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = C (Configuration in file "config-T-C.xyz") ----------------------------------------------------------------------------------------------------- Energy = -72.1999731728048 Forces: 1 2.54786561e+00 1.97660962e+01 1.71185631e+01 2 1.89198335e+01 -2.19968466e+01 5.89516609e+00 3 4.61094593e+00 2.24680016e+01 1.68206649e+01 4 -2.28420718e+00 -1.93144748e+01 -1.71184998e+01 5 -2.30989699e+00 3.51609835e+01 -9.37118871e+00 6 -1.66777573e+01 -1.39227439e+01 4.69830613e+00 7 -3.24401160e+00 7.85637034e+00 2.21231785e+01 8 -3.05191900e-01 6.54952348e+00 3.45965565e+00 9 -9.04799738e-01 1.84573927e+01 2.16563143e+01 10 1.09412737e+01 -2.12184829e+00 1.45211252e+01 11 -3.56085946e+00 6.37130364e+00 8.24532587e+00 12 1.38893011e+00 -2.08245287e+01 -1.86623601e+01 13 6.93186691e+00 4.82106478e+00 7.02524974e+00 14 -2.79914644e+00 -3.04900273e+00 6.33768242e-01 15 -8.76342116e+00 -4.57060474e+00 -3.04126111e+00 16 -1.63792024e+01 -7.04843022e+00 -1.24627239e+01 17 8.10386346e+00 3.73982725e+00 1.15640981e+01 18 -1.36572299e+00 -2.12002793e+01 -1.87389986e+01 19 7.39814737e+00 1.63141841e+01 -3.55347458e+00 20 2.79944514e-01 -4.66186830e+00 -5.43159738e+00 21 7.80420477e+00 3.40487128e+00 -1.01473915e+01 22 -3.29574360e+00 -1.04378184e+01 -1.10819773e+01 23 -8.39077737e-02 3.21650993e-03 -5.60907502e-02 24 -1.47478646e+01 -1.67285067e+01 -4.64632332e+00 25 1.10340288e+01 5.02231530e+00 -9.81054178e+00 26 1.50868898e+01 -1.21085572e+01 1.13672835e+01 27 -4.44831706e+00 2.11994912e+01 -3.82495286e+00 28 1.53966893e+01 -1.49871958e+01 2.49026706e+00 29 5.32347885e+00 8.01957914e+00 7.76549888e+00 30 -2.56242812e+00 -9.01993532e+00 7.89721360e+00 31 -2.08697260e+01 1.67555308e+01 -1.88710173e+01 32 -1.11657583e+01 -1.39171108e+01 -1.64632797e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==1819527== Memcheck, a memory error detector ==1819527== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1819527== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==1819527== Command: python runner2.py ThreeBodyBondOrder_KDS_KhorDasSarma_1988_C__MO_454320668790_000 ==1819527== ==1820812== Warning: invalid file descriptor 1024 in syscall close() ==1820812== Warning: invalid file descriptor 1025 in syscall close() ==1820812== Warning: invalid file descriptor 1026 in syscall close() ==1820812== Warning: invalid file descriptor 1027 in syscall close() ==1820812== Use --log-fd= to select an alternative log fd. ==1820812== Warning: invalid file descriptor 1028 in syscall close() ==1820812== Warning: invalid file descriptor 1029 in syscall close() ==1819527== ==1819527== HEAP SUMMARY: ==1819527== in use at exit: 2,257,591 bytes in 1,700 blocks ==1819527== total heap usage: 45,665 allocs, 43,965 frees, 58,025,372 bytes allocated ==1819527== ==1819527== LEAK SUMMARY: ==1819527== definitely lost: 0 bytes in 0 blocks ==1819527== indirectly lost: 0 bytes in 0 blocks ==1819527== possibly lost: 180,827 bytes in 103 blocks ==1819527== still reachable: 2,076,732 bytes in 1,596 blocks ==1819527== of which reachable via heuristic: ==1819527== stdstring : 38 bytes in 1 blocks ==1819527== suppressed: 32 bytes in 1 blocks ==1819527== Rerun with --leak-check=full to see details of leaked memory ==1819527== ==1819527== For lists of detected and suppressed errors, rerun with: -s ==1819527== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 7873 from 571) ================================================================================ To pass this verification check the number of bytes that are "definitely lost" or "indirectly lost" must be zero. NOTE that Valgrind will typically report non-zero "possibly lost" bytes due to Python's internal memory allocation and garbage collection that it does not monitor. Full Valgrind output written to auxiliary file "valgrind.out" Grade: P Comment: No memory leak detected.