!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_WilsonMendelev_2016_Mg__MO_574574915905_000 Supported species : Mg random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Mg (Configuration in file "config-F-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 93.42141188130542 Forces: 1 -4.25335801e+00 -1.06225377e+01 -1.08903102e+01 2 -4.53589811e+00 6.61587652e+00 -9.26632711e+00 3 2.07677340e+00 -8.59727467e+00 -3.37886324e+00 4 -7.29100102e+00 8.44264636e+00 5.57123461e+00 5 5.44834930e+00 -1.28361244e+01 -1.84017702e+00 6 5.58839846e+00 -1.78175227e+00 -6.78054011e+00 7 3.18267578e+00 -1.78990947e+01 -1.51561954e+01 8 -1.31353955e+01 -1.44600885e+01 4.35912711e-01 9 -5.63763659e+00 -5.72692617e-02 -8.54479519e+00 10 -4.37148288e+00 9.35946668e+00 -1.13513252e+01 11 -3.36080610e+00 -6.23589202e+00 1.08418970e+00 12 -6.95416634e+00 8.08646633e+00 -1.38020223e+00 13 -3.04390016e+00 1.59654560e-01 -2.52186614e+01 14 5.01058105e+00 4.77586163e+00 -3.37697127e+00 15 3.00397333e+01 8.63740363e+00 3.27330378e+00 16 3.77134842e+00 1.73369696e+01 7.83416345e+00 17 -8.21012831e+00 -2.90336548e+00 3.40106638e+00 18 1.07919250e+00 5.04413289e+00 6.65415056e-01 19 -7.01638837e-05 -6.06966061e+00 7.34737222e+00 20 -3.94224963e+00 -4.00832252e-03 3.31141846e+00 21 -2.02754547e+00 -8.42990700e+00 4.61173990e+00 22 1.34205438e+01 9.30249760e+00 1.22943884e+01 23 2.86818789e+00 -2.44194649e+00 4.34048612e+00 24 -5.62253376e-01 -7.76522573e-01 5.67771956e+00 25 -7.63650980e+00 -3.54748379e+00 5.92609647e+00 26 -2.61183640e+00 8.88392869e+00 -1.81763802e+00 27 6.73169214e+00 -1.47175047e+01 6.62087354e+00 28 -1.60593330e+01 1.36205366e+01 2.81357799e+00 29 -7.97414013e+00 -1.71404491e+00 2.86690609e+00 30 7.38909816e+00 7.82364239e+00 7.21041034e-02 31 1.02384142e+01 -2.15016628e+00 1.24311109e+01 32 4.76272249e+00 7.15556017e+00 8.42292683e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Mg (Configuration in file "config-T-Mg.xyz") ----------------------------------------------------------------------------------------------------- Energy = 93.42141188130542 Forces: 1 -4.25335801e+00 -1.06225377e+01 -1.08903102e+01 2 -4.53589811e+00 6.61587652e+00 -9.26632711e+00 3 2.07677340e+00 -8.59727467e+00 -3.37886324e+00 4 -7.29100102e+00 8.44264636e+00 5.57123461e+00 5 5.44834930e+00 -1.28361244e+01 -1.84017702e+00 6 5.58839846e+00 -1.78175227e+00 -6.78054011e+00 7 3.18267578e+00 -1.78990947e+01 -1.51561954e+01 8 -1.31353955e+01 -1.44600885e+01 4.35912711e-01 9 -5.63763659e+00 -5.72692617e-02 -8.54479519e+00 10 -4.37148288e+00 9.35946668e+00 -1.13513252e+01 11 -3.36080610e+00 -6.23589202e+00 1.08418970e+00 12 -6.95416634e+00 8.08646633e+00 -1.38020223e+00 13 -3.04390016e+00 1.59654560e-01 -2.52186614e+01 14 5.01058105e+00 4.77586163e+00 -3.37697127e+00 15 3.00397333e+01 8.63740363e+00 3.27330378e+00 16 3.77134842e+00 1.73369696e+01 7.83416345e+00 17 -8.21012831e+00 -2.90336548e+00 3.40106638e+00 18 1.07919250e+00 5.04413289e+00 6.65415056e-01 19 -7.01638837e-05 -6.06966061e+00 7.34737222e+00 20 -3.94224963e+00 -4.00832252e-03 3.31141846e+00 21 -2.02754547e+00 -8.42990700e+00 4.61173990e+00 22 1.34205438e+01 9.30249760e+00 1.22943884e+01 23 2.86818789e+00 -2.44194649e+00 4.34048612e+00 24 -5.62253376e-01 -7.76522573e-01 5.67771956e+00 25 -7.63650980e+00 -3.54748379e+00 5.92609647e+00 26 -2.61183640e+00 8.88392869e+00 -1.81763802e+00 27 6.73169214e+00 -1.47175047e+01 6.62087354e+00 28 -1.60593330e+01 1.36205366e+01 2.81357799e+00 29 -7.97414013e+00 -1.71404491e+00 2.86690609e+00 30 7.38909816e+00 7.82364239e+00 7.21041034e-02 31 1.02384142e+01 -2.15016628e+00 1.24311109e+01 32 4.76272249e+00 7.15556017e+00 8.42292683e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==1304776== Memcheck, a memory error detector ==1304776== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1304776== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==1304776== Command: python runner2.py EAM_Dynamo_WilsonMendelev_2016_Mg__MO_574574915905_000 ==1304776== ==1306172== Warning: invalid file descriptor 1024 in syscall close() ==1306172== Warning: invalid file descriptor 1025 in syscall close() ==1306172== Warning: invalid file descriptor 1026 in syscall close() ==1306172== Warning: invalid file descriptor 1027 in syscall close() ==1306172== Use --log-fd= to select an alternative log fd. ==1306172== Warning: invalid file descriptor 1028 in syscall close() ==1306172== Warning: invalid file descriptor 1029 in syscall close() ==1304776== ==1304776== HEAP SUMMARY: ==1304776== in use at exit: 2,257,559 bytes in 1,700 blocks ==1304776== total heap usage: 45,235 allocs, 43,535 frees, 71,503,525 bytes allocated ==1304776== ==1304776== LEAK SUMMARY: ==1304776== definitely lost: 0 bytes in 0 blocks ==1304776== indirectly lost: 0 bytes in 0 blocks ==1304776== possibly lost: 180,827 bytes in 103 blocks ==1304776== still reachable: 2,076,700 bytes in 1,596 blocks ==1304776== of which reachable via heuristic: ==1304776== stdstring : 38 bytes in 1 blocks ==1304776== suppressed: 32 bytes in 1 blocks ==1304776== Rerun with --leak-check=full to see details of leaked memory ==1304776== ==1304776== For lists of detected and suppressed errors, rerun with: -s ==1304776== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 7745 from 539) ================================================================================ 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.