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.002063/0.002063, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001649/0.001649, allocations: 161.7 kB / 24.27 MB, free: 172 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.607/1.607, allocations: 177.2 MB / 204.6 MB, free: 5.598 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 1.563e-06/1.563e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.415e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008522/0.008547, allocations: 5.722 MB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.01248, allocations: 1.835 MB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.0132, allocations: 27.88 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.01396, allocations: 214 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.01532, allocations: 436.5 kB / 280.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009141/0.01623, allocations: 379.4 kB / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.01836, allocations: 1.553 MB / 282.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.01898, allocations: 321.9 kB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.02022, allocations: 0.8693 MB / 283.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006874/0.02091, allocations: 466.7 kB / 284.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.02113, allocations: 160 kB / 284.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.0214, allocations: 164 kB / 284.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.0217, allocations: 318.9 kB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005387/0.02224, allocations: 467 kB / 285.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.0246, allocations: 1.955 MB / 287.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.0246, allocations: 0 / 287.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0246, allocations: 0 / 287.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.02462, allocations: 4 kB / 287.1 MB, free: 2.922 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.002906/0.02753, allocations: 1.377 MB / 288.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.02757, allocations: 12.02 kB / 288.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000674/0.02824, allocations: 236.1 kB / 288.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.0296, allocations: 0.6459 MB / 289.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.699e-05/0.02969, allocations: 78.38 kB / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.02986, allocations: 99.94 kB / 289.6 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1045/0.1343, allocations: 1.02 MB / 290.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/0.1344, allocations: 5.781 kB / 290.6 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.1345, allocations: 42.75 kB / 290.7 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.1345, allocations: 23.62 kB / 290.7 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1359, allocations: 0.7892 MB / 291.5 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.1401, allocations: 2.753 MB / 294.2 MB, free: 26.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.1412, allocations: 0.7476 MB / 295 MB, free: 26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.1419, allocations: 409.1 kB / 295.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.1419, allocations: 22.88 kB / 295.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.142, allocations: 44.16 kB / 295.4 MB, free: 25.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.875e-06/0.142, allocations: 1.688 kB / 295.4 MB, free: 25.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.008621/0.1506, allocations: 3.85 MB / 299.3 MB, free: 23.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.1506, allocations: 93.8 kB / 299.4 MB, free: 23.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.1513, allocations: 0.5778 MB / 299.9 MB, free: 23.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.1514, allocations: 49.55 kB / 300 MB, free: 23.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.1516, allocations: 452.1 kB / 300.4 MB, free: 23.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1518, allocations: 422.6 kB / 300.9 MB, free: 22.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.1521, allocations: 186.5 kB / 301 MB, free: 22.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1522, allocations: 392.6 kB / 301.4 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/0.1529, allocations: 347.4 kB / 301.8 MB, free: 22.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.1536, allocations: 487.1 kB / 302.2 MB, free: 21.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.1548, allocations: 0.8524 MB / 303.1 MB, free: 21.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1548, allocations: 0.5938 kB / 303.1 MB, free: 21.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001897/0.1567, allocations: 1.196 MB / 304.3 MB, free: 20.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1567, allocations: 7.656 kB / 304.3 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1567, allocations: 3.594 kB / 304.3 MB, free: 20.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005685/0.1573, allocations: 146.5 kB / 304.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.1582, allocations: 240.4 kB / 304.7 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1607, allocations: 4.589 MB / 309.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.1613, allocations: 39.19 kB / 309.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.1614, allocations: 39.84 kB / 309.3 MB, free: 16.41 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.0003689/0.1617, allocations: 281.6 kB / 309.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.1619, allocations: 123.4 kB / 309.7 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1632, allocations: 0.7453 MB / 310.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1632, allocations: 12 kB / 310.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.1632, allocations: 7.719 kB / 310.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1632, allocations: 3.844 kB / 310.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.1662, allocations: 2.167 MB / 312.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1662, allocations: 0 / 312.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007732/0.167, allocations: 199.7 kB / 312.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.1677, allocations: 191.2 kB / 313 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.1677, allocations: 27.98 kB / 313.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.1704, allocations: 5.477 MB / 318.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1704, allocations: 4.281 kB / 318.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.1727, allocations: 1.696 MB / 320.3 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.173, allocations: 171.4 kB / 320.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1731, allocations: 24 kB / 320.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.1736, allocations: 35.98 kB / 320.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.1738, allocations: 84.44 kB / 320.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.1738, allocations: 35.98 kB / 320.6 MB, free: 4.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004042/0.1742, allocations: 410.8 kB / 321 MB, free: 4.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1742, allocations: 0 / 321 MB, free: 4.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008941/0.1751, allocations: 256 kB / 321.2 MB, free: 4.129 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.0001439/0.1753, allocations: 140.6 kB / 321.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1769, allocations: 1.24 MB / 322.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1769, allocations: 4.188 kB / 322.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.1779, allocations: 0.9276 MB / 323.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.1789, allocations: 204.6 kB / 323.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.1821, allocations: 2.058 MB / 325.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.1826, allocations: 446.5 kB / 326.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005482/0.1832, allocations: 127.6 kB / 326.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.1834, allocations: 76.48 kB / 326.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1834, allocations: 0 / 326.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of Templates: time 0.02553/0.2089, allocations: 12.61 MB / 339.1 MB, free: 2.418 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] 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.207355050952174]