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.ForceStrokeBehaviour.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.001803/0.001803, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002386/0.002386, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.42/1.42, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [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.002027/0.002027, allocations: 67.89 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2271, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00718/0.2343, allocations: 4.725 MB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.2381, allocations: 2.01 MB / 438.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.2386, allocations: 8 kB / 438.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.2396, allocations: 430.2 kB / 439.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.2408, allocations: 477.5 kB / 439.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.2417, allocations: 323.4 kB / 440 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.2431, allocations: 1.032 MB / 441 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004101/0.2435, allocations: 214.6 kB / 441.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006962/0.2442, allocations: 430.6 kB / 441.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/0.245, allocations: 0.5255 MB / 442.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.2452, allocations: 96 kB / 442.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002871/0.2454, allocations: 136 kB / 442.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.2457, allocations: 243.1 kB / 442.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005359/0.2462, allocations: 465.6 kB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.2477, allocations: 1.305 MB / 444.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2477, allocations: 0 / 444.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2477, allocations: 0 / 444.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.2477, allocations: 4 kB / 444.4 MB, free: 10.98 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002286/0.25, allocations: 1.237 MB / 445.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.25, allocations: 12.03 kB / 445.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.2505, allocations: 136.2 kB / 445.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.2515, allocations: 0.5718 MB / 446.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.2515, allocations: 49.31 kB / 446.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.2516, allocations: 59.98 kB / 446.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.2528, allocations: 0.6324 MB / 447.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.2529, allocations: 0 / 447.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.2529, allocations: 24 kB / 447.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2529, allocations: 16 kB / 447.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2541, allocations: 0.5204 MB / 447.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.258, allocations: 2.549 MB / 450.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.2589, allocations: 448.8 kB / 450.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006554/0.2596, allocations: 270 kB / 450.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.2596, allocations: 8.422 kB / 450.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2597, allocations: 39 kB / 451 MB, free: 4.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.974e-06/0.2597, allocations: 4 kB / 451 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00441/0.2641, allocations: 1.459 MB / 452.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2641, allocations: 59.97 kB / 452.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.2654, allocations: 0.9654 MB / 453.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.2654, allocations: 37.7 kB / 453.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.2658, allocations: 412.7 kB / 453.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.2659, allocations: 226.1 kB / 454.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.2661, allocations: 118.6 kB / 454.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2663, allocations: 334 kB / 454.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.2668, allocations: 229.9 kB / 454.8 MB, free: 300 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.2675, allocations: 327.1 kB / 455.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.2686, allocations: 0.544 MB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2686, allocations: 0 / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001486/0.2701, allocations: 0.7191 MB / 456.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2701, allocations: 8 kB / 456.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2701, allocations: 4 kB / 456.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2702, allocations: 4.281 kB / 456.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.2709, allocations: 167.8 kB / 456.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.2709, allocations: 4 kB / 456.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.2714, allocations: 35.97 kB / 456.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.2715, allocations: 20 kB / 456.6 MB, free: 14.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003512/0.2718, allocations: 277.5 kB / 456.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.272, allocations: 91.38 kB / 457 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.2733, allocations: 0.6126 MB / 457.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2733, allocations: 7.922 kB / 457.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2733, allocations: 0 / 457.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.2736, allocations: 204.5 kB / 457.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-05/0.2737, allocations: 12 kB / 457.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.2741, allocations: 31.97 kB / 457.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.2742, allocations: 36.52 kB / 457.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001501/0.2757, allocations: 0.6588 MB / 458.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001236/0.277, allocations: 0.7406 MB / 459.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004879/0.2774, allocations: 228.4 kB / 459.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000867/0.2783, allocations: 0.6982 MB / 460.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of Backend: time 3.5e-07/0.2783, allocations: 0 / 460.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002654/0.281, allocations: 0.7798 MB / 461 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.002506/0.2835, allocations: 1.881 MB / 462.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01855/0.302, allocations: 10.09 MB / 472.9 MB, free: 14.24 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.614001156762242]