Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 190 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke")
translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 51.91 kB / 370.9 MB, free: 9.379 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2537, allocations: 52.17 MB / 423.1 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008325/0.262, allocations: 6.387 MB / 429.5 MB, free: 8.305 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003778/0.2658, allocations: 1.846 MB / 431.3 MB, free: 6.449 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.2663, allocations: 23.88 kB / 431.4 MB, free: 6.426 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.2669, allocations: 214 kB / 431.6 MB, free: 6.215 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.2678, allocations: 400.9 kB / 432 MB, free: 5.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.2686, allocations: 375.6 kB / 432.3 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001657/0.2702, allocations: 1.495 MB / 433.8 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.2708, allocations: 353.5 kB / 434.2 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.2715, allocations: 0.5568 MB / 434.7 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007159/0.2722, allocations: 0.5991 MB / 435.3 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.2724, allocations: 160 kB / 435.5 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.2726, allocations: 156 kB / 435.6 MB, free: 2.117 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.2729, allocations: 307 kB / 435.9 MB, free: 1.816 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000649/0.2736, allocations: 0.6379 MB / 436.6 MB, free: 1.176 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002125/0.2757, allocations: 1.858 MB / 438.4 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2757, allocations: 0 / 438.4 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.703e-06/0.2757, allocations: 0 / 438.4 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.488e-05/0.2757, allocations: 0 / 438.4 MB, free: 15.31 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: 245
 * Number of variables: 245
Notification: Performance of Generate backend data structure: time 0.003323/0.279, allocations: 1.396 MB / 439.8 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2791, allocations: 8.031 kB / 439.8 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.2793, allocations: 128.1 kB / 440 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.2805, allocations: 0.6194 MB / 440.6 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.2806, allocations: 78.31 kB / 440.7 MB, free: 13.03 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.2807, allocations: 96.33 kB / 440.8 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.2828, allocations: 1.009 MB / 441.8 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.2828, allocations: 4 kB / 441.8 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.2829, allocations: 40 kB / 441.8 MB, free: 11.87 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.2829, allocations: 27.98 kB / 441.8 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.2849, allocations: 0.8601 MB / 442.7 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005243/0.2902, allocations: 3.244 MB / 445.9 MB, free: 7.617 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.2917, allocations: 0.7771 MB / 446.7 MB, free: 6.824 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009488/0.2927, allocations: 439.6 kB / 447.1 MB, free: 6.391 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.567e-05/0.2927, allocations: 12.36 kB / 447.2 MB, free: 6.379 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.2927, allocations: 39.06 kB / 447.2 MB, free: 6.332 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=91): time 2.415e-06/0.2928, allocations: 0 / 447.2 MB, free: 6.332 MB / 350.1 MB
Notification: Performance of matching and sorting (n=115): time 0.01015/0.3029, allocations: 3.942 MB / 451.1 MB, free: 2.277 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.303, allocations: 97.7 kB / 451.2 MB, free: 2.164 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3042, allocations: 0.6007 MB / 451.8 MB, free: 1.555 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3043, allocations: 45.7 kB / 451.9 MB, free: 1.504 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.3048, allocations: 437.1 kB / 452.3 MB, free: 1.07 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.3052, allocations: 412.4 kB / 452.7 MB, free: 0.6641 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/0.3057, allocations: 178.9 kB / 452.9 MB, free: 496 kB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003432/0.3061, allocations: 398.7 kB / 453.3 MB, free: 88 kB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.3076, allocations: 378.4 kB / 453.6 MB, free: 15.71 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.3091, allocations: 0.5158 MB / 454.2 MB, free: 15.17 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.3119, allocations: 0.8771 MB / 455 MB, free: 14.25 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3119, allocations: 0 / 455 MB, free: 14.25 MB / 366.1 MB
Notification: Performance of matching and sorting (n=140) (initialization): time 0.003746/0.3156, allocations: 1.193 MB / 456.2 MB, free: 13.04 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3156, allocations: 8 kB / 456.2 MB, free: 13.04 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3157, allocations: 3.938 kB / 456.2 MB, free: 13.03 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.3162, allocations: 134.5 kB / 456.4 MB, free: 12.89 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.3179, allocations: 247.7 kB / 456.6 MB, free: 12.65 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004629/0.3225, allocations: 4.656 MB / 461.3 MB, free: 7.652 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008197/0.3233, allocations: 48 kB / 461.3 MB, free: 7.605 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.3234, allocations: 43.98 kB / 461.4 MB, free: 7.562 MB / 366.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 (128):
 * Single equations (assignments): 125
 * 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.000507/0.3239, allocations: 283.3 kB / 461.6 MB, free: 7.277 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.3241, allocations: 99.38 kB / 461.7 MB, free: 7.18 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.3259, allocations: 0.7605 MB / 462.5 MB, free: 6.398 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3259, allocations: 12 kB / 462.5 MB, free: 6.387 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3259, allocations: 4 kB / 462.5 MB, free: 6.383 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3259, allocations: 3.984 kB / 462.5 MB, free: 6.379 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/0.3306, allocations: 2.63 MB / 465.1 MB, free: 3.656 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3306, allocations: 4 kB / 465.1 MB, free: 3.652 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009621/0.3316, allocations: 207.8 kB / 465.3 MB, free: 3.449 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004619/0.332, allocations: 151.3 kB / 465.5 MB, free: 3.289 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.3321, allocations: 31.92 kB / 465.5 MB, free: 3.258 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00508/0.3372, allocations: 5.58 MB / 471.1 MB, free: 13.22 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3372, allocations: 7.969 kB / 471.1 MB, free: 13.21 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.3408, allocations: 1.738 MB / 472.8 MB, free: 11.44 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.3411, allocations: 91.48 kB / 472.9 MB, free: 11.35 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3412, allocations: 19.98 kB / 473 MB, free: 11.33 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/0.3419, allocations: 51.97 kB / 473 MB, free: 11.28 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.342, allocations: 84.44 kB / 473.1 MB, free: 11.2 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.3421, allocations: 40.05 kB / 473.1 MB, free: 11.16 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0007052/0.3428, allocations: 443.1 kB / 473.6 MB, free: 10.72 MB / 382.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.3428, allocations: 0 / 473.6 MB, free: 10.72 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0009445/0.3438, allocations: 256 kB / 473.8 MB, free: 10.47 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 (104):
 * Single equations (assignments): 100
 * 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.0001969/0.344, allocations: 133.6 kB / 473.9 MB, free: 10.34 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.00265/0.3466, allocations: 1.291 MB / 475.2 MB, free: 9 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3466, allocations: 0.625 kB / 475.2 MB, free: 9 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00167/0.3483, allocations: 0.971 MB / 476.2 MB, free: 7.98 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.3494, allocations: 188.3 kB / 476.4 MB, free: 7.801 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.3535, allocations: 2.155 MB / 478.5 MB, free: 5.605 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006927/0.3542, allocations: 1.032 MB / 479.6 MB, free: 4.547 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0005407/0.3547, allocations: 123.5 kB / 479.7 MB, free: 4.422 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.355, allocations: 79.42 kB / 479.8 MB, free: 4.344 MB / 382.1 MB
Notification: Performance of SimCode: time 1.403e-06/0.355, allocations: 0 / 479.8 MB, free: 4.344 MB / 382.1 MB
Notification: Performance of Templates: time 0.02552/0.3805, allocations: 12.86 MB / 492.6 MB, free: 7.582 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.956173961050808]