Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001337/0.001337, allocations: 112 kB / 20.43 MB, free: 1.457 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.001409/0.001409, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.418/1.418, allocations: 225.6 MB / 252.5 MB, free: 13 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour")
translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 370.9 MB, free: 9.328 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2412, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008782/0.25, allocations: 6.469 MB / 429.6 MB, free: 8.176 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003912/0.2539, allocations: 2.212 MB / 431.8 MB, free: 5.953 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005575/0.2545, allocations: 23.88 kB / 431.8 MB, free: 5.93 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008141/0.2553, allocations: 357.8 kB / 432.2 MB, free: 5.578 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2563, allocations: 496.7 kB / 432.7 MB, free: 5.09 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.2572, allocations: 455.3 kB / 433.1 MB, free: 4.645 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001749/0.2589, allocations: 1.538 MB / 434.6 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.2595, allocations: 351.5 kB / 435 MB, free: 2.734 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007048/0.2602, allocations: 0.5957 MB / 435.6 MB, free: 2.137 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008021/0.261, allocations: 0.6732 MB / 436.3 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.2612, allocations: 160 kB / 436.4 MB, free: 1.305 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.2615, allocations: 188 kB / 436.6 MB, free: 1.121 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.2618, allocations: 319 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006687/0.2625, allocations: 0.6688 MB / 437.6 MB, free: 140 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002066/0.2646, allocations: 1.946 MB / 439.5 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2646, allocations: 0 / 439.5 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of FrontEnd: time 9.12e-07/0.2646, allocations: 0 / 439.5 MB, free: 14.18 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.643e-05/0.2646, allocations: 0 / 439.5 MB, free: 14.18 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: 242
 * Number of variables: 242
Notification: Performance of Generate backend data structure: time 0.003374/0.268, allocations: 1.501 MB / 441 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.268, allocations: 12.03 kB / 441 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2683, allocations: 136.1 kB / 441.2 MB, free: 12.5 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.2696, allocations: 0.655 MB / 441.8 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.2697, allocations: 74.38 kB / 441.9 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.2698, allocations: 100.1 kB / 442 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.272, allocations: 1.009 MB / 443 MB, free: 10.63 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.272, allocations: 4 kB / 443 MB, free: 10.62 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.2721, allocations: 40 kB / 443 MB, free: 10.59 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.2722, allocations: 24 kB / 443.1 MB, free: 10.56 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.2744, allocations: 0.8835 MB / 444 MB, free: 9.68 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005894/0.2803, allocations: 3.539 MB / 447.5 MB, free: 5.977 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.2836, allocations: 0.8675 MB / 448.4 MB, free: 5.09 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000871/0.2845, allocations: 342.4 kB / 448.7 MB, free: 4.754 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.2845, allocations: 11.97 kB / 448.7 MB, free: 4.742 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2845, allocations: 46.42 kB / 448.8 MB, free: 4.688 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.2845, allocations: 0 / 448.8 MB, free: 4.688 MB / 350.1 MB
Notification: Performance of matching and sorting (n=67): time 0.005427/0.29, allocations: 1.808 MB / 450.6 MB, free: 2.871 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.29, allocations: 89.11 kB / 450.6 MB, free: 2.766 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.2914, allocations: 0.978 MB / 451.6 MB, free: 1.777 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.2915, allocations: 37.7 kB / 451.7 MB, free: 1.734 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.2919, allocations: 0.5389 MB / 452.2 MB, free: 1.188 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.2921, allocations: 238 kB / 452.4 MB, free: 0.9531 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.2924, allocations: 158.5 kB / 452.6 MB, free: 0.793 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001544/0.2926, allocations: 334 kB / 452.9 MB, free: 472 kB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.2936, allocations: 349.7 kB / 453.3 MB, free: 120 kB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.2948, allocations: 0.5223 MB / 453.8 MB, free: 15.51 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.2968, allocations: 0.8242 MB / 454.6 MB, free: 14.62 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2968, allocations: 0 / 454.6 MB, free: 14.62 MB / 366.1 MB
Notification: Performance of matching and sorting (n=108) (initialization): time 0.002541/0.2993, allocations: 1.016 MB / 455.6 MB, free: 13.59 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2994, allocations: 11.94 kB / 455.6 MB, free: 13.58 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.2994, allocations: 8.344 kB / 455.6 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.2994, allocations: 12 kB / 455.7 MB, free: 13.56 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.3007, allocations: 287.5 kB / 455.9 MB, free: 13.28 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.3008, allocations: 8 kB / 455.9 MB, free: 13.27 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008565/0.3016, allocations: 75.92 kB / 456 MB, free: 13.2 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.3017, allocations: 28 kB / 456 MB, free: 13.17 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * 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 (108):
 * Single equations (assignments): 108
 * 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.0004628/0.3021, allocations: 285.6 kB / 456.3 MB, free: 12.88 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.3023, allocations: 111.3 kB / 456.4 MB, free: 12.77 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.3034, allocations: 390.2 kB / 456.8 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3034, allocations: 4 kB / 456.8 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3034, allocations: 3.938 kB / 456.8 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.3034, allocations: 7.984 kB / 456.8 MB, free: 12.37 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.3079, allocations: 2.264 MB / 459.1 MB, free: 9.977 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.3079, allocations: 4 kB / 459.1 MB, free: 9.973 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/0.3089, allocations: 212.1 kB / 459.3 MB, free: 9.766 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.3089, allocations: 8 kB / 459.3 MB, free: 9.758 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.3089, allocations: 23.94 kB / 459.3 MB, free: 9.734 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/0.309, allocations: 15.98 kB / 459.3 MB, free: 9.719 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.309, allocations: 11.88 kB / 459.4 MB, free: 9.707 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.3109, allocations: 1.045 MB / 460.4 MB, free: 8.559 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.3112, allocations: 111.3 kB / 460.5 MB, free: 8.449 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.3113, allocations: 23.98 kB / 460.5 MB, free: 8.426 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.312, allocations: 55.95 kB / 460.6 MB, free: 8.371 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3121, allocations: 67.66 kB / 460.7 MB, free: 8.305 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.3122, allocations: 24 kB / 460.7 MB, free: 8.281 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.000978/0.3132, allocations: 0.6826 MB / 461.4 MB, free: 7.602 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.3132, allocations: 0 / 461.4 MB, free: 7.602 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0008453/0.314, allocations: 212 kB / 461.6 MB, free: 7.395 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 29
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (67):
 * Single equations (assignments): 67
 * 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.001361/0.3154, allocations: 382.2 kB / 461.9 MB, free: 7.145 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002024/0.3174, allocations: 0.7343 MB / 462.7 MB, free: 6.414 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3174, allocations: 320 / 462.7 MB, free: 6.414 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009071/0.3183, allocations: 357.3 kB / 463 MB, free: 6.066 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3195, allocations: 205.1 kB / 463.2 MB, free: 5.867 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.323, allocations: 1.929 MB / 465.2 MB, free: 3.82 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.3237, allocations: 1.018 MB / 466.2 MB, free: 2.777 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0005306/0.3242, allocations: 127.2 kB / 466.3 MB, free: 2.648 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.3245, allocations: 75.41 kB / 466.4 MB, free: 2.574 MB / 366.1 MB
Notification: Performance of SimCode: time 6.01e-07/0.3245, allocations: 3.938 kB / 466.4 MB, free: 2.57 MB / 366.1 MB
Notification: Performance of Templates: time 0.02208/0.3465, allocations: 11.3 MB / 477.7 MB, free: 7.375 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.76196550950408]