Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.002108/0.002108, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002119/0.002119, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 68.77 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2618, allocations: 53.37 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008822/0.2706, allocations: 6.504 MB / 438.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2747, allocations: 1.917 MB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.2755, allocations: 19.94 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.2762, allocations: 222 kB / 441.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.2774, allocations: 436.6 kB / 441.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.2782, allocations: 371.5 kB / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.2802, allocations: 1.506 MB / 443.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006369/0.2808, allocations: 353.9 kB / 443.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.2817, allocations: 0.5724 MB / 444.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000803/0.2825, allocations: 0.6068 MB / 444.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.2827, allocations: 160 kB / 445 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2829, allocations: 172 kB / 445.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.2832, allocations: 299.1 kB / 445.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.2839, allocations: 0.6611 MB / 446.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.286, allocations: 1.891 MB / 448.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.286, allocations: 0 / 448.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.286, allocations: 0 / 448.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.2861, allocations: 7.938 kB / 448.1 MB, free: 7.203 MB / 350.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.003088/0.2891, allocations: 1.4 MB / 449.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2892, allocations: 8.031 kB / 449.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.2898, allocations: 152.1 kB / 449.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.2911, allocations: 0.6384 MB / 450.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.2911, allocations: 74 kB / 450.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.2913, allocations: 96 kB / 450.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.2932, allocations: 0.9779 MB / 451.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.2932, allocations: 7.953 kB / 451.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.2933, allocations: 40 kB / 451.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.2934, allocations: 24 kB / 451.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.295, allocations: 0.7938 MB / 452.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/0.3006, allocations: 3.252 MB / 455.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.302, allocations: 0.7539 MB / 456.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.3028, allocations: 406.8 kB / 456.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.449e-05/0.3029, allocations: 16.42 kB / 456.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.3029, allocations: 43.69 kB / 456.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.236e-06/0.3029, allocations: 4 kB / 456.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008947/0.3119, allocations: 3.822 MB / 460.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.3119, allocations: 93.7 kB / 460.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/0.3129, allocations: 0.6408 MB / 461.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.816e-05/0.3129, allocations: 45.7 kB / 461.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.3133, allocations: 445.1 kB / 461.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.3137, allocations: 428.3 kB / 462.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.314, allocations: 190.9 kB / 462.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.3142, allocations: 402.7 kB / 462.8 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.3149, allocations: 342.5 kB / 463.1 MB, free: 7.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/0.3158, allocations: 492.7 kB / 463.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.3174, allocations: 0.851 MB / 464.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3174, allocations: 3.938 kB / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0023/0.3197, allocations: 1.15 MB / 465.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3197, allocations: 8 kB / 465.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3197, allocations: 0 / 465.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/0.3202, allocations: 122.5 kB / 465.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3212, allocations: 247.7 kB / 465.9 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/0.3257, allocations: 4.666 MB / 470.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/0.3265, allocations: 31.98 kB / 470.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.3266, allocations: 43.98 kB / 470.7 MB, free: 15.74 MB / 382.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.0005337/0.3271, allocations: 279.8 kB / 471 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.3273, allocations: 99.33 kB / 471.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.3289, allocations: 0.7414 MB / 471.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.3289, allocations: 12 kB / 471.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3289, allocations: 4 kB / 471.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3289, allocations: 7.969 kB / 471.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.3333, allocations: 2.576 MB / 474.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3333, allocations: 7.922 kB / 474.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.3342, allocations: 191.8 kB / 474.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/0.3347, allocations: 159.3 kB / 474.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.3347, allocations: 27.94 kB / 474.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/0.3396, allocations: 5.58 MB / 480.4 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3396, allocations: 0 / 480.4 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.3427, allocations: 1.661 MB / 482 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.3432, allocations: 179.3 kB / 482.2 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3433, allocations: 27.94 kB / 482.2 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.3439, allocations: 35.98 kB / 482.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.3441, allocations: 88.42 kB / 482.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.3442, allocations: 32 kB / 482.4 MB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006569/0.3449, allocations: 463 kB / 482.8 MB, free: 2.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3449, allocations: 0 / 482.8 MB, free: 2.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009872/0.3459, allocations: 260 kB / 483.1 MB, free: 2.723 MB / 382.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.0002098/0.3461, allocations: 145.5 kB / 483.2 MB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002546/0.3486, allocations: 1.227 MB / 484.4 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.3486, allocations: 0 / 484.4 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.3501, allocations: 0.9398 MB / 485.4 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3512, allocations: 205.2 kB / 485.6 MB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.3555, allocations: 2.193 MB / 487.8 MB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/0.3563, allocations: 1.033 MB / 488.8 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005613/0.3569, allocations: 128 kB / 488.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.3571, allocations: 79.42 kB / 489 MB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3571, allocations: 0 / 489 MB, free: 12.62 MB / 398.1 MB Notification: Performance of Templates: time 0.0269/0.384, allocations: 13.38 MB / 0.4906 GB, free: 15.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.215775987133384]