Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009541/0.0009541, allocations: 91.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8989/0.8989, allocations: 177 MB / 204.8 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.896e-05, allocations: 2.312 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01282/0.01284, allocations: 6.36 MB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.01881, allocations: 1.893 MB / 281.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.01923, allocations: 19.88 kB / 281.2 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.02276, allocations: 214.1 kB / 281.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.02383, allocations: 436.5 kB / 281.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.02445, allocations: 379.4 kB / 282.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.02573, allocations: 1.557 MB / 283.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.02619, allocations: 325.9 kB / 284.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008714/0.02706, allocations: 0.8694 MB / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.02757, allocations: 490.7 kB / 285.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.02772, allocations: 160 kB / 285.6 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.02793, allocations: 163.9 kB / 285.7 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.02812, allocations: 315 kB / 286 MB, free: 4.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.0285, allocations: 474.9 kB / 286.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009424/0.02944, allocations: 0.981 MB / 287.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.02945, allocations: 0 / 287.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02945, allocations: 0 / 287.5 MB, free: 2.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.02946, allocations: 0 / 287.5 MB, free: 2.645 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.002189/0.03165, allocations: 1.484 MB / 289 MB, free: 1.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.03168, allocations: 11.98 kB / 289 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004625/0.03215, allocations: 240.1 kB / 289.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.03299, allocations: 0.6292 MB / 289.8 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.03306, allocations: 74.38 kB / 289.9 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.03319, allocations: 119.8 kB / 290 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1066/0.1398, allocations: 0.7648 MB / 290.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.1398, allocations: 6.859 kB / 290.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.1399, allocations: 39.28 kB / 290.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.1399, allocations: 23.66 kB / 290.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.1406, allocations: 424.3 kB / 291.3 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.1438, allocations: 2.59 MB / 293.9 MB, free: 24.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.1445, allocations: 0.5428 MB / 294.4 MB, free: 24.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.1449, allocations: 257.2 kB / 294.7 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.1449, allocations: 22.41 kB / 294.7 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.145, allocations: 46.45 kB / 294.7 MB, free: 24.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.327e-06/0.145, allocations: 2.156 kB / 294.7 MB, free: 24.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.004538/0.1495, allocations: 3.036 MB / 297.8 MB, free: 23.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1495, allocations: 91.22 kB / 297.9 MB, free: 22.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.15, allocations: 0.555 MB / 298.4 MB, free: 22.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1501, allocations: 45.92 kB / 298.5 MB, free: 22.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.1503, allocations: 0.4893 MB / 298.9 MB, free: 22.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.1505, allocations: 417.5 kB / 299.3 MB, free: 21.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1507, allocations: 193.9 kB / 299.5 MB, free: 21.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1508, allocations: 0.5598 MB / 300.1 MB, free: 21.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.1511, allocations: 177.3 kB / 300.3 MB, free: 21.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.1515, allocations: 346.7 kB / 300.6 MB, free: 21.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.1521, allocations: 0.5707 MB / 301.2 MB, free: 20.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1521, allocations: 0.7188 kB / 301.2 MB, free: 20.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001177/0.1533, allocations: 0.8669 MB / 302 MB, free: 20.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.1533, allocations: 6.125 kB / 302.1 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.1533, allocations: 2.75 kB / 302.1 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.1537, allocations: 136 kB / 302.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.1543, allocations: 237.1 kB / 302.4 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.1563, allocations: 6.017 MB / 308.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1566, allocations: 31.45 kB / 308.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.1567, allocations: 41.17 kB / 308.5 MB, free: 14.52 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.0002158/0.1569, allocations: 221 kB / 308.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.157, allocations: 129.8 kB / 308.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006664/0.1577, allocations: 0.5671 MB / 309.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1577, allocations: 13.25 kB / 309.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.1577, allocations: 3.125 kB / 309.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1577, allocations: 5.016 kB / 309.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.1596, allocations: 1.901 MB / 311.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1596, allocations: 3.875 kB / 311.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.16, allocations: 186.3 kB / 311.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003669/0.1604, allocations: 175 kB / 311.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.1604, allocations: 30.31 kB / 311.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.1622, allocations: 7.206 MB / 318.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1622, allocations: 4.125 kB / 318.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1633, allocations: 1.268 MB / 320.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.1635, allocations: 171.3 kB / 320.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.1636, allocations: 20 kB / 320.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1638, allocations: 31.98 kB / 320.4 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1639, allocations: 92.44 kB / 320.5 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1639, allocations: 35.48 kB / 320.5 MB, free: 3.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.1642, allocations: 374.7 kB / 320.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1642, allocations: 0 / 320.9 MB, free: 3.426 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000657/0.1648, allocations: 256 kB / 321.2 MB, free: 3.176 MB / 266.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.000131/0.165, allocations: 144.2 kB / 321.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.1659, allocations: 1.143 MB / 322.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1659, allocations: 0 / 322.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/0.1665, allocations: 1.048 MB / 323.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/0.1671, allocations: 209.1 kB / 323.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.1695, allocations: 1.9 MB / 325.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1697, allocations: 208.1 kB / 325.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.17, allocations: 119.6 kB / 325.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1702, allocations: 76.48 kB / 326 MB, free: 14.17 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1702, allocations: 0 / 326 MB, free: 14.17 MB / 282.7 MB Notification: Performance of Templates: time 0.01638/0.1865, allocations: 12.69 MB / 338.7 MB, free: 1.719 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.258110923692584]