!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_MagneticCubic_DerletNguyenDudarev_2007_Mo__MO_424746498193_002 Supported species : Mo random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Mo (Configuration in file "config-F-Mo.xyz") ----------------------------------------------------------------------------------------------------- Energy = 507.6587833710752 Forces: 1 -2.55227589e+01 -3.58620698e+01 -4.05992774e+01 2 -3.02578199e+01 3.99377611e+01 -4.99577495e+01 3 1.68711768e+01 -6.02212860e+01 -8.66331632e+00 4 -4.68184730e+01 2.08274094e+01 9.47510254e-01 5 4.43227045e+01 -7.24900756e+01 -2.70501121e+01 6 1.76336436e+01 1.26494976e+01 -3.13481484e+01 7 4.88992101e+01 -1.13471962e+02 -9.30846113e+01 8 -6.58877384e+01 -5.93531586e+01 -2.91221484e+01 9 -4.89987849e+01 -5.47910268e+01 -9.63226029e+01 10 -2.17414630e+01 1.24797291e+02 -1.03414332e+02 11 -6.35203097e+01 -7.52212915e+01 5.26511640e+01 12 -7.14935019e+01 7.56618507e+01 4.50314008e+01 13 7.89072157e+01 -6.92131306e+01 -1.55663805e+02 14 2.47734901e+01 2.04188394e+01 -2.10966649e+01 15 1.46589741e+02 -2.64970555e+01 -6.81154901e+01 16 3.88201457e+01 1.59699657e+02 3.97368371e+01 17 -8.91923531e+01 -5.62081142e+01 -1.20339334e+01 18 5.36270298e+01 5.89547162e+01 1.48595859e+01 19 2.39007332e+01 -6.14344294e+01 4.68656807e+01 20 -3.63397232e+01 3.56829190e+01 4.62155290e+01 21 -5.83100481e+01 -6.34558306e+01 2.39955299e+01 22 9.96443890e+01 6.70009067e+01 7.80945199e+01 23 3.16290571e+01 -1.84168884e+01 3.70764247e+01 24 -1.54269445e-01 3.28952622e+01 3.16560594e+01 25 -7.84874864e+01 -1.77900844e+01 -8.04232573e-01 26 -3.20109000e+01 1.09389115e+02 -4.14787654e+01 27 2.43053407e+01 -1.24233826e+02 7.22439321e+01 28 -9.53537879e+01 8.19213439e+01 3.84451827e+01 29 -6.41540381e+01 -6.57115809e+01 7.58254186e+01 30 6.22019345e+01 1.02817281e+02 2.69453516e+01 31 7.43858238e+01 -4.31267061e+01 6.62113515e+01 32 4.17318201e+01 7.48446647e+01 8.19537119e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Mo (Configuration in file "config-T-Mo.xyz") ----------------------------------------------------------------------------------------------------- Energy = 507.6587833710752 Forces: 1 -2.55227589e+01 -3.58620698e+01 -4.05992774e+01 2 -3.02578199e+01 3.99377611e+01 -4.99577495e+01 3 1.68711768e+01 -6.02212860e+01 -8.66331632e+00 4 -4.68184730e+01 2.08274094e+01 9.47510254e-01 5 4.43227045e+01 -7.24900756e+01 -2.70501121e+01 6 1.76336436e+01 1.26494976e+01 -3.13481484e+01 7 4.88992101e+01 -1.13471962e+02 -9.30846113e+01 8 -6.58877384e+01 -5.93531586e+01 -2.91221484e+01 9 -4.89987849e+01 -5.47910268e+01 -9.63226029e+01 10 -2.17414630e+01 1.24797291e+02 -1.03414332e+02 11 -6.35203097e+01 -7.52212915e+01 5.26511640e+01 12 -7.14935019e+01 7.56618507e+01 4.50314008e+01 13 7.89072157e+01 -6.92131306e+01 -1.55663805e+02 14 2.47734901e+01 2.04188394e+01 -2.10966649e+01 15 1.46589741e+02 -2.64970555e+01 -6.81154901e+01 16 3.88201457e+01 1.59699657e+02 3.97368371e+01 17 -8.91923531e+01 -5.62081142e+01 -1.20339334e+01 18 5.36270298e+01 5.89547162e+01 1.48595859e+01 19 2.39007332e+01 -6.14344294e+01 4.68656807e+01 20 -3.63397232e+01 3.56829190e+01 4.62155290e+01 21 -5.83100481e+01 -6.34558306e+01 2.39955299e+01 22 9.96443890e+01 6.70009067e+01 7.80945199e+01 23 3.16290571e+01 -1.84168884e+01 3.70764247e+01 24 -1.54269445e-01 3.28952622e+01 3.16560594e+01 25 -7.84874864e+01 -1.77900844e+01 -8.04232573e-01 26 -3.20109000e+01 1.09389115e+02 -4.14787654e+01 27 2.43053407e+01 -1.24233826e+02 7.22439321e+01 28 -9.53537879e+01 8.19213439e+01 3.84451827e+01 29 -6.41540381e+01 -6.57115809e+01 7.58254186e+01 30 6.22019345e+01 1.02817281e+02 2.69453516e+01 31 7.43858238e+01 -4.31267061e+01 6.62113515e+01 32 4.17318201e+01 7.48446647e+01 8.19537119e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==94611== Memcheck, a memory error detector ==94611== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==94611== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==94611== Command: python runner2.py EAM_MagneticCubic_DerletNguyenDudarev_2007_Mo__MO_424746498193_002 ==94611== ==94611== Conditional jump or move depends on uninitialised value(s) ==94611== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==94611== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==94611== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94611== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94611== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94611== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94611== by 0x551B80: ??? (in /usr/bin/python3.6) ==94611== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94611== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94611== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94611== by 0x509D47: ??? (in /usr/bin/python3.6) ==94611== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94611== ==94611== Conditional jump or move depends on uninitialised value(s) ==94611== at 0x4E63408: internal_utf8_loop (loop.c:298) ==94611== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==94611== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==94611== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94611== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94611== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94611== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94611== by 0x551B80: ??? (in /usr/bin/python3.6) ==94611== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94611== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94611== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94611== by 0x509D47: ??? (in /usr/bin/python3.6) ==94611== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94611== ==94611== Conditional jump or move depends on uninitialised value(s) ==94611== at 0x4E63411: internal_utf8_loop (loop.c:303) ==94611== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==94611== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==94611== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94611== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94611== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94611== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94611== by 0x551B80: ??? (in /usr/bin/python3.6) ==94611== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94611== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94611== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94611== by 0x509D47: ??? (in /usr/bin/python3.6) ==94611== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94611== ==94611== Conditional jump or move depends on uninitialised value(s) ==94611== at 0x4E63458: internal_utf8_loop (loop.c:298) ==94611== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==94611== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==94611== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94611== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94611== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94611== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94611== by 0x551B80: ??? (in /usr/bin/python3.6) ==94611== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94611== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94611== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94611== by 0x509D47: ??? (in /usr/bin/python3.6) ==94611== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94611== ==94611== Conditional jump or move depends on uninitialised value(s) ==94611== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==94611== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==94611== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94611== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94611== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==94611== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==94611== by 0x4F8388: ??? (in /usr/bin/python3.6) ==94611== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==94611== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==94611== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==94611== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==94611== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94611== Potential info: Mo potential Atomic number: 42 Potential info: Mo potential Atomic number: 42 Potential info: Mo potential Atomic number: 42 Potential info: Mo potential Atomic number: 42 ==94611== ==94611== HEAP SUMMARY: ==94611== in use at exit: 2,764,995 bytes in 1,647 blocks ==94611== total heap usage: 36,114 allocs, 34,467 frees, 61,266,315 bytes allocated ==94611== ==94611== LEAK SUMMARY: ==94611== definitely lost: 0 bytes in 0 blocks ==94611== indirectly lost: 0 bytes in 0 blocks ==94611== possibly lost: 146,155 bytes in 87 blocks ==94611== still reachable: 2,618,840 bytes in 1,560 blocks ==94611== suppressed: 0 bytes in 0 blocks ==94611== Rerun with --leak-check=full to see details of leaked memory ==94611== ==94611== For counts of detected and suppressed errors, rerun with: -v ==94611== Use --track-origins=yes to see where uninitialised values come from ==94611== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12387 from 658) ================================================================================ 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.