Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001282/0.001282, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.001488/0.001488, allocations: 142.8 kB / 25.59 MB, free: 8.883 MB / 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.9276/0.9276, allocations: 173.4 MB / 202.3 MB, free: 8.262 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.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.842e-05, allocations: 5.406 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004971/0.00499, allocations: 6.084 MB / 275.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.007592, allocations: 1.829 MB / 277.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.007968, allocations: 19.88 kB / 277.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.008423, allocations: 214.1 kB / 277.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.009112, allocations: 420.5 kB / 277.7 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.009607, allocations: 383.4 kB / 278.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01062, allocations: 1.522 MB / 279.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.01099, allocations: 329.8 kB / 280 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.01164, allocations: 0.846 MB / 280.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.01208, allocations: 474.7 kB / 281.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.01222, allocations: 156 kB / 281.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.01236, allocations: 152 kB / 281.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.01251, allocations: 303 kB / 281.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.01281, allocations: 459 kB / 282.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.01352, allocations: 0.946 MB / 283.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01353, allocations: 3.984 kB / 283.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01353, allocations: 0 / 283.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.01354, allocations: 0 / 283.3 MB, free: 11.65 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001515/0.01505, allocations: 1.453 MB / 284.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01509, allocations: 8.031 kB / 284.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.01528, allocations: 200.2 kB / 284.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.01585, allocations: 0.5961 MB / 285.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.0159, allocations: 74.38 kB / 285.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01601, allocations: 108.2 kB / 285.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.01679, allocations: 0.7222 MB / 286.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.01682, allocations: 8.172 kB / 286.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.01687, allocations: 36.38 kB / 286.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.01689, allocations: 27.94 kB / 286.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.01733, allocations: 343.8 kB / 286.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.01988, allocations: 2.492 MB / 289.3 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.02041, allocations: 0.4887 MB / 289.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.02065, allocations: 221.4 kB / 290 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.02069, allocations: 20.36 kB / 290 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.02072, allocations: 53.83 kB / 290.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.404e-06/0.02072, allocations: 0 / 290.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=113): time 0.003445/0.02417, allocations: 2.506 MB / 292.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.02421, allocations: 89.77 kB / 292.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.02454, allocations: 0.5217 MB / 293.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.02458, allocations: 49.69 kB / 293.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.0248, allocations: 495.6 kB / 293.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.02499, allocations: 400.4 kB / 294.1 MB, free: 416 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.02518, allocations: 196.5 kB / 294.3 MB, free: 212 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.02535, allocations: 0.5662 MB / 294.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.02553, allocations: 130.5 kB / 295 MB, free: 15.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.0258, allocations: 317.8 kB / 295.3 MB, free: 15.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.02628, allocations: 0.4948 MB / 295.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02628, allocations: 0 / 295.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008117/0.02709, allocations: 0.7614 MB / 296.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02711, allocations: 4 kB / 296.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.02712, allocations: 4 kB / 296.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/0.0274, allocations: 131.1 kB / 296.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.0279, allocations: 235.7 kB / 296.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.03034, allocations: 5.923 MB / 302.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.03062, allocations: 43.97 kB / 302.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.03066, allocations: 24 kB / 302.9 MB, free: 7.102 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * 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.0002071/0.03086, allocations: 222.4 kB / 303.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.031, allocations: 123.5 kB / 303.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.03158, allocations: 0.5183 MB / 303.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.03159, allocations: 12 kB / 303.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.03159, allocations: 0 / 303.8 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.0316, allocations: 11.97 kB / 303.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.03334, allocations: 1.707 MB / 305.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.03334, allocations: 4 kB / 305.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.03378, allocations: 191.7 kB / 305.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/0.03414, allocations: 158.7 kB / 305.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.03418, allocations: 24 kB / 305.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.03681, allocations: 7.103 MB / 313 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.03682, allocations: 7.938 kB / 313 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.03786, allocations: 1.131 MB / 314.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.03795, allocations: 87.41 kB / 314.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.03802, allocations: 24.06 kB / 314.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.03827, allocations: 35.98 kB / 314.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.03838, allocations: 88.44 kB / 314.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.03842, allocations: 27.98 kB / 314.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.03861, allocations: 334.7 kB / 314.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03861, allocations: 0 / 314.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005786/0.03919, allocations: 252 kB / 315 MB, free: 10.45 MB / 298.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 (102): * Single equations (assignments): 98 * 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.0001364/0.03933, allocations: 135 kB / 315.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009048/0.04023, allocations: 1.069 MB / 316.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04023, allocations: 0 / 316.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.04085, allocations: 1.021 MB / 317.2 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.04145, allocations: 196.1 kB / 317.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.04356, allocations: 1.817 MB / 319.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.0437, allocations: 198.6 kB / 319.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002979/0.044, allocations: 115.2 kB / 319.5 MB, free: 5.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.04436, allocations: 274 kB / 319.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.04436, allocations: 0 / 319.8 MB, free: 5.441 MB / 298.7 MB Notification: Performance of Templates: time 0.01615/0.06051, allocations: 13.4 MB / 333.2 MB, free: 8.219 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.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.2306427462026477]