Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008548/0.0008551, allocations: 88.86 kB / 17.59 MB, free: 6.344 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.0008191/0.000819, allocations: 185.1 kB / 18.48 MB, free: 5.504 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.752/1.752, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004301/0.0004302, allocations: 12.62 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 47.59 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005998/0.1111, allocations: 5.57 MB / 334.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.1153, allocations: 2.319 MB / 336.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.1157, allocations: 20 kB / 336.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000606/0.1163, allocations: 270.5 kB / 337.2 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.1176, allocations: 0.5831 MB / 337.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1192, allocations: 0.8921 MB / 338.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1203, allocations: 1.004 MB / 339.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.1221, allocations: 1.191 MB / 340.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.1226, allocations: 366.5 kB / 341.2 MB, free: 7.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.1232, allocations: 477.9 kB / 341.7 MB, free: 7.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.1233, allocations: 48 kB / 341.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006758/0.124, allocations: 343.7 kB / 342 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.1242, allocations: 175.2 kB / 342.2 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1244, allocations: 209.1 kB / 342.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.1255, allocations: 1.11 MB / 343.5 MB, free: 5.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1256, allocations: 7.938 kB / 343.5 MB, free: 5.426 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1256, allocations: 0 / 343.5 MB, free: 5.426 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1256, allocations: 0 / 343.5 MB, free: 5.426 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.003816/0.1294, allocations: 1.476 MB / 345 MB, free: 3.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1295, allocations: 11.97 kB / 345 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.133, allocations: 0.5802 MB / 345.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006715/0.1337, allocations: 489.3 kB / 346.1 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/0.1338, allocations: 90.3 kB / 346.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.134, allocations: 116 kB / 346.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.1358, allocations: 1.003 MB / 347.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1358, allocations: 3.906 kB / 347.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.541e-05/0.1359, allocations: 44 kB / 347.3 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.136, allocations: 28 kB / 347.4 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.1378, allocations: 1.036 MB / 348.4 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005593/0.1434, allocations: 3.885 MB / 352.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.1456, allocations: 2.052 MB / 354.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.1463, allocations: 440 kB / 354.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.1464, allocations: 102.1 kB / 354.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008155/0.1472, allocations: 486.5 kB / 355.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 3.536e-06/0.1473, allocations: 0 / 355.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.008295/0.1556, allocations: 4.061 MB / 359.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1557, allocations: 149.5 kB / 359.5 MB, free: 4.594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.1562, allocations: 401.8 kB / 359.9 MB, free: 4.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.1562, allocations: 53.69 kB / 360 MB, free: 4.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.1566, allocations: 431.5 kB / 360.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.1569, allocations: 433.7 kB / 360.8 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.1569, allocations: 24 kB / 360.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1571, allocations: 390.7 kB / 361.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/0.1578, allocations: 358.5 kB / 361.6 MB, free: 2.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.1587, allocations: 0.5759 MB / 362.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.1595, allocations: 454.7 kB / 362.6 MB, free: 1.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1595, allocations: 0 / 362.6 MB, free: 1.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002412/0.1619, allocations: 1.429 MB / 364 MB, free: 15.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1619, allocations: 11.94 kB / 364 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.162, allocations: 8 kB / 364.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008137/0.1628, allocations: 359.1 kB / 364.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.1636, allocations: 215.7 kB / 364.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/0.1708, allocations: 7.728 MB / 372.3 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.1715, allocations: 59.97 kB / 372.4 MB, free: 7.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/0.1716, allocations: 48 kB / 372.5 MB, free: 7 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005061/0.1721, allocations: 261.6 kB / 372.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1722, allocations: 75.11 kB / 372.8 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.1747, allocations: 1.329 MB / 374.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1747, allocations: 12 kB / 374.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1747, allocations: 4 kB / 374.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.1747, allocations: 11.97 kB / 374.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.1786, allocations: 2.565 MB / 376.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1787, allocations: 0 / 376.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.1793, allocations: 164.1 kB / 376.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007944/0.1801, allocations: 319.2 kB / 377.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.1802, allocations: 24 kB / 377.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2626/0.4428, allocations: 7.418 MB / 384.6 MB, free: 46.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.4429, allocations: 9.094 kB / 384.6 MB, free: 46.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.4465, allocations: 1.828 MB / 386.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.4469, allocations: 227.3 kB / 386.7 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.447, allocations: 28.95 kB / 386.7 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.4475, allocations: 38.97 kB / 386.7 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.4477, allocations: 100.9 kB / 386.8 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.388e-05/0.4478, allocations: 34.88 kB / 386.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004238/0.4482, allocations: 276.1 kB / 387.1 MB, free: 45.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4483, allocations: 0 / 387.1 MB, free: 45.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001832/0.4501, allocations: 321.6 kB / 387.5 MB, free: 45.62 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004079/0.4505, allocations: 164.9 kB / 387.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00342/0.4539, allocations: 1.65 MB / 389.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.454, allocations: 1.25 kB / 389.3 MB, free: 44.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4559, allocations: 1.15 MB / 390.4 MB, free: 43.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.4566, allocations: 77.84 kB / 390.5 MB, free: 43.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.4616, allocations: 2.483 MB / 393 MB, free: 42.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009413/0.4625, allocations: 1.027 MB / 394 MB, free: 41.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.4628, allocations: 66.64 kB / 394.1 MB, free: 41.75 MB / 318.1 MB Notification: Performance of SimCode: time 2.053e-06/0.4628, allocations: 2.156 kB / 394.1 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Templates: time 0.02863/0.4915, allocations: 26.66 MB / 420.7 MB, free: 21.91 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.LinearInductorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductorCalcHelperMain.o] Error 1