Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008605, allocations: 97.42 kB / 17.58 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008648/0.0008649, allocations: 181.1 kB / 18.48 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 224.6 MB, free: 12.91 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004832, allocations: 8 kB / 281.4 MB, free: 3.68 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 47.59 MB / 329 MB, free: 4.02 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003142/0.1174, allocations: 2.253 MB / 331.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1196, allocations: 1.088 MB / 332.3 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.1199, allocations: 8 kB / 332.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1204, allocations: 91.52 kB / 332.4 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.1209, allocations: 107.4 kB / 332.5 MB, free: 464 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1222, allocations: 0.5452 MB / 333.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.1228, allocations: 262.7 kB / 333.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009841/0.1238, allocations: 0.5376 MB / 333.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1239, allocations: 95.64 kB / 334 MB, free: 15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1241, allocations: 143.4 kB / 334.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.1242, allocations: 16 kB / 334.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.1246, allocations: 155.8 kB / 334.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1246, allocations: 47.77 kB / 334.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1247, allocations: 77.58 kB / 334.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1251, allocations: 363.3 kB / 334.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1251, allocations: 4 kB / 334.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1251, allocations: 0 / 334.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1252, allocations: 3.938 kB / 334.8 MB, free: 14.2 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00147/0.1266, allocations: 0.6746 MB / 335.4 MB, free: 13.47 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1267, allocations: 8.031 kB / 335.5 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.1274, allocations: 119.5 kB / 335.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1277, allocations: 251.2 kB / 335.8 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.1278, allocations: 36.59 kB / 335.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.1278, allocations: 32 kB / 335.9 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.1284, allocations: 333 kB / 336.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1284, allocations: 3.984 kB / 336.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1284, allocations: 16 kB / 336.2 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1285, allocations: 8 kB / 336.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.1289, allocations: 234.5 kB / 336.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.1308, allocations: 1.443 MB / 337.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.1316, allocations: 0.701 MB / 338.6 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.1318, allocations: 109.1 kB / 338.7 MB, free: 9.887 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.1319, allocations: 89.09 kB / 338.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1319, allocations: 38.5 kB / 338.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 3.587e-06/0.1319, allocations: 0 / 338.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001166/0.1331, allocations: 0.4954 MB / 339.3 MB, free: 9.211 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1332, allocations: 51.41 kB / 339.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1333, allocations: 175.3 kB / 339.6 MB, free: 8.965 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1334, allocations: 29.7 kB / 339.6 MB, free: 8.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1335, allocations: 176 kB / 339.8 MB, free: 8.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.1335, allocations: 82.8 kB / 339.8 MB, free: 8.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.1336, allocations: 8 kB / 339.8 MB, free: 8.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1337, allocations: 326.8 kB / 340.2 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1338, allocations: 72.53 kB / 340.2 MB, free: 8.262 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.134, allocations: 128.2 kB / 340.4 MB, free: 8.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1341, allocations: 81.17 kB / 340.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.1342, allocations: 4 kB / 340.4 MB, free: 8.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005456/0.1347, allocations: 324.8 kB / 340.8 MB, free: 7.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1347, allocations: 8.219 kB / 340.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1348, allocations: 4 kB / 340.8 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.1351, allocations: 72.75 kB / 340.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1352, allocations: 39.98 kB / 340.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1372, allocations: 1.839 MB / 342.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1373, allocations: 23.91 kB / 342.7 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.1374, allocations: 12 kB / 342.8 MB, free: 5.574 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.1375, allocations: 145.7 kB / 342.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.1376, allocations: 19.77 kB / 342.9 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.1382, allocations: 296.5 kB / 343.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1382, allocations: 8 kB / 343.2 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1382, allocations: 0 / 343.2 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1382, allocations: 4 kB / 343.2 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.1391, allocations: 0.6905 MB / 343.9 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1391, allocations: 0 / 343.9 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1392, allocations: 23.98 kB / 343.9 MB, free: 4.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/0.1394, allocations: 72.75 kB / 344 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1395, allocations: 8 kB / 344 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.1412, allocations: 1.835 MB / 345.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1412, allocations: 0 / 345.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.1418, allocations: 439.8 kB / 346.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.1419, allocations: 116.8 kB / 346.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1419, allocations: 4 kB / 346.4 MB, free: 1.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.142, allocations: 12.12 kB / 346.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.1421, allocations: 23.91 kB / 346.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1421, allocations: 7.984 kB / 346.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1422, allocations: 127.5 kB / 346.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1422, allocations: 0 / 346.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.1427, allocations: 95.69 kB / 346.7 MB, free: 1.422 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.1429, allocations: 119.2 kB / 346.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.1435, allocations: 342.4 kB / 347.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1435, allocations: 448 / 347.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.1439, allocations: 255 kB / 347.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1442, allocations: 15.95 kB / 347.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1452, allocations: 0.735 MB / 348.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1456, allocations: 0.7597 MB / 348.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.1457, allocations: 15.44 kB / 348.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1457, allocations: 0 / 348.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of Templates: time 0.006053/0.1517, allocations: 3.905 MB / 352.8 MB, free: 11.19 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.o] Error 1