!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_QuinticClampedSpline_ErcolessiAdams_1994_Al__MO_450093727396_002 Supported species : Al random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Al (Configuration in file "config-F-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = -65.4406215673662 Forces: 1 -1.02346924e+00 -1.38051120e+00 -2.10957605e+00 2 -1.24640386e+00 2.60751958e+00 -1.31900360e+00 3 1.97429294e+00 -1.31978759e+00 2.08885030e+00 4 -6.14319488e-01 2.24173901e+00 1.69180292e+00 5 1.28079862e+00 -2.14456659e+00 1.45275908e-01 6 6.09360662e-01 1.55974040e+00 -1.32231196e+00 7 1.40174693e+00 -6.28968284e+00 -4.90300857e+00 8 -4.03834137e+00 -2.40718612e+00 -6.69241395e-01 9 -2.16990487e+00 -1.99120537e+00 -3.11441375e+00 10 -1.04898040e+00 3.74288788e+00 -4.03697039e+00 11 -1.09108189e+00 -3.40569703e+00 4.52669650e+00 12 -7.50181786e-01 1.60187219e+00 1.59710083e+00 13 -1.18238641e+00 -3.19808985e+00 -7.85099478e+00 14 5.79652034e-01 1.12160046e+00 -2.53538425e-01 15 7.04791611e+00 -1.22392778e+00 1.78060299e+00 16 1.78752668e+00 5.49472953e+00 3.11797019e+00 17 -1.51555316e+00 -9.33850873e-01 -1.88373245e+00 18 4.11037087e-01 2.84589838e+00 -3.59455507e+00 19 1.81292196e+00 -2.80662517e+00 2.31674349e+00 20 -1.02312697e+00 1.99371926e+00 1.33424422e+00 21 -3.48370078e+00 -1.08704329e+00 1.04936915e+00 22 2.67842301e+00 5.08827810e+00 4.77543496e+00 23 4.53820220e-01 3.68374364e-01 7.78035004e-01 24 8.54589319e-01 -5.47761071e-01 1.17974608e+00 25 -1.92290253e+00 -2.78580857e+00 -2.07228703e+00 26 -1.31633124e+00 3.54757008e+00 -2.68216953e+00 27 2.76819122e+00 -6.73170603e+00 2.85300034e+00 28 -4.66423145e+00 4.87504964e+00 1.22667492e+00 29 -1.90944984e+00 -1.65665723e+00 1.10095708e+00 30 5.10668175e-01 2.03695422e+00 3.64016172e-01 31 3.11621170e+00 -1.80349794e+00 1.70393969e+00 32 1.71320860e+00 2.58767145e+00 2.18134227e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Al (Configuration in file "config-T-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = -65.4406215673662 Forces: 1 -1.02346924e+00 -1.38051120e+00 -2.10957605e+00 2 -1.24640386e+00 2.60751958e+00 -1.31900360e+00 3 1.97429294e+00 -1.31978759e+00 2.08885030e+00 4 -6.14319488e-01 2.24173901e+00 1.69180292e+00 5 1.28079862e+00 -2.14456659e+00 1.45275908e-01 6 6.09360662e-01 1.55974040e+00 -1.32231196e+00 7 1.40174693e+00 -6.28968284e+00 -4.90300857e+00 8 -4.03834137e+00 -2.40718612e+00 -6.69241395e-01 9 -2.16990487e+00 -1.99120537e+00 -3.11441375e+00 10 -1.04898040e+00 3.74288788e+00 -4.03697039e+00 11 -1.09108189e+00 -3.40569703e+00 4.52669650e+00 12 -7.50181786e-01 1.60187219e+00 1.59710083e+00 13 -1.18238641e+00 -3.19808985e+00 -7.85099478e+00 14 5.79652034e-01 1.12160046e+00 -2.53538425e-01 15 7.04791611e+00 -1.22392778e+00 1.78060299e+00 16 1.78752668e+00 5.49472953e+00 3.11797019e+00 17 -1.51555316e+00 -9.33850873e-01 -1.88373245e+00 18 4.11037087e-01 2.84589838e+00 -3.59455507e+00 19 1.81292196e+00 -2.80662517e+00 2.31674349e+00 20 -1.02312697e+00 1.99371926e+00 1.33424422e+00 21 -3.48370078e+00 -1.08704329e+00 1.04936915e+00 22 2.67842301e+00 5.08827810e+00 4.77543496e+00 23 4.53820220e-01 3.68374364e-01 7.78035004e-01 24 8.54589319e-01 -5.47761071e-01 1.17974608e+00 25 -1.92290253e+00 -2.78580857e+00 -2.07228703e+00 26 -1.31633124e+00 3.54757008e+00 -2.68216953e+00 27 2.76819122e+00 -6.73170603e+00 2.85300034e+00 28 -4.66423145e+00 4.87504964e+00 1.22667492e+00 29 -1.90944984e+00 -1.65665723e+00 1.10095708e+00 30 5.10668175e-01 2.03695422e+00 3.64016172e-01 31 3.11621170e+00 -1.80349794e+00 1.70393969e+00 32 1.71320860e+00 2.58767145e+00 2.18134227e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==95128== Memcheck, a memory error detector ==95128== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==95128== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==95128== Command: python runner2.py EAM_QuinticClampedSpline_ErcolessiAdams_1994_Al__MO_450093727396_002 ==95128== ==95128== Conditional jump or move depends on uninitialised value(s) ==95128== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==95128== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==95128== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95128== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95128== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95128== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95128== by 0x551B80: ??? (in /usr/bin/python3.6) ==95128== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95128== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95128== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95128== by 0x509D47: ??? (in /usr/bin/python3.6) ==95128== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95128== ==95128== Conditional jump or move depends on uninitialised value(s) ==95128== at 0x4E63408: internal_utf8_loop (loop.c:298) ==95128== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==95128== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95128== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95128== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95128== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95128== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95128== by 0x551B80: ??? (in /usr/bin/python3.6) ==95128== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95128== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95128== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95128== by 0x509D47: ??? (in /usr/bin/python3.6) ==95128== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95128== ==95128== Conditional jump or move depends on uninitialised value(s) ==95128== at 0x4E63411: internal_utf8_loop (loop.c:303) ==95128== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==95128== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95128== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95128== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95128== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95128== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95128== by 0x551B80: ??? (in /usr/bin/python3.6) ==95128== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95128== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95128== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95128== by 0x509D47: ??? (in /usr/bin/python3.6) ==95128== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95128== ==95128== Conditional jump or move depends on uninitialised value(s) ==95128== at 0x4E63458: internal_utf8_loop (loop.c:298) ==95128== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==95128== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95128== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95128== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95128== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95128== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95128== by 0x551B80: ??? (in /usr/bin/python3.6) ==95128== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95128== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95128== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95128== by 0x509D47: ??? (in /usr/bin/python3.6) ==95128== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95128== ==95128== Conditional jump or move depends on uninitialised value(s) ==95128== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==95128== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==95128== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95128== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95128== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==95128== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==95128== by 0x4F8388: ??? (in /usr/bin/python3.6) ==95128== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==95128== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==95128== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==95128== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==95128== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95128== ==95128== ==95128== HEAP SUMMARY: ==95128== in use at exit: 2,860,611 bytes in 1,659 blocks ==95128== total heap usage: 39,436 allocs, 37,777 frees, 70,463,644 bytes allocated ==95128== ==95128== LEAK SUMMARY: ==95128== definitely lost: 95,616 bytes in 12 blocks ==95128== indirectly lost: 0 bytes in 0 blocks ==95128== possibly lost: 146,155 bytes in 87 blocks ==95128== still reachable: 2,618,840 bytes in 1,560 blocks ==95128== suppressed: 0 bytes in 0 blocks ==95128== Rerun with --leak-check=full to see details of leaked memory ==95128== ==95128== For counts of detected and suppressed errors, rerun with: -v ==95128== Use --track-origins=yes to see where uninitialised values come from ==95128== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12375 from 665) ================================================================================ 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" (Search for the word "lost" in the file to identify memory leaks.) Grade: F Comment: Memory leak detected.