Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.919e-06/4.919e-06, allocations: 4 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.957e-05, allocations: 6.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.009633/0.009663, allocations: 6.291 MB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.01384, allocations: 1.886 MB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.0144, allocations: 19.94 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.015, allocations: 218 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.01601, allocations: 436.5 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.01678, allocations: 383.4 kB / 281.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.01878, allocations: 1.56 MB / 283.1 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.01935, allocations: 317.9 kB / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.02061, allocations: 0.8732 MB / 284.3 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.02139, allocations: 486.7 kB / 284.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.02163, allocations: 156 kB / 284.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.02193, allocations: 164 kB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.02225, allocations: 318.9 kB / 285.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008367/0.02309, allocations: 474.9 kB / 285.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.02547, allocations: 1.943 MB / 287.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.02547, allocations: 4 kB / 287.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02547, allocations: 4 kB / 287.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.0255, allocations: 0 / 287.8 MB, free: 2.289 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003675/0.02917, allocations: 1.597 MB / 289.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.02923, allocations: 12.03 kB / 289.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00074/0.02997, allocations: 232.1 kB / 289.6 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1076/0.1375, allocations: 0.6533 MB / 290.3 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1376, allocations: 77.7 kB / 290.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1378, allocations: 96.25 kB / 290.4 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.1397, allocations: 1.086 MB / 291.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.1397, allocations: 5.781 kB / 291.5 MB, free: 19.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/0.1398, allocations: 40.03 kB / 291.6 MB, free: 19.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.1398, allocations: 27.41 kB / 291.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1413, allocations: 0.7637 MB / 292.4 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.1469, allocations: 3.506 MB / 295.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1484, allocations: 0.7968 MB / 296.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008711/0.1493, allocations: 408.8 kB / 297.1 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.1494, allocations: 18.94 kB / 297.1 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1494, allocations: 52.02 kB / 297.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.334e-06/0.1494, allocations: 2.297 kB / 297.1 MB, free: 17.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.009925/0.1593, allocations: 3.857 MB / 301 MB, free: 15.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1594, allocations: 92.38 kB / 301.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.1605, allocations: 0.7609 MB / 301.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.1605, allocations: 45.45 kB / 301.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1609, allocations: 0.5265 MB / 302.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.1612, allocations: 461 kB / 302.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004063/0.1616, allocations: 241 kB / 303.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.1619, allocations: 0.6435 MB / 303.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.1626, allocations: 339.1 kB / 304.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.1633, allocations: 0.5478 MB / 304.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.1646, allocations: 0.9585 MB / 305.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1646, allocations: 3.469 kB / 305.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001929/0.1665, allocations: 1.2 MB / 306.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1665, allocations: 13.25 kB / 306.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1666, allocations: 3.719 kB / 306.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.1671, allocations: 161.1 kB / 307 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.1681, allocations: 236.3 kB / 307.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/0.171, allocations: 6.359 MB / 313.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.1716, allocations: 34.53 kB / 313.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.1717, allocations: 40.55 kB / 313.6 MB, free: 6.086 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.1721, allocations: 330.2 kB / 313.9 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.1723, allocations: 127.4 kB / 314.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.1735, allocations: 0.7443 MB / 314.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1736, allocations: 12 kB / 314.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.1736, allocations: 6.016 kB / 314.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1736, allocations: 7.938 kB / 314.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.177, allocations: 2.524 MB / 317.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.177, allocations: 0 / 317.4 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.1778, allocations: 196.2 kB / 317.6 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007676/0.1786, allocations: 207.8 kB / 317.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.1787, allocations: 26.81 kB / 317.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.1846, allocations: 7.601 MB / 325.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1846, allocations: 3.938 kB / 325.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.1878, allocations: 1.809 MB / 327.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.1883, allocations: 167.3 kB / 327.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.1885, allocations: 24 kB / 327.4 MB, free: 8.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.1891, allocations: 31.98 kB / 327.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.1893, allocations: 91.75 kB / 327.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/0.1893, allocations: 32 kB / 327.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007778/0.1901, allocations: 0.4909 MB / 328 MB, free: 7.809 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1901, allocations: 0 / 328 MB, free: 7.809 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001089/0.1912, allocations: 256 kB / 328.3 MB, free: 7.559 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.1914, allocations: 140.3 kB / 328.4 MB, free: 7.426 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.1942, allocations: 1.483 MB / 329.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1942, allocations: 0 / 329.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.1962, allocations: 1.219 MB / 331.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.1974, allocations: 220.4 kB / 331.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.2016, allocations: 2.077 MB / 333.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.2022, allocations: 446.5 kB / 333.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.2028, allocations: 123.6 kB / 334 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.203, allocations: 76.48 kB / 334 MB, free: 1.66 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.203, allocations: 0 / 334 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Templates: time 0.02754/0.2306, allocations: 12.68 MB / 346.7 MB, free: 5.238 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.208717837929726]