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.001992/0.001992, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.002471/0.002471, allocations: 156.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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 1.152e-06/1.152e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.835e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007363/0.007382, allocations: 5.721 MB / 330.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.0109, allocations: 1.841 MB / 332.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.01133, allocations: 28.12 kB / 332.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.0119, allocations: 214.8 kB / 332.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009501/0.01285, allocations: 439.3 kB / 333.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.01357, allocations: 378.1 kB / 333.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.01518, allocations: 1.557 MB / 335.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.01572, allocations: 322.6 kB / 335.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.01687, allocations: 0.868 MB / 336.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.01753, allocations: 460.5 kB / 336.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.01772, allocations: 159.8 kB / 337 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.01797, allocations: 162.3 kB / 337.1 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.01824, allocations: 314.3 kB / 337.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005666/0.01881, allocations: 478 kB / 337.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.02084, allocations: 1.94 MB / 339.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.02084, allocations: 0 / 339.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02084, allocations: 0 / 339.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.02086, allocations: 0 / 339.8 MB, free: 6.211 MB / 302.1 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.002954/0.02381, allocations: 1.381 MB / 341.2 MB, free: 4.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.02386, allocations: 11.98 kB / 341.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005862/0.02444, allocations: 160.1 kB / 341.4 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.02572, allocations: 0.6264 MB / 342 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.02581, allocations: 74.38 kB / 342.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.02598, allocations: 103.9 kB / 342.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.02787, allocations: 1.036 MB / 343.2 MB, free: 2.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.02791, allocations: 3.953 kB / 343.2 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/0.02801, allocations: 40 kB / 343.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.02803, allocations: 27.94 kB / 343.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.02972, allocations: 0.7898 MB / 344.1 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/0.0347, allocations: 2.713 MB / 346.8 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.03609, allocations: 0.7614 MB / 347.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000944/0.03703, allocations: 406.3 kB / 347.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.0371, allocations: 20.42 kB / 348 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.03716, allocations: 47.05 kB / 348 MB, free: 13.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.587e-06/0.03716, allocations: 3.938 kB / 348 MB, free: 13.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=119): time 0.009122/0.04628, allocations: 3.806 MB / 351.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.04635, allocations: 89.77 kB / 351.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.04716, allocations: 0.5849 MB / 352.5 MB, free: 9.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.209e-05/0.04724, allocations: 45.7 kB / 352.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.04759, allocations: 453.1 kB / 353 MB, free: 8.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.04794, allocations: 420.3 kB / 353.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.04829, allocations: 186.9 kB / 353.6 MB, free: 8.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.04851, allocations: 394.7 kB / 354 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007493/0.04926, allocations: 342.5 kB / 354.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.05013, allocations: 492.7 kB / 354.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.05176, allocations: 0.8559 MB / 355.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.05177, allocations: 0 / 355.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002289/0.05405, allocations: 1.148 MB / 356.8 MB, free: 4.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.05408, allocations: 8 kB / 356.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.05409, allocations: 3.984 kB / 356.8 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/0.0545, allocations: 130.5 kB / 356.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.05556, allocations: 247.6 kB / 357.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/0.05988, allocations: 4.562 MB / 361.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.06049, allocations: 36.02 kB / 361.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-05/0.06057, allocations: 39.98 kB / 361.8 MB, free: 15.47 MB / 334.1 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.0004561/0.06103, allocations: 277.6 kB / 362.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.0612, allocations: 95.56 kB / 362.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.06279, allocations: 0.7448 MB / 362.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.0628, allocations: 12 kB / 362.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.06281, allocations: 8 kB / 362.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.06282, allocations: 3.984 kB / 362.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.0668, allocations: 2.167 MB / 365.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0668, allocations: 0 / 365.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/0.06772, allocations: 195.8 kB / 365.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/0.0682, allocations: 159.3 kB / 365.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.06827, allocations: 27.98 kB / 365.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004944/0.07321, allocations: 5.455 MB / 370.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.07322, allocations: 0 / 370.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.07613, allocations: 1.67 MB / 372.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.07647, allocations: 171.5 kB / 372.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.07659, allocations: 24 kB / 372.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.07715, allocations: 35.98 kB / 372.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.07732, allocations: 84.44 kB / 372.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.07738, allocations: 35.98 kB / 372.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005632/0.07795, allocations: 410.8 kB / 373.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.07795, allocations: 4 kB / 373.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000895/0.07884, allocations: 256 kB / 373.6 MB, free: 3.133 MB / 334.1 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.0001983/0.07904, allocations: 134.1 kB / 373.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.08122, allocations: 1.23 MB / 375 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.08122, allocations: 4 kB / 375 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.08265, allocations: 0.948 MB / 375.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.08369, allocations: 188.9 kB / 376.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.08745, allocations: 2.011 MB / 378.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.08794, allocations: 450.5 kB / 378.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.08847, allocations: 119.6 kB / 378.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.08876, allocations: 76.48 kB / 378.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.08876, allocations: 0 / 378.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Templates: time 0.02361/0.1124, allocations: 12.53 MB / 391.3 MB, free: 1.449 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] 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: 4.916565518826246]