Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9509/0.9509, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.129e-05, allocations: 6.25 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006558/0.006589, allocations: 6.388 MB / 274.4 MB, free: 20 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003999/0.01059, allocations: 2.472 MB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006159/0.0112, allocations: 19.94 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.01304, allocations: 1.337 MB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.0143, allocations: 0.6871 MB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.01568, allocations: 1.07 MB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.0169, allocations: 1.105 MB / 281.1 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.01797, allocations: 0.7661 MB / 281.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000742/0.01871, allocations: 0.647 MB / 282.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.01924, allocations: 430.8 kB / 282.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.01937, allocations: 96 kB / 283 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.02009, allocations: 383.4 kB / 283.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.02024, allocations: 239.1 kB / 283.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.02053, allocations: 367.1 kB / 284 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.02194, allocations: 1.07 MB / 285 MB, free: 5.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02195, allocations: 0 / 285 MB, free: 5.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.02195, allocations: 0 / 285 MB, free: 5.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.02196, allocations: 4 kB / 285 MB, free: 5.301 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002761/0.02473, allocations: 1.807 MB / 286.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.02477, allocations: 16.92 kB / 286.9 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.02664, allocations: 0.6517 MB / 287.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.02727, allocations: 430.5 kB / 287.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.02734, allocations: 82.59 kB / 288 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.02746, allocations: 120.1 kB / 288.1 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.02859, allocations: 0.7753 MB / 288.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.02862, allocations: 4 kB / 288.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.02869, allocations: 44 kB / 289 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.02871, allocations: 28 kB / 289 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.02959, allocations: 0.536 MB / 289.5 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/0.1457, allocations: 2.86 MB / 292.4 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1467, allocations: 0.7198 MB / 293.1 MB, free: 20.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.1471, allocations: 279 kB / 293.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.1471, allocations: 28.16 kB / 293.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.1476, allocations: 445 kB / 293.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.206e-06/0.1476, allocations: 0.5938 kB / 293.8 MB, free: 20.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.004538/0.1522, allocations: 2.895 MB / 296.7 MB, free: 19.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.1522, allocations: 148 kB / 296.9 MB, free: 19.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.1525, allocations: 409.3 kB / 297.3 MB, free: 19.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.1526, allocations: 49.33 kB / 297.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1528, allocations: 478.9 kB / 297.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.153, allocations: 447.7 kB / 298.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.1533, allocations: 215.7 kB / 298.4 MB, free: 18.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1534, allocations: 0.5563 MB / 299 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.1537, allocations: 196 kB / 299.2 MB, free: 18.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.1542, allocations: 0.5026 MB / 299.7 MB, free: 17.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.155, allocations: 0.7022 MB / 300.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.155, allocations: 1.188 kB / 300.4 MB, free: 17.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001491/0.1565, allocations: 1.095 MB / 301.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1565, allocations: 6.875 kB / 301.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1565, allocations: 8.875 kB / 301.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009324/0.1574, allocations: 395.8 kB / 301.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.1579, allocations: 196.5 kB / 302.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.1619, allocations: 9.378 MB / 311.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1624, allocations: 47.59 kB / 311.5 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.1624, allocations: 47.22 kB / 311.5 MB, free: 8.867 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.1627, allocations: 228.7 kB / 311.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1628, allocations: 112 kB / 311.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.164, allocations: 0.9985 MB / 312.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.164, allocations: 10.28 kB / 312.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.164, allocations: 12.94 kB / 312.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.1641, allocations: 3.891 kB / 312.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.1662, allocations: 1.929 MB / 314.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.1662, allocations: 6.781 kB / 314.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.1666, allocations: 155.8 kB / 315 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000747/0.1673, allocations: 392.7 kB / 315.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.1674, allocations: 26.47 kB / 315.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/0.1713, allocations: 8.981 MB / 324.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1713, allocations: 3.312 kB / 324.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.1732, allocations: 1.388 MB / 325.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.1734, allocations: 141.1 kB / 325.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.1735, allocations: 27 kB / 325.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1737, allocations: 37.23 kB / 326 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.1739, allocations: 107.2 kB / 326.1 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.1739, allocations: 32 kB / 326.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1742, allocations: 264.7 kB / 326.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1742, allocations: 4 kB / 326.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001015/0.1752, allocations: 316 kB / 326.7 MB, free: 13.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002901/0.1755, allocations: 183.5 kB / 326.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.1773, allocations: 1.564 MB / 328.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1773, allocations: 0 / 328.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009333/0.1782, allocations: 1.248 MB / 329.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1786, allocations: 82.88 kB / 329.8 MB, free: 9.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.1812, allocations: 1.787 MB / 331.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.1814, allocations: 211.6 kB / 331.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.1816, allocations: 101.9 kB / 331.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.1817, allocations: 59.86 kB / 331.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1817, allocations: 0 / 331.9 MB, free: 7.754 MB / 282.7 MB Notification: Performance of Templates: time 0.01556/0.1973, allocations: 11.1 MB / 343 MB, free: 12.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2269448596052825]