!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Magnetic2GQuintic_ChiesaDerletDudarev_2011_Fe__MO_140444321607_002 Supported species : Fe random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Fe (Configuration in file "config-F-Fe.xyz") ----------------------------------------------------------------------------------------------------- Energy = -299.30518038914215 Forces: 1 -9.67852953e+00 -7.43744591e+00 -1.30505762e+01 2 -9.76437955e+00 1.81581709e+01 -8.26442813e+00 3 3.30537329e+00 -6.94362672e+00 1.41491719e+01 4 -5.83408783e+00 7.02350664e+00 7.41692116e+00 5 1.64853416e+01 -1.82602121e+01 -4.84235054e+00 6 6.18112404e+00 6.94072637e-01 -8.43026568e+00 7 5.92878222e+00 -2.78932327e+01 -2.70436387e+01 8 -1.81280541e+01 -1.77978113e+01 7.65876934e+00 9 -6.82108762e+00 -9.19260470e+00 -1.40272161e+01 10 -6.48347343e+00 1.50412926e+01 -1.84610864e+01 11 -8.37128512e+00 -1.31240369e+01 6.10356835e+00 12 -7.90302172e+00 1.09542744e+01 6.89902129e+00 13 -1.14983892e+01 -1.06353505e+01 -5.01563446e+01 14 7.83636584e+00 1.07376501e+01 -6.77653182e+00 15 4.36123674e+01 -7.60926272e+00 1.15872576e+01 16 5.56161937e+00 3.63836080e+01 1.60043814e+01 17 -1.20970725e+01 -7.82971230e+00 -9.45509878e+00 18 8.32503915e+00 1.32715666e+01 -1.29412390e+01 19 9.40788589e+00 -1.54936017e+01 1.27549532e+01 20 -8.19813278e+00 8.78150300e+00 9.82563299e+00 21 -1.87838676e+01 -7.34467173e+00 1.85608963e+00 22 1.59422433e+01 2.34469011e+01 2.00924219e+01 23 7.19173802e+00 -7.23813018e-01 1.12407971e+01 24 -1.73636192e-01 -3.16705808e+00 4.10755899e+00 25 -1.23668303e+01 -8.74665098e+00 -4.50093295e+00 26 -6.42219197e+00 1.99247749e+01 -1.00871732e+01 27 1.23994756e+01 -3.25244202e+01 1.49449214e+01 28 -2.59956194e+01 2.40155470e+01 6.15372424e+00 29 -8.40294083e+00 -1.58689682e+01 7.33831204e+00 30 7.76429756e+00 1.42817077e+01 4.94438380e+00 31 1.76312622e+01 -6.80427552e+00 1.07895980e+01 32 9.34968422e+00 1.46821796e+01 1.41693978e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Fe (Configuration in file "config-T-Fe.xyz") ----------------------------------------------------------------------------------------------------- Energy = -299.30518038914215 Forces: 1 -9.67852953e+00 -7.43744591e+00 -1.30505762e+01 2 -9.76437955e+00 1.81581709e+01 -8.26442813e+00 3 3.30537329e+00 -6.94362672e+00 1.41491719e+01 4 -5.83408783e+00 7.02350664e+00 7.41692116e+00 5 1.64853416e+01 -1.82602121e+01 -4.84235054e+00 6 6.18112404e+00 6.94072637e-01 -8.43026568e+00 7 5.92878222e+00 -2.78932327e+01 -2.70436387e+01 8 -1.81280541e+01 -1.77978113e+01 7.65876934e+00 9 -6.82108762e+00 -9.19260470e+00 -1.40272161e+01 10 -6.48347343e+00 1.50412926e+01 -1.84610864e+01 11 -8.37128512e+00 -1.31240369e+01 6.10356835e+00 12 -7.90302172e+00 1.09542744e+01 6.89902129e+00 13 -1.14983892e+01 -1.06353505e+01 -5.01563446e+01 14 7.83636584e+00 1.07376501e+01 -6.77653182e+00 15 4.36123674e+01 -7.60926272e+00 1.15872576e+01 16 5.56161937e+00 3.63836080e+01 1.60043814e+01 17 -1.20970725e+01 -7.82971230e+00 -9.45509878e+00 18 8.32503915e+00 1.32715666e+01 -1.29412390e+01 19 9.40788589e+00 -1.54936017e+01 1.27549532e+01 20 -8.19813278e+00 8.78150300e+00 9.82563299e+00 21 -1.87838676e+01 -7.34467173e+00 1.85608963e+00 22 1.59422433e+01 2.34469011e+01 2.00924219e+01 23 7.19173802e+00 -7.23813018e-01 1.12407971e+01 24 -1.73636192e-01 -3.16705808e+00 4.10755899e+00 25 -1.23668303e+01 -8.74665098e+00 -4.50093295e+00 26 -6.42219197e+00 1.99247749e+01 -1.00871732e+01 27 1.23994756e+01 -3.25244202e+01 1.49449214e+01 28 -2.59956194e+01 2.40155470e+01 6.15372424e+00 29 -8.40294083e+00 -1.58689682e+01 7.33831204e+00 30 7.76429756e+00 1.42817077e+01 4.94438380e+00 31 1.76312622e+01 -6.80427552e+00 1.07895980e+01 32 9.34968422e+00 1.46821796e+01 1.41693978e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==94561== Memcheck, a memory error detector ==94561== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==94561== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==94561== Command: python runner2.py EAM_Magnetic2GQuintic_ChiesaDerletDudarev_2011_Fe__MO_140444321607_002 ==94561== ==94561== Conditional jump or move depends on uninitialised value(s) ==94561== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==94561== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==94561== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94561== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94561== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94561== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94561== by 0x551B80: ??? (in /usr/bin/python3.6) ==94561== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94561== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94561== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94561== by 0x509D47: ??? (in /usr/bin/python3.6) ==94561== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94561== ==94561== Conditional jump or move depends on uninitialised value(s) ==94561== at 0x4E63408: internal_utf8_loop (loop.c:298) ==94561== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==94561== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==94561== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94561== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94561== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94561== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94561== by 0x551B80: ??? (in /usr/bin/python3.6) ==94561== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94561== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94561== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94561== by 0x509D47: ??? (in /usr/bin/python3.6) ==94561== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94561== ==94561== Conditional jump or move depends on uninitialised value(s) ==94561== at 0x4E63411: internal_utf8_loop (loop.c:303) ==94561== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==94561== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==94561== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94561== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94561== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94561== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94561== by 0x551B80: ??? (in /usr/bin/python3.6) ==94561== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94561== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94561== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94561== by 0x509D47: ??? (in /usr/bin/python3.6) ==94561== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94561== ==94561== Conditional jump or move depends on uninitialised value(s) ==94561== at 0x4E63458: internal_utf8_loop (loop.c:298) ==94561== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==94561== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==94561== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94561== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94561== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==94561== by 0x5BA640: ??? (in /usr/bin/python3.6) ==94561== by 0x551B80: ??? (in /usr/bin/python3.6) ==94561== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==94561== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==94561== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94561== by 0x509D47: ??? (in /usr/bin/python3.6) ==94561== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==94561== ==94561== Conditional jump or move depends on uninitialised value(s) ==94561== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==94561== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==94561== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==94561== by 0x547A3F: ??? (in /usr/bin/python3.6) ==94561== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==94561== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==94561== by 0x4F8388: ??? (in /usr/bin/python3.6) ==94561== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==94561== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==94561== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==94561== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==94561== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==94561== Potential info: proved magnetic potential with 5th order knot functions Potential info: proved magnetic potential with 5th order knot functions Potential info: proved magnetic potential with 5th order knot functions Potential info: proved magnetic potential with 5th order knot functions ==94561== ==94561== HEAP SUMMARY: ==94561== in use at exit: 2,764,995 bytes in 1,647 blocks ==94561== total heap usage: 36,436 allocs, 34,789 frees, 61,322,803 bytes allocated ==94561== ==94561== LEAK SUMMARY: ==94561== definitely lost: 0 bytes in 0 blocks ==94561== indirectly lost: 0 bytes in 0 blocks ==94561== possibly lost: 146,155 bytes in 87 blocks ==94561== still reachable: 2,618,840 bytes in 1,560 blocks ==94561== suppressed: 0 bytes in 0 blocks ==94561== Rerun with --leak-check=full to see details of leaked memory ==94561== ==94561== For counts of detected and suppressed errors, rerun with: -v ==94561== Use --track-origins=yes to see where uninitialised values come from ==94561== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11189 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" Grade: P Comment: No memory leak detected.