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.001357/0.001357, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001597/0.001597, allocations: 165 kB / 24.56 MB, free: 20 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.043/1.043, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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 2.434e-06/2.434e-06, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.879e-05, allocations: 2.312 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01449/0.01453, allocations: 6.354 MB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.01759, allocations: 1.889 MB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.01797, allocations: 23.88 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.01876, allocations: 214 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007733/0.01954, allocations: 440.5 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.02013, allocations: 387.4 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.02131, allocations: 1.549 MB / 283.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.02177, allocations: 333.9 kB / 284.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.0226, allocations: 0.8694 MB / 285 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.02314, allocations: 486.7 kB / 285.5 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.02331, allocations: 156 kB / 285.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.02353, allocations: 164 kB / 285.8 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.02372, allocations: 318.9 kB / 286.1 MB, free: 4.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.02411, allocations: 474.9 kB / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000964/0.02508, allocations: 0.9811 MB / 287.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.02508, allocations: 0 / 287.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02508, allocations: 0 / 287.5 MB, free: 2.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.02509, allocations: 7.938 kB / 287.5 MB, free: 2.75 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.002268/0.02736, allocations: 1.477 MB / 289 MB, free: 1.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.0274, allocations: 8.031 kB / 289 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/0.02789, allocations: 236.1 kB / 289.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.02876, allocations: 0.6331 MB / 289.9 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.02883, allocations: 78.31 kB / 290 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.02896, allocations: 103.9 kB / 290.1 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.134/0.163, allocations: 0.7706 MB / 290.8 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.163, allocations: 4.438 kB / 290.8 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.1631, allocations: 38.28 kB / 290.9 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.1631, allocations: 23.94 kB / 290.9 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.164, allocations: 422.1 kB / 291.3 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003986/0.168, allocations: 2.604 MB / 293.9 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.169, allocations: 0.5355 MB / 294.5 MB, free: 24.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.1695, allocations: 249.7 kB / 294.7 MB, free: 24.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.1695, allocations: 24.11 kB / 294.7 MB, free: 24.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1696, allocations: 47.17 kB / 294.8 MB, free: 24.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.918e-06/0.1696, allocations: 0 / 294.8 MB, free: 24.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.005585/0.1751, allocations: 3.042 MB / 297.8 MB, free: 22.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1752, allocations: 94.95 kB / 297.9 MB, free: 22.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/0.1758, allocations: 0.5551 MB / 298.5 MB, free: 22.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.1759, allocations: 46.14 kB / 298.5 MB, free: 22.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.1761, allocations: 0.4905 MB / 299 MB, free: 22.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.1763, allocations: 418.3 kB / 299.4 MB, free: 21.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.1766, allocations: 192.9 kB / 299.6 MB, free: 21.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1767, allocations: 0.5602 MB / 300.2 MB, free: 21.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.1771, allocations: 178.1 kB / 300.3 MB, free: 21.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.1776, allocations: 343.1 kB / 300.7 MB, free: 20.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.1785, allocations: 0.5696 MB / 301.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1785, allocations: 1.75 kB / 301.2 MB, free: 20.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00142/0.1799, allocations: 0.8695 MB / 302.1 MB, free: 20.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.18, allocations: 6.156 kB / 302.1 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.18, allocations: 2.75 kB / 302.1 MB, free: 20.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004296/0.1804, allocations: 132 kB / 302.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.1811, allocations: 236.9 kB / 302.5 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.1836, allocations: 6.011 MB / 308.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.184, allocations: 32.97 kB / 308.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.184, allocations: 38.8 kB / 308.6 MB, free: 14.35 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.0002435/0.1843, allocations: 225.9 kB / 308.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.1845, allocations: 125.4 kB / 308.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/0.1853, allocations: 0.5738 MB / 309.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.1854, allocations: 15.42 kB / 309.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.1854, allocations: 4 kB / 309.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.1854, allocations: 6.375 kB / 309.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.1878, allocations: 1.894 MB / 311.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1878, allocations: 4.953 kB / 311.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.1883, allocations: 194.4 kB / 311.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.1888, allocations: 171.2 kB / 311.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.1888, allocations: 27.47 kB / 311.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.1912, allocations: 7.207 MB / 319 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1912, allocations: 4.031 kB / 319 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.1926, allocations: 1.26 MB / 320.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.1929, allocations: 171.3 kB / 320.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.193, allocations: 24 kB / 320.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.1933, allocations: 35.98 kB / 320.5 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.1934, allocations: 88.38 kB / 320.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.1935, allocations: 35.98 kB / 320.6 MB, free: 3.828 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.1938, allocations: 374.7 kB / 321 MB, free: 3.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1938, allocations: 0 / 321 MB, free: 3.465 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003826/0.1976, allocations: 260 kB / 321.2 MB, free: 3.211 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.0001494/0.1978, allocations: 135.6 kB / 321.4 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.199, allocations: 1.143 MB / 322.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.199, allocations: 8 kB / 322.5 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.1997, allocations: 1.04 MB / 323.5 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/0.2026, allocations: 213.4 kB / 323.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.2056, allocations: 1.906 MB / 325.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2058, allocations: 204.1 kB / 325.9 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.2062, allocations: 123.6 kB / 326 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.2064, allocations: 76.48 kB / 326.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2064, allocations: 0 / 326.1 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Templates: time 0.01811/0.2245, allocations: 12.69 MB / 338.7 MB, free: 1.766 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=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","",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.6481598848477006]