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.0009623/0.0009623, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009958/0.0009958, allocations: 160.5 kB / 24.55 MB, free: 16 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.9192/0.9192, allocations: 177 MB / 204.8 MB, free: 5.578 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.393e-06/1.393e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.061e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01278/0.0128, allocations: 6.346 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.01863, allocations: 1.901 MB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003814/0.01901, allocations: 27.81 kB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.0225, allocations: 214.1 kB / 281.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007322/0.02324, allocations: 444.3 kB / 281.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.0238, allocations: 375.4 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.02537, allocations: 1.56 MB / 283.8 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003469/0.02884, allocations: 321.9 kB / 284.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.02973, allocations: 0.8771 MB / 284.9 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.03026, allocations: 478.7 kB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.03042, allocations: 152 kB / 285.6 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.03062, allocations: 160 kB / 285.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.0308, allocations: 306.9 kB / 286 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.03118, allocations: 463 kB / 286.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.03507, allocations: 0.9732 MB / 287.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.03508, allocations: 0 / 287.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.03508, allocations: 0 / 287.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.024e-05/0.03511, allocations: 0 / 287.4 MB, free: 2.832 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.002254/0.03737, allocations: 1.461 MB / 288.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.03741, allocations: 11.98 kB / 288.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.03795, allocations: 232.1 kB / 289.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.03887, allocations: 0.6077 MB / 289.8 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.03894, allocations: 74.38 kB / 289.8 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.03909, allocations: 107.9 kB / 289.9 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1218/0.1608, allocations: 0.767 MB / 290.7 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.1609, allocations: 6.812 kB / 290.7 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.1609, allocations: 39.28 kB / 290.7 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.161, allocations: 24.48 kB / 290.8 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.1617, allocations: 425.1 kB / 291.2 MB, free: 24.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.1648, allocations: 2.591 MB / 293.8 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.1656, allocations: 0.5437 MB / 294.3 MB, free: 24.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.166, allocations: 255.4 kB / 294.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.166, allocations: 22.88 kB / 294.6 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1661, allocations: 48.17 kB / 294.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 3.196e-06/0.1661, allocations: 0 / 294.6 MB, free: 24.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.004532/0.1706, allocations: 2.986 MB / 297.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1706, allocations: 91.02 kB / 297.7 MB, free: 22.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.1711, allocations: 0.5585 MB / 298.3 MB, free: 22.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.1712, allocations: 42.17 kB / 298.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1714, allocations: 0.493 MB / 298.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.1715, allocations: 419.2 kB / 299.2 MB, free: 21.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1717, allocations: 187.2 kB / 299.4 MB, free: 21.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1718, allocations: 0.5627 MB / 300 MB, free: 21.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.1721, allocations: 174 kB / 300.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1725, allocations: 356.2 kB / 300.5 MB, free: 20.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.1732, allocations: 0.5753 MB / 301 MB, free: 20.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1732, allocations: 2.062 kB / 301.1 MB, free: 20.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001083/0.1743, allocations: 0.8581 MB / 301.9 MB, free: 20.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1743, allocations: 5.5 kB / 301.9 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1743, allocations: 4.125 kB / 301.9 MB, free: 20.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.1746, allocations: 134.7 kB / 302.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1752, allocations: 238 kB / 302.3 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.177, allocations: 6.014 MB / 308.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.1774, allocations: 31.81 kB / 308.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.1775, allocations: 42.33 kB / 308.4 MB, free: 14.35 MB / 266.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 (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 (131): * Single equations (assignments): 128 * 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.000215/0.1777, allocations: 220.9 kB / 308.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.1778, allocations: 130.5 kB / 308.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.1785, allocations: 0.5708 MB / 309.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.1785, allocations: 11.25 kB / 309.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.1785, allocations: 2.875 kB / 309.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1785, allocations: 9.016 kB / 309.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.1804, allocations: 1.879 MB / 311.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1804, allocations: 0 / 311.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.1808, allocations: 190.4 kB / 311.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.1812, allocations: 166.8 kB / 311.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.1812, allocations: 25.02 kB / 311.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.1829, allocations: 7.212 MB / 318.8 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1829, allocations: 128 / 318.8 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.184, allocations: 1.26 MB / 320 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.1842, allocations: 167.3 kB / 320.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.1843, allocations: 27.98 kB / 320.2 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.1845, allocations: 24 kB / 320.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.1846, allocations: 96.38 kB / 320.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.1846, allocations: 32 kB / 320.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1849, allocations: 378.7 kB / 320.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1849, allocations: 3.719 kB / 320.7 MB, free: 3.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006323/0.1855, allocations: 260 kB / 321 MB, free: 3.332 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 (106): * Single equations (assignments): 102 * 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.0001242/0.1856, allocations: 131.6 kB / 321.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.1866, allocations: 1.132 MB / 322.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1866, allocations: 0 / 322.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.1871, allocations: 1.048 MB / 323.3 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.1877, allocations: 213.2 kB / 323.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1901, allocations: 1.901 MB / 325.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.1903, allocations: 198.9 kB / 325.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000309/0.1906, allocations: 127.3 kB / 325.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.1908, allocations: 80.47 kB / 325.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1908, allocations: 0 / 325.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Templates: time 0.01641/0.2072, allocations: 13.23 MB / 339 MB, free: 1.355 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.1248697843402624]