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.001943/0.001943, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002048/0.002048, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.552/1.552, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 4.368e-06/4.368e-06, allocations: 4 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.884e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.009637/0.009666, allocations: 6.291 MB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.0137, allocations: 1.886 MB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.01425, allocations: 27.88 kB / 280.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.01488, allocations: 214 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.0159, allocations: 436.5 kB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.01692, allocations: 387.4 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.01872, allocations: 1.553 MB / 283 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005679/0.01929, allocations: 325.9 kB / 283.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.02055, allocations: 0.8732 MB / 284.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.02135, allocations: 486.7 kB / 284.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.02159, allocations: 156 kB / 284.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.02188, allocations: 164 kB / 285 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.02221, allocations: 318.9 kB / 285.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.02282, allocations: 478.9 kB / 285.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.02514, allocations: 1.943 MB / 287.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.02515, allocations: 4 kB / 287.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02515, allocations: 0 / 287.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.02517, allocations: 3.984 kB / 287.7 MB, free: 2.246 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.003739/0.02891, allocations: 1.586 MB / 289.3 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.02896, allocations: 11.98 kB / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006758/0.02963, allocations: 240 kB / 289.5 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1045/0.1341, allocations: 0.6475 MB / 290.2 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.1342, allocations: 76.34 kB / 290.2 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.1343, allocations: 103.9 kB / 290.3 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.1361, allocations: 1.082 MB / 291.4 MB, free: 27.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.1361, allocations: 4 kB / 291.4 MB, free: 27.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.1362, allocations: 40.66 kB / 291.5 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.1363, allocations: 29.38 kB / 291.5 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.1377, allocations: 0.7618 MB / 292.3 MB, free: 27.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/0.1428, allocations: 3.511 MB / 295.8 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.1441, allocations: 0.7853 MB / 296.5 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.1447, allocations: 417.5 kB / 297 MB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-05/0.1448, allocations: 19.14 kB / 297 MB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.1448, allocations: 47.8 kB / 297 MB, free: 24.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 3.145e-06/0.1448, allocations: 0.7188 kB / 297 MB, free: 24.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=119): time 0.007812/0.1527, allocations: 3.857 MB / 300.9 MB, free: 23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1527, allocations: 94.66 kB / 301 MB, free: 22.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.1536, allocations: 0.7538 MB / 301.7 MB, free: 22.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.1536, allocations: 45.36 kB / 301.8 MB, free: 22.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.1539, allocations: 0.5312 MB / 302.3 MB, free: 22.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.1542, allocations: 464.9 kB / 302.8 MB, free: 21.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.1545, allocations: 240.1 kB / 303 MB, free: 21.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1547, allocations: 0.6439 MB / 303.6 MB, free: 21.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.1553, allocations: 335.9 kB / 304 MB, free: 20.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.156, allocations: 0.552 MB / 304.5 MB, free: 20.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.1572, allocations: 0.9581 MB / 305.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1572, allocations: 0 / 305.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001767/0.159, allocations: 1.198 MB / 306.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.159, allocations: 4 kB / 306.7 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.159, allocations: 4 kB / 306.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.1596, allocations: 167 kB / 306.8 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.1604, allocations: 239.6 kB / 307.1 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.1634, allocations: 6.354 MB / 313.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.1641, allocations: 36.73 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.1642, allocations: 39.98 kB / 313.5 MB, free: 11.78 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.0005128/0.1647, allocations: 328.5 kB / 313.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.1649, allocations: 131.4 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1661, allocations: 0.7453 MB / 314.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1661, allocations: 14.31 kB / 314.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.1661, allocations: 0 / 314.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.1661, allocations: 11.97 kB / 314.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.1694, allocations: 2.524 MB / 317.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1694, allocations: 3.938 kB / 317.3 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.1702, allocations: 191.8 kB / 317.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007074/0.1709, allocations: 208.6 kB / 317.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.1709, allocations: 24 kB / 317.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.1742, allocations: 7.598 MB / 325.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1742, allocations: 0 / 325.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.1774, allocations: 1.817 MB / 327.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.1778, allocations: 171.3 kB / 327.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.178, allocations: 32 kB / 327.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.1785, allocations: 27.98 kB / 327.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.1787, allocations: 88.5 kB / 327.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.638e-05/0.1787, allocations: 31.98 kB / 327.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007429/0.1795, allocations: 498.7 kB / 327.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1795, allocations: 0 / 327.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001089/0.1806, allocations: 256 kB / 328.2 MB, free: 12.53 MB / 282.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.0002464/0.1808, allocations: 135.7 kB / 328.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.1834, allocations: 1.487 MB / 329.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1834, allocations: 0 / 329.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.1852, allocations: 1.22 MB / 331 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.1864, allocations: 222.6 kB / 331.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.1904, allocations: 2.079 MB / 333.3 MB, free: 7.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.191, allocations: 446.5 kB / 333.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.1915, allocations: 127.6 kB / 333.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.1917, allocations: 80.47 kB / 333.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1917, allocations: 0 / 333.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of Templates: time 0.02576/0.2175, allocations: 12.68 MB / 346.6 MB, free: 10.11 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.043486431008205]