!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 ----------------------------------------------------------------------------------------------------- Results for KIM Model : Sim_LAMMPS_Polymorphic_NordAlbeErhart_2003_GaN__SM_333071728528_000 Supported species : Ga N random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ga (Configuration in file "config-F-Ga.xyz") ----------------------------------------------------------------------------------------------------- Energy = 48.35004800220031 Forces: 1 -4.98417147e+00 -4.97139117e+00 -6.93808990e+00 2 -5.28923388e+00 5.91344769e+00 -8.33585582e+00 3 -1.44634734e+00 -7.60493256e+00 4.15817414e+00 4 -7.08692449e+00 1.02769767e-01 2.63295122e+00 5 8.53768184e+00 -8.24660986e+00 -5.04831295e+00 6 5.53516802e+00 6.10225732e-02 -7.25496674e+00 7 4.54933095e+00 -1.87715600e+01 -1.24552703e+01 8 -8.33376172e+00 -1.07874432e+01 -1.39572570e+01 9 -1.14305079e+01 -3.41965935e+00 -1.38604961e+01 10 -5.26243695e+00 1.25396584e+01 -1.31950278e+01 11 -1.07317649e+01 -9.44473286e+00 5.65825410e+00 12 -1.19789614e+01 1.10926760e+01 2.40448872e+00 13 8.74872552e+00 -6.93751124e+00 -2.13098552e+01 14 6.95503323e+00 5.12185979e+00 -4.07179900e+00 15 2.35781389e+01 3.18046801e+00 -5.61061115e+00 16 7.71748606e+00 2.02016730e+01 6.42772799e+00 17 -9.36649786e+00 -6.93845094e+00 -3.98200761e+00 18 4.29239634e+00 4.52291242e+00 -4.22449380e+00 19 3.16915012e+00 -9.86589729e+00 8.49062267e+00 20 -5.50789623e+00 4.77660852e+00 6.76583806e+00 21 -5.60882844e+00 -9.32628582e+00 5.74168966e+00 22 1.55921446e+01 7.65636138e+00 8.76411132e+00 23 2.30927997e+00 -8.15075332e-01 8.00084446e+00 24 9.36883173e-01 -3.40471214e+00 1.25380772e+01 25 -1.49349729e+01 -1.44901283e+00 2.96732549e+00 26 -7.94750057e+00 1.35018304e+01 -2.40926244e+00 27 -7.76290928e+00 -1.16843004e+01 1.03647981e+01 28 -7.56213967e+00 5.53243315e+00 3.65843296e+00 29 2.07275438e+00 -1.49937618e+00 8.61647669e+00 30 1.00128783e+01 8.26102603e+00 2.62370509e-01 31 1.28376035e+01 -2.88246935e+00 1.59193818e+01 32 8.39020008e+00 1.55846734e+01 9.28174068e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ga (Configuration in file "config-T-Ga.xyz") ----------------------------------------------------------------------------------------------------- Energy = 48.35004800220031 Forces: 1 -4.98417147e+00 -4.97139117e+00 -6.93808990e+00 2 -5.28923388e+00 5.91344769e+00 -8.33585582e+00 3 -1.44634734e+00 -7.60493256e+00 4.15817414e+00 4 -7.08692449e+00 1.02769767e-01 2.63295122e+00 5 8.53768184e+00 -8.24660986e+00 -5.04831295e+00 6 5.53516802e+00 6.10225732e-02 -7.25496674e+00 7 4.54933095e+00 -1.87715600e+01 -1.24552703e+01 8 -8.33376172e+00 -1.07874432e+01 -1.39572570e+01 9 -1.14305079e+01 -3.41965935e+00 -1.38604961e+01 10 -5.26243695e+00 1.25396584e+01 -1.31950278e+01 11 -1.07317649e+01 -9.44473286e+00 5.65825410e+00 12 -1.19789614e+01 1.10926760e+01 2.40448872e+00 13 8.74872552e+00 -6.93751124e+00 -2.13098552e+01 14 6.95503323e+00 5.12185979e+00 -4.07179900e+00 15 2.35781389e+01 3.18046801e+00 -5.61061115e+00 16 7.71748606e+00 2.02016730e+01 6.42772799e+00 17 -9.36649786e+00 -6.93845094e+00 -3.98200761e+00 18 4.29239634e+00 4.52291242e+00 -4.22449380e+00 19 3.16915012e+00 -9.86589729e+00 8.49062267e+00 20 -5.50789623e+00 4.77660852e+00 6.76583806e+00 21 -5.60882844e+00 -9.32628582e+00 5.74168966e+00 22 1.55921446e+01 7.65636138e+00 8.76411132e+00 23 2.30927997e+00 -8.15075332e-01 8.00084446e+00 24 9.36883173e-01 -3.40471214e+00 1.25380772e+01 25 -1.49349729e+01 -1.44901283e+00 2.96732549e+00 26 -7.94750057e+00 1.35018304e+01 -2.40926244e+00 27 -7.76290928e+00 -1.16843004e+01 1.03647981e+01 28 -7.56213967e+00 5.53243315e+00 3.65843296e+00 29 2.07275438e+00 -1.49937618e+00 8.61647669e+00 30 1.00128783e+01 8.26102603e+00 2.62370509e-01 31 1.28376035e+01 -2.88246935e+00 1.59193818e+01 32 8.39020008e+00 1.55846734e+01 9.28174068e+00 MONOATOMIC STRUCTURE (pbc=False)-- Species = N (Configuration in file "config-F-N.xyz") ----------------------------------------------------------------------------------------------------- Energy = -47.12564791890485 Forces: 1 1.09439591e+00 1.85662667e+00 1.18074687e+00 2 -5.82517408e-01 1.01352597e-01 -3.64469677e+00 3 -1.03218731e-01 -2.95193339e-01 -1.69867280e+00 4 -3.30165587e+00 -3.37430554e+00 1.32168086e+00 5 1.94248827e+00 3.04150518e+00 8.90516345e-01 6 -6.08657895e+00 -3.07695666e+00 -1.47761579e+00 7 -3.08833130e+00 1.88098378e+00 1.43524212e+00 8 3.10900669e+00 -3.01507651e+00 -3.61371527e-01 9 -4.35000202e-02 1.53014631e-01 -9.56428179e-01 10 1.50443220e-02 1.63306739e+00 8.16272138e-01 11 3.97159537e+00 -3.20585806e+00 -5.80837206e-01 12 -3.13154609e+00 3.06355028e+00 1.26530595e+00 13 6.08274888e+00 -1.21185057e+00 -1.08219561e+00 14 -3.36272453e+00 -2.75668294e+00 2.69065869e+00 15 1.16700561e+00 2.69233415e+00 1.71087146e-01 16 6.09897643e-01 4.68209684e-01 -1.99778110e+00 17 5.23984485e-01 -1.89964493e+00 -1.02060216e+00 18 -2.58416881e+00 -1.50747674e-01 8.62840143e-01 19 -1.51882334e+00 -9.29948494e-01 -1.67490277e-01 20 -1.00430098e-01 2.13539626e+00 3.19840038e-01 21 4.25349669e+00 -4.24316206e+00 -2.05227181e+00 22 3.10433437e+00 1.69052823e+00 -1.38384584e-01 23 -2.67786052e+00 1.29651329e+00 -1.47842665e+00 24 3.96988326e+00 6.18990475e-01 4.94480284e+00 25 -3.20355436e+00 1.93782095e+00 1.98739003e+00 26 1.17939396e+00 2.89913067e+00 -3.21586416e+00 27 -3.75625313e-01 6.76671321e-01 3.26001440e+00 28 -2.72907329e-01 -1.89170650e+00 -6.59213475e-01 29 3.72185182e+00 5.17266780e+00 3.06654742e+00 30 -4.20094903e-01 -1.45013733e+00 -2.50642689e+00 31 -1.43459146e+00 -1.53031833e+00 -1.92125983e+00 32 -2.45699824e+00 -2.28677445e+00 7.46593824e-01 MONOATOMIC STRUCTURE (pbc=True)-- Species = N (Configuration in file "config-T-N.xyz") ----------------------------------------------------------------------------------------------------- Energy = -47.12564791890485 Forces: 1 1.09439591e+00 1.85662667e+00 1.18074687e+00 2 -5.82517408e-01 1.01352597e-01 -3.64469677e+00 3 -1.03218731e-01 -2.95193339e-01 -1.69867280e+00 4 -3.30165587e+00 -3.37430554e+00 1.32168086e+00 5 1.94248827e+00 3.04150518e+00 8.90516345e-01 6 -6.08657895e+00 -3.07695666e+00 -1.47761579e+00 7 -3.08833130e+00 1.88098378e+00 1.43524212e+00 8 3.10900669e+00 -3.01507651e+00 -3.61371527e-01 9 -4.35000202e-02 1.53014631e-01 -9.56428179e-01 10 1.50443220e-02 1.63306739e+00 8.16272138e-01 11 3.97159537e+00 -3.20585806e+00 -5.80837206e-01 12 -3.13154609e+00 3.06355028e+00 1.26530595e+00 13 6.08274888e+00 -1.21185057e+00 -1.08219561e+00 14 -3.36272453e+00 -2.75668294e+00 2.69065869e+00 15 1.16700561e+00 2.69233415e+00 1.71087146e-01 16 6.09897643e-01 4.68209684e-01 -1.99778110e+00 17 5.23984485e-01 -1.89964493e+00 -1.02060216e+00 18 -2.58416881e+00 -1.50747674e-01 8.62840143e-01 19 -1.51882334e+00 -9.29948494e-01 -1.67490277e-01 20 -1.00430098e-01 2.13539626e+00 3.19840038e-01 21 4.25349669e+00 -4.24316206e+00 -2.05227181e+00 22 3.10433437e+00 1.69052823e+00 -1.38384584e-01 23 -2.67786052e+00 1.29651329e+00 -1.47842665e+00 24 3.96988326e+00 6.18990475e-01 4.94480284e+00 25 -3.20355436e+00 1.93782095e+00 1.98739003e+00 26 1.17939396e+00 2.89913067e+00 -3.21586416e+00 27 -3.75625313e-01 6.76671321e-01 3.26001440e+00 28 -2.72907329e-01 -1.89170650e+00 -6.59213475e-01 29 3.72185182e+00 5.17266780e+00 3.06654742e+00 30 -4.20094903e-01 -1.45013733e+00 -2.50642689e+00 31 -1.43459146e+00 -1.53031833e+00 -1.92125983e+00 32 -2.45699824e+00 -2.28677445e+00 7.46593824e-01 MIXED STRUCTURE (pbc=False)-- Species = Ga N (Configuration in file "config-F-GaN.xyz") ----------------------------------------------------------------------------------------------------- Energy = 246.18211606331536 Forces: 1 -1.87563008e+01 -1.85646481e+01 -2.13836064e+01 2 -2.23638087e+01 2.44465401e+01 -5.48401203e+01 3 -3.84326369e+00 -5.42739004e+01 3.79016850e+01 4 -7.30173348e+01 3.63483426e+01 -3.12273170e+01 5 2.58725011e+01 -2.32121731e+01 -3.17896880e+01 6 1.60164551e+01 -1.02667327e+00 -6.17061636e+00 7 7.18845375e-01 -2.86695550e+00 -5.18721692e+00 8 9.27225902e+01 7.93527605e+00 -2.40738096e+01 9 -1.95547494e+01 -1.29858062e+01 -1.73759739e+01 10 2.27580287e+00 1.66525894e+01 -1.29219300e+01 11 -7.98092264e+00 -2.11413905e+01 -3.65756704e+01 12 -2.92945745e+01 3.65537355e+01 1.30676428e+01 13 1.81820779e+01 1.46119420e+01 -2.08611211e+01 14 1.75934080e+01 4.42389418e+01 -6.92248762e+01 15 2.74541975e+01 -4.42040935e+01 3.08684738e+01 16 -1.28250162e+01 1.91424769e+01 1.46675147e+01 17 -1.86196389e+01 -5.52607038e+01 7.06212144e-01 18 -2.52108027e+01 -2.24631533e+01 3.21883737e+01 19 -2.82459654e+00 -3.50001722e+01 4.18228366e+01 20 -2.17097887e+01 2.16266168e+01 4.42028578e+01 21 -5.37771887e+00 -6.13282898e+01 -5.88250161e+01 22 2.62161234e+01 9.02977170e+00 -8.08658038e+00 23 1.13471274e+01 -1.05108084e+01 1.44701553e+01 24 2.72316770e+01 4.38644891e+01 6.97812143e+01 25 -3.69331095e+01 2.93056129e+00 -5.96182866e+00 26 -1.12194223e+00 4.40030259e+01 2.34841888e+01 27 1.77292421e+01 -4.00130123e+01 3.17428659e+01 28 -3.36834125e+01 4.07675502e+01 5.58521352e+00 29 2.25475164e+01 7.82079015e+00 2.15575868e+01 30 9.78211616e+00 1.61355678e+01 1.25223128e+01 31 4.23671910e+00 -1.79078534e+00 9.58289700e+00 32 1.31905810e+01 1.85343487e+01 3.53340229e-01 MIXED STRUCTURE (pbc=True)-- Species = Ga N (Configuration in file "config-T-GaN.xyz") ----------------------------------------------------------------------------------------------------- Energy = 481.48206219044397 Forces: 1 -2.97619321e+01 6.24623449e+00 -4.22366285e+01 2 -1.66267198e+01 3.87053600e+01 -4.12212974e+01 3 1.71273645e+00 -1.89891703e+01 5.41742033e+01 4 -6.18686775e+01 5.21766179e+01 -2.50979998e+01 5 2.44225721e+01 -8.14645938e+00 -1.53433516e+01 6 3.79078903e+00 1.78902758e+01 -2.53840144e+00 7 -1.77227986e+01 -1.33914115e+01 5.31920983e-01 8 9.01124554e+01 1.17679647e+01 -2.22424176e+01 9 -8.90898158e+00 -3.12216789e+01 4.54028709e+01 10 1.07077438e+01 -3.08976085e+01 -2.36980600e+01 11 -1.28008203e+01 -1.37125113e+01 -3.60983923e+01 12 -1.19009049e+01 2.60995951e+01 1.43098748e+01 13 2.48678383e+01 1.45779337e+01 -5.95090587e+00 14 5.62934415e+01 1.60869154e+01 -3.74226621e+01 15 6.72528220e+00 -4.15360107e+01 2.72731111e+00 16 -2.30592204e+01 -5.83310690e+00 3.52149736e+01 17 2.65376851e+00 -5.39167773e+01 1.79894257e+01 18 -2.51309189e+01 -2.04055025e+01 3.31257280e+01 19 -6.37905457e+00 -2.54493598e+01 2.98485895e+01 20 -1.47932001e+01 2.21889249e+01 2.42221448e+01 21 -5.29971449e+00 -5.14361142e+01 -7.16204182e+01 22 1.12152784e+01 2.49441817e+01 -7.57044505e+00 23 -3.68067886e+00 -1.74071039e+01 1.51401316e+01 24 2.96921165e+01 5.10390224e+01 6.22523999e+01 25 -2.03695166e+01 -9.87110847e-01 -1.86816694e+01 26 -9.08331059e-02 2.11730684e+01 2.24104577e+01 27 3.03328301e+01 -5.25675050e+01 1.88003262e+01 28 -3.03675027e+01 8.52269090e+01 -3.32002730e+01 29 1.94898674e+01 -1.71969721e+00 2.15891456e+01 30 -1.46019546e+00 4.33090830e+00 1.52667092e+01 31 -2.19225456e+01 -1.05060377e+01 9.39958574e+00 32 1.27495821e-01 5.66925411e+00 -3.94828764e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==73496== Memcheck, a memory error detector ==73496== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==73496== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==73496== Command: python runner2.py Sim_LAMMPS_Polymorphic_NordAlbeErhart_2003_GaN__SM_333071728528_000 ==73496== ==73496== Conditional jump or move depends on uninitialised value(s) ==73496== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==73496== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==73496== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==73496== by 0x54744F: ??? (in /usr/bin/python3.6) ==73496== by 0x6332BD: _Py_stat (in /usr/bin/python3.6) ==73496== by 0x5BA510: ??? (in /usr/bin/python3.6) ==73496== by 0x551760: ??? (in /usr/bin/python3.6) ==73496== by 0x5AA69B: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==73496== by 0x50AB52: ??? (in /usr/bin/python3.6) ==73496== by 0x50C548: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==73496== by 0x509CE7: ??? (in /usr/bin/python3.6) ==73496== by 0x50AA1C: ??? (in /usr/bin/python3.6) ==73496== ==73496== Conditional jump or move depends on uninitialised value(s) ==73496== at 0x4E63408: internal_utf8_loop (loop.c:298) ==73496== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==73496== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==73496== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==73496== by 0x54744F: ??? (in /usr/bin/python3.6) ==73496== by 0x6332BD: _Py_stat (in /usr/bin/python3.6) ==73496== by 0x5BA510: ??? (in /usr/bin/python3.6) ==73496== by 0x551760: ??? (in /usr/bin/python3.6) ==73496== by 0x5AA69B: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==73496== by 0x50AB52: ??? (in /usr/bin/python3.6) ==73496== by 0x50C548: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==73496== by 0x509CE7: ??? (in /usr/bin/python3.6) ==73496== by 0x50AA1C: ??? (in /usr/bin/python3.6) ==73496== ==73496== Conditional jump or move depends on uninitialised value(s) ==73496== at 0x4E63411: internal_utf8_loop (loop.c:303) ==73496== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==73496== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==73496== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==73496== by 0x54744F: ??? (in /usr/bin/python3.6) ==73496== by 0x6332BD: _Py_stat (in /usr/bin/python3.6) ==73496== by 0x5BA510: ??? (in /usr/bin/python3.6) ==73496== by 0x551760: ??? (in /usr/bin/python3.6) ==73496== by 0x5AA69B: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==73496== by 0x50AB52: ??? (in /usr/bin/python3.6) ==73496== by 0x50C548: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==73496== by 0x509CE7: ??? (in /usr/bin/python3.6) ==73496== by 0x50AA1C: ??? (in /usr/bin/python3.6) ==73496== ==73496== Conditional jump or move depends on uninitialised value(s) ==73496== at 0x4E63458: internal_utf8_loop (loop.c:298) ==73496== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==73496== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==73496== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==73496== by 0x54744F: ??? (in /usr/bin/python3.6) ==73496== by 0x6332BD: _Py_stat (in /usr/bin/python3.6) ==73496== by 0x5BA510: ??? (in /usr/bin/python3.6) ==73496== by 0x551760: ??? (in /usr/bin/python3.6) ==73496== by 0x5AA69B: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==73496== by 0x50AB52: ??? (in /usr/bin/python3.6) ==73496== by 0x50C548: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==73496== by 0x509CE7: ??? (in /usr/bin/python3.6) ==73496== by 0x50AA1C: ??? (in /usr/bin/python3.6) ==73496== ==73496== Conditional jump or move depends on uninitialised value(s) ==73496== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==73496== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==73496== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==73496== by 0x54744F: ??? (in /usr/bin/python3.6) ==73496== by 0x547730: PyUnicode_FSConverter (in /usr/bin/python3.6) ==73496== by 0x4C4EC6: ??? (in /usr/bin/python3.6) ==73496== by 0x4F81E8: ??? (in /usr/bin/python3.6) ==73496== by 0x4FBC03: ??? (in /usr/bin/python3.6) ==73496== by 0x4FC794: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==73496== by 0x4C65C8: ??? (in /usr/bin/python3.6) ==73496== by 0x50A979: ??? (in /usr/bin/python3.6) ==73496== by 0x50C548: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==73496== ==73496== ==73496== HEAP SUMMARY: ==73496== in use at exit: 11,857,555 bytes in 2,511 blocks ==73496== total heap usage: 53,396 allocs, 50,885 frees, 88,795,409 bytes allocated ==73496== ==73496== LEAK SUMMARY: ==73496== definitely lost: 8,280 bytes in 69 blocks ==73496== indirectly lost: 8,656,000 bytes in 541 blocks ==73496== possibly lost: 325,057 bytes in 105 blocks ==73496== still reachable: 2,868,218 bytes in 1,796 blocks ==73496== suppressed: 0 bytes in 0 blocks ==73496== Rerun with --leak-check=full to see details of leaked memory ==73496== ==73496== For counts of detected and suppressed errors, rerun with: -v ==73496== Use --track-origins=yes to see where uninitialised values come from ==73496== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 16384 from 637) ================================================================================ 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.