Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001891/0.001891, allocations: 105 kB / 21.22 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.002196/0.002196, allocations: 208.3 kB / 24.53 MB, free: 4.012 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2351, allocations: 53.36 MB / 432.1 MB, free: 7.059 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006484/0.2416, allocations: 4.719 MB / 436.8 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003555/0.2452, allocations: 2.014 MB / 438.9 MB, free: 304 kB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.2456, allocations: 11.94 kB / 438.9 MB, free: 292 kB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008108/0.2464, allocations: 422.3 kB / 439.3 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009163/0.2473, allocations: 481.4 kB / 439.7 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.248, allocations: 331 kB / 440.1 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001137/0.2491, allocations: 1.036 MB / 441.1 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.2495, allocations: 210.7 kB / 441.3 MB, free: 13.83 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.25, allocations: 442.5 kB / 441.7 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.2507, allocations: 0.5294 MB / 442.3 MB, free: 12.87 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2508, allocations: 96 kB / 442.4 MB, free: 12.77 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.251, allocations: 144 kB / 442.5 MB, free: 12.63 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.2513, allocations: 243.1 kB / 442.7 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.2517, allocations: 457.6 kB / 443.2 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2531, allocations: 1.302 MB / 444.5 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2531, allocations: 0 / 444.5 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.051e-06/0.2531, allocations: 0 / 444.5 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.12e-05/0.2531, allocations: 0 / 444.5 MB, free: 10.64 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.002303/0.2554, allocations: 1.166 MB / 445.7 MB, free: 9.438 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2554, allocations: 12.02 kB / 445.7 MB, free: 9.426 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.2559, allocations: 124.3 kB / 445.8 MB, free: 9.305 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009826/0.2569, allocations: 0.5195 MB / 446.3 MB, free: 8.762 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.257, allocations: 49.69 kB / 446.4 MB, free: 8.715 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2571, allocations: 63.94 kB / 446.4 MB, free: 8.652 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.2583, allocations: 0.6246 MB / 447 MB, free: 8.012 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.2584, allocations: 3.984 kB / 447 MB, free: 8.008 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.2584, allocations: 28 kB / 447.1 MB, free: 7.98 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.2584, allocations: 16 kB / 447.1 MB, free: 7.965 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.2596, allocations: 0.5204 MB / 447.6 MB, free: 7.441 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.2639, allocations: 2.472 MB / 450.1 MB, free: 4.836 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009803/0.2648, allocations: 449.2 kB / 450.5 MB, free: 4.391 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/0.2655, allocations: 269.5 kB / 450.8 MB, free: 4.129 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.2656, allocations: 8.438 kB / 450.8 MB, free: 4.121 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.2656, allocations: 38.98 kB / 450.8 MB, free: 4.07 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=50): time 2.434e-06/0.2656, allocations: 4 kB / 450.8 MB, free: 4.066 MB / 350.1 MB
Notification: Performance of matching and sorting (n=63): time 0.004782/0.2704, allocations: 1.456 MB / 452.3 MB, free: 2.613 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.2704, allocations: 60.05 kB / 452.4 MB, free: 2.543 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.2717, allocations: 0.9655 MB / 453.3 MB, free: 1.566 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.2718, allocations: 41.7 kB / 453.4 MB, free: 1.52 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.2721, allocations: 416.7 kB / 453.8 MB, free: 1.105 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.2723, allocations: 226 kB / 454 MB, free: 0.8828 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.2725, allocations: 118.6 kB / 454.1 MB, free: 0.7617 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001522/0.2727, allocations: 334 kB / 454.4 MB, free: 440 kB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.2732, allocations: 225.9 kB / 454.6 MB, free: 212 kB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.2739, allocations: 327 kB / 455 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2751, allocations: 0.5521 MB / 455.5 MB, free: 15.27 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2751, allocations: 4 kB / 455.5 MB, free: 15.27 MB / 366.1 MB
Notification: Performance of matching and sorting (n=85) (initialization): time 0.001575/0.2767, allocations: 0.7115 MB / 456.2 MB, free: 14.55 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2767, allocations: 8 kB / 456.2 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2767, allocations: 0 / 456.2 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2767, allocations: 4 kB / 456.2 MB, free: 14.54 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.2775, allocations: 171.8 kB / 456.4 MB, free: 14.37 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.2776, allocations: 7.938 kB / 456.4 MB, free: 14.36 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.2781, allocations: 32.05 kB / 456.5 MB, free: 14.33 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.2781, allocations: 27.98 kB / 456.5 MB, free: 14.3 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.00043/0.2786, allocations: 269.6 kB / 456.7 MB, free: 14.03 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2787, allocations: 91.38 kB / 456.8 MB, free: 13.94 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.2801, allocations: 0.6111 MB / 457.4 MB, free: 13.32 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.2802, allocations: 8 kB / 457.5 MB, free: 13.31 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2802, allocations: 0 / 457.5 MB, free: 13.31 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2802, allocations: 0 / 457.5 MB, free: 13.31 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.2833, allocations: 1.76 MB / 459.2 MB, free: 11.43 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.2833, allocations: 11.88 kB / 459.2 MB, free: 11.42 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.2839, allocations: 119.9 kB / 459.3 MB, free: 11.3 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.2839, allocations: 8 kB / 459.3 MB, free: 11.29 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.284, allocations: 19.98 kB / 459.4 MB, free: 11.27 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.284, allocations: 7.938 kB / 459.4 MB, free: 11.27 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.284, allocations: 4.312 kB / 459.4 MB, free: 11.26 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.2853, allocations: 0.7338 MB / 460.1 MB, free: 10.48 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2856, allocations: 131.4 kB / 460.2 MB, free: 10.35 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.2857, allocations: 15.98 kB / 460.3 MB, free: 10.34 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.2861, allocations: 31.98 kB / 460.3 MB, free: 10.3 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2862, allocations: 48.3 kB / 460.3 MB, free: 10.26 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.2862, allocations: 19.98 kB / 460.4 MB, free: 10.24 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0008743/0.2871, allocations: 0.702 MB / 461.1 MB, free: 9.543 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2871, allocations: 0 / 461.1 MB, free: 9.543 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006146/0.2877, allocations: 163.9 kB / 461.2 MB, free: 9.383 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (63):
 * Single equations (assignments): 63
 * 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 Backend phase and start with SimCode phase: time 0.001377/0.2891, allocations: 352.8 kB / 461.6 MB, free: 9.145 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001323/0.2904, allocations: 0.5307 MB / 462.1 MB, free: 8.609 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2904, allocations: 0 / 462.1 MB, free: 8.609 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.291, allocations: 259.5 kB / 462.3 MB, free: 8.359 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.2918, allocations: 141.9 kB / 462.5 MB, free: 8.227 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.2947, allocations: 1.609 MB / 464.1 MB, free: 6.555 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.2953, allocations: 0.9747 MB / 465.1 MB, free: 5.551 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.000387/0.2957, allocations: 97.17 kB / 465.2 MB, free: 5.457 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.2959, allocations: 59.42 kB / 465.2 MB, free: 5.398 MB / 366.1 MB
Notification: Performance of SimCode: time 4.1e-07/0.2959, allocations: 0 / 465.2 MB, free: 5.398 MB / 366.1 MB
Notification: Performance of Templates: time 0.01706/0.3129, allocations: 8.526 MB / 473.7 MB, free: 12.93 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.916855585761368]