!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : EAM_Dynamo_ZhouJohnsonWadley_2004NISTretabulation_Zr__MO_380166217430_000 Supported species : Zr random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Zr (Configuration in file "config-F-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 30.614594807562142 Forces: 1 -5.89580110e+00 -1.03832577e+01 -1.11084422e+01 2 -5.03107669e+00 6.74282662e+00 -1.06860296e+01 3 6.76878902e+00 -1.89493950e+01 -8.04375143e+00 4 -1.43403963e+01 6.33081691e+00 2.28909988e-01 5 -1.31974983e+00 -1.80703745e+01 -6.64696983e+00 6 1.11389125e+01 7.48454638e+00 -1.23714571e+01 7 1.33924563e+01 -3.24940043e+01 -2.08170520e+01 8 -1.53784058e+01 -1.18663883e+01 -2.49770062e+00 9 -1.19465827e+01 -8.41084729e+00 -1.90804910e+01 10 -4.93728046e+00 2.12406380e+01 -2.25426098e+01 11 -4.49037696e+00 -1.34515070e+01 3.57443328e+00 12 -1.31887741e+01 1.86708100e+01 2.50739490e+00 13 -5.94608477e+00 -1.50468532e+01 -4.43106306e+01 14 1.00447191e+01 1.24752745e+01 -8.49499516e+00 15 4.14374813e+01 -5.11492424e+00 8.43911778e+00 16 7.02807371e+00 3.55194982e+01 1.31414465e+01 17 -2.07035610e+01 -1.37215278e+01 -3.09871241e+00 18 1.16285296e+01 1.43677675e+01 1.03055572e+01 19 4.43308718e+00 -1.56908409e+01 9.39113615e+00 20 -8.29290849e+00 9.17034185e+00 9.98025220e+00 21 -1.31394969e+01 -1.42638251e+01 7.99004233e+00 22 2.24761429e+01 2.46833689e+01 1.69516759e+01 23 6.46879418e+00 -4.54442389e+00 1.30502973e+01 24 3.00381017e+00 7.02900245e+00 7.33192376e+00 25 -1.75949989e+01 -6.49478474e+00 9.94869942e+00 26 -7.31470381e+00 2.43602915e+01 -9.54209072e+00 27 9.30416358e+00 -3.25164092e+01 1.48858161e+01 28 -2.67828005e+01 2.27782585e+01 6.85808744e+00 29 -8.28302369e+00 -1.32135018e+01 1.01330914e+01 30 1.13027640e+01 1.77321624e+01 -1.31679901e+00 31 1.70555727e+01 -1.26376465e+01 1.70908966e+01 32 9.10272571e+00 1.82849079e+01 1.87489532e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Zr (Configuration in file "config-T-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 30.614594807562142 Forces: 1 -5.89580110e+00 -1.03832577e+01 -1.11084422e+01 2 -5.03107669e+00 6.74282662e+00 -1.06860296e+01 3 6.76878902e+00 -1.89493950e+01 -8.04375143e+00 4 -1.43403963e+01 6.33081691e+00 2.28909988e-01 5 -1.31974983e+00 -1.80703745e+01 -6.64696983e+00 6 1.11389125e+01 7.48454638e+00 -1.23714571e+01 7 1.33924563e+01 -3.24940043e+01 -2.08170520e+01 8 -1.53784058e+01 -1.18663883e+01 -2.49770062e+00 9 -1.19465827e+01 -8.41084729e+00 -1.90804910e+01 10 -4.93728046e+00 2.12406380e+01 -2.25426098e+01 11 -4.49037696e+00 -1.34515070e+01 3.57443328e+00 12 -1.31887741e+01 1.86708100e+01 2.50739490e+00 13 -5.94608477e+00 -1.50468532e+01 -4.43106306e+01 14 1.00447191e+01 1.24752745e+01 -8.49499516e+00 15 4.14374813e+01 -5.11492424e+00 8.43911778e+00 16 7.02807371e+00 3.55194982e+01 1.31414465e+01 17 -2.07035610e+01 -1.37215278e+01 -3.09871241e+00 18 1.16285296e+01 1.43677675e+01 1.03055572e+01 19 4.43308718e+00 -1.56908409e+01 9.39113615e+00 20 -8.29290849e+00 9.17034185e+00 9.98025220e+00 21 -1.31394969e+01 -1.42638251e+01 7.99004233e+00 22 2.24761429e+01 2.46833689e+01 1.69516759e+01 23 6.46879418e+00 -4.54442389e+00 1.30502973e+01 24 3.00381017e+00 7.02900245e+00 7.33192376e+00 25 -1.75949989e+01 -6.49478474e+00 9.94869942e+00 26 -7.31470381e+00 2.43602915e+01 -9.54209072e+00 27 9.30416358e+00 -3.25164092e+01 1.48858161e+01 28 -2.67828005e+01 2.27782585e+01 6.85808744e+00 29 -8.28302369e+00 -1.32135018e+01 1.01330914e+01 30 1.13027640e+01 1.77321624e+01 -1.31679901e+00 31 1.70555727e+01 -1.26376465e+01 1.70908966e+01 32 9.10272571e+00 1.82849079e+01 1.87489532e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==178648== Memcheck, a memory error detector ==178648== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==178648== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==178648== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004NISTretabulation_Zr__MO_380166217430_000 ==178648== ==180067== Warning: invalid file descriptor 255988 in syscall close() ==180067== Warning: invalid file descriptor 255989 in syscall close() ==180067== Warning: invalid file descriptor 255990 in syscall close() ==180067== Warning: invalid file descriptor 255991 in syscall close() ==180067== Use --log-fd= to select an alternative log fd. ==180067== Warning: invalid file descriptor 255992 in syscall close() ==180067== Warning: invalid file descriptor 255993 in syscall close() ==178648== ==178648== HEAP SUMMARY: ==178648== in use at exit: 2,257,591 bytes in 1,701 blocks ==178648== total heap usage: 47,771 allocs, 46,070 frees, 57,586,477 bytes allocated ==178648== ==178648== LEAK SUMMARY: ==178648== definitely lost: 0 bytes in 0 blocks ==178648== indirectly lost: 0 bytes in 0 blocks ==178648== possibly lost: 180,827 bytes in 103 blocks ==178648== still reachable: 2,076,732 bytes in 1,597 blocks ==178648== of which reachable via heuristic: ==178648== stdstring : 38 bytes in 1 blocks ==178648== suppressed: 32 bytes in 1 blocks ==178648== Rerun with --leak-check=full to see details of leaked memory ==178648== ==178648== For lists of detected and suppressed errors, rerun with: -s ==178648== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 7965 from 577) ================================================================================ 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.