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.001028/0.001028, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.001613/0.001613, allocations: 141.1 kB / 24.54 MB, free: 32 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.957/0.957, allocations: 173.4 MB / 201.1 MB, free: 9.336 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.423e-06/1.423e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.522e-05, allocations: 6.25 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005919/0.005944, allocations: 6.228 MB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.008908, allocations: 1.834 MB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.009367, allocations: 19.88 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007679/0.01014, allocations: 214.1 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007703/0.01091, allocations: 416.6 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.01151, allocations: 383.4 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.01284, allocations: 1.533 MB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.01328, allocations: 321.8 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.01418, allocations: 0.846 MB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.01472, allocations: 482.7 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.01489, allocations: 156 kB / 280.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.01505, allocations: 160 kB / 280.5 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.0152, allocations: 311 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.01553, allocations: 467 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.01634, allocations: 0.9617 MB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01634, allocations: 0 / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01634, allocations: 0 / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.01635, allocations: 0 / 282.3 MB, free: 8.086 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.001977/0.01833, allocations: 1.461 MB / 283.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.01837, allocations: 8.922 kB / 283.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.01858, allocations: 204.2 kB / 283.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.01933, allocations: 0.6253 MB / 284.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.01939, allocations: 74.38 kB / 284.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.0195, allocations: 100.3 kB / 284.7 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009971/0.0205, allocations: 0.7926 MB / 285.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.02053, allocations: 12.08 kB / 285.5 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.02058, allocations: 40.38 kB / 285.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.0206, allocations: 27.94 kB / 285.6 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.02126, allocations: 425.5 kB / 286 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.02403, allocations: 2.594 MB / 288.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007942/0.02483, allocations: 0.5354 MB / 289.1 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.02516, allocations: 256.8 kB / 289.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.02521, allocations: 20.44 kB / 289.4 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.02525, allocations: 53.88 kB / 289.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 3.446e-06/0.02525, allocations: 3.984 kB / 289.5 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.1209/0.1461, allocations: 2.963 MB / 292.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1461, allocations: 89.3 kB / 292.5 MB, free: 28.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.1467, allocations: 0.5392 MB / 293.1 MB, free: 28.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.1467, allocations: 42.61 kB / 293.1 MB, free: 28.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.1469, allocations: 493 kB / 293.6 MB, free: 28.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.1471, allocations: 410.9 kB / 294 MB, free: 27.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.1473, allocations: 190.1 kB / 294.2 MB, free: 27.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1474, allocations: 0.5589 MB / 294.7 MB, free: 27.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.1478, allocations: 172 kB / 294.9 MB, free: 27.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.1482, allocations: 350.7 kB / 295.2 MB, free: 27.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.1489, allocations: 0.5524 MB / 295.8 MB, free: 27.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1489, allocations: 1.062 kB / 295.8 MB, free: 27.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001202/0.1501, allocations: 0.8457 MB / 296.6 MB, free: 26.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1501, allocations: 6.625 kB / 296.6 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1501, allocations: 3.188 kB / 296.6 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.1505, allocations: 132.7 kB / 296.8 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.1511, allocations: 238.6 kB / 297 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.1531, allocations: 6.003 MB / 303 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.1535, allocations: 45.81 kB / 303.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.1535, allocations: 40.75 kB / 303.1 MB, free: 21.11 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 (128): * Single equations (assignments): 125 * 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.0002296/0.1537, allocations: 217.2 kB / 303.3 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.1539, allocations: 127.1 kB / 303.4 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.1547, allocations: 0.5511 MB / 304 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.1547, allocations: 15.53 kB / 304 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.1547, allocations: 7.906 kB / 304 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.1547, allocations: 9.219 kB / 304 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.157, allocations: 1.888 MB / 305.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.157, allocations: 5.094 kB / 305.9 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.1575, allocations: 197 kB / 306.1 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.158, allocations: 161 kB / 306.3 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.158, allocations: 31.28 kB / 306.3 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.1602, allocations: 7.208 MB / 313.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1602, allocations: 0 / 313.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.1616, allocations: 1.256 MB / 314.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1617, allocations: 84.53 kB / 314.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.1617, allocations: 21.59 kB / 314.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.162, allocations: 36.39 kB / 314.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.1621, allocations: 93.38 kB / 315 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.1622, allocations: 31.05 kB / 315 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000259/0.1624, allocations: 359.6 kB / 315.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1624, allocations: 0 / 315.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000701/0.1631, allocations: 256.2 kB / 315.6 MB, free: 11.38 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 (104): * Single equations (assignments): 100 * 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.0001389/0.1633, allocations: 141.6 kB / 315.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.1644, allocations: 1.141 MB / 316.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1644, allocations: 0 / 316.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.165, allocations: 1.051 MB / 317.9 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1656, allocations: 193.2 kB / 318.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.1678, allocations: 1.86 MB / 320 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.1679, allocations: 197.8 kB / 320.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.1682, allocations: 120.6 kB / 320.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.1684, allocations: 72.39 kB / 320.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1684, allocations: 0 / 320.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01501/0.1834, allocations: 12.13 MB / 332.5 MB, free: 12.59 MB / 282.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.3992574880830944]