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.001302/0.001302, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001431/0.001431, allocations: 168.4 kB / 25.61 MB, free: 8.879 MB / 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.9322/0.9322, allocations: 177 MB / 205.9 MB, free: 4.453 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.653e-06/1.653e-06, allocations: 0 / 274.1 MB, free: 4.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.778e-05, allocations: 6.875 kB / 274.1 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008891/0.008919, allocations: 6.205 MB / 280.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.01282, allocations: 1.886 MB / 282.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.01351, allocations: 27.88 kB / 282.2 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.0141, allocations: 210.1 kB / 282.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.0152, allocations: 448.4 kB / 282.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.01603, allocations: 383.4 kB / 283.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.01779, allocations: 1.549 MB / 284.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.01837, allocations: 333.8 kB / 285.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.01962, allocations: 0.8694 MB / 286 MB, free: 8.203 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.02016, allocations: 478.6 kB / 286.5 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.02031, allocations: 156 kB / 286.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.0205, allocations: 160 kB / 286.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.02066, allocations: 307 kB / 287.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.02105, allocations: 466.9 kB / 287.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.02208, allocations: 0.9693 MB / 288.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.02208, allocations: 0 / 288.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.02209, allocations: 0 / 288.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.02211, allocations: 0 / 288.5 MB, free: 5.695 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.001722/0.02383, allocations: 1.472 MB / 290 MB, free: 4.184 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.02386, allocations: 12.03 kB / 290 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.02426, allocations: 228.1 kB / 290.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.02486, allocations: 0.5999 MB / 290.8 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.02491, allocations: 74.38 kB / 290.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.02502, allocations: 103.9 kB / 291 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.02577, allocations: 0.7139 MB / 291.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.02579, allocations: 7.953 kB / 291.7 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.02585, allocations: 40 kB / 291.7 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.02587, allocations: 24 kB / 291.8 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.0263, allocations: 327.8 kB / 292.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.029, allocations: 2.516 MB / 294.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.02956, allocations: 492.7 kB / 295.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.0298, allocations: 217.3 kB / 295.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.02984, allocations: 16.5 kB / 295.3 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.02987, allocations: 57.56 kB / 295.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=94): time 2.395e-06/0.02987, allocations: 0 / 295.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=117): time 0.003692/0.03356, allocations: 2.531 MB / 297.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.0336, allocations: 93.7 kB / 298 MB, free: 11.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.03401, allocations: 0.5412 MB / 298.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.03405, allocations: 45.7 kB / 298.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.03434, allocations: 0.4918 MB / 299.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.03455, allocations: 416.3 kB / 299.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.03475, allocations: 200.5 kB / 299.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.03492, allocations: 0.578 MB / 300.2 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.0351, allocations: 126.5 kB / 300.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.03536, allocations: 318.3 kB / 300.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.03601, allocations: 0.506 MB / 301.2 MB, free: 8.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.03602, allocations: 3.938 kB / 301.2 MB, free: 8.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0008423/0.03686, allocations: 0.7731 MB / 302 MB, free: 7.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.03688, allocations: 8 kB / 302 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.03688, allocations: 4 kB / 302 MB, free: 7.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/0.03719, allocations: 131 kB / 302.1 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.03769, allocations: 235.7 kB / 302.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.04043, allocations: 5.924 MB / 308.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.04081, allocations: 32 kB / 308.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.04085, allocations: 31.98 kB / 308.3 MB, free: 0.9844 MB / 282.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 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.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.0002559/0.0411, allocations: 219.6 kB / 308.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.04125, allocations: 135.4 kB / 308.7 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.04188, allocations: 0.5226 MB / 309.2 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.04188, allocations: 16 kB / 309.2 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.04189, allocations: 0 / 309.2 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.0419, allocations: 11.97 kB / 309.2 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.04389, allocations: 1.7 MB / 310.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.0439, allocations: 4.062 kB / 310.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.0445, allocations: 195.7 kB / 311.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/0.04499, allocations: 158.6 kB / 311.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.04504, allocations: 35.92 kB / 311.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/0.04859, allocations: 7.098 MB / 318.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.04859, allocations: 4 kB / 318.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.0503, allocations: 1.155 MB / 319.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.05061, allocations: 175.4 kB / 319.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.05071, allocations: 31.88 kB / 319.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.05108, allocations: 31.98 kB / 319.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.05123, allocations: 88.39 kB / 319.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.05128, allocations: 27.98 kB / 319.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002986/0.05158, allocations: 346.6 kB / 320.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05158, allocations: 0 / 320.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008839/0.05247, allocations: 256 kB / 320.5 MB, free: 4.199 MB / 298.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.0001602/0.05263, allocations: 135.1 kB / 320.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.05382, allocations: 1.054 MB / 321.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.05382, allocations: 4.25 kB / 321.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008137/0.05464, allocations: 1.012 MB / 322.7 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.05551, allocations: 214.1 kB / 322.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.05853, allocations: 1.88 MB / 324.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.05873, allocations: 198.9 kB / 325 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.05917, allocations: 119.6 kB / 325.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.05967, allocations: 290 kB / 325.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.353e-06/0.05967, allocations: 0 / 325.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Templates: time 0.02593/0.0856, allocations: 14.01 MB / 339.4 MB, free: 1.289 MB / 314.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.2661615130491555]