Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 84.98 kB / 23 MB, free: 1.496 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 177.5 kB / 26.4 MB, free: 8.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.004/1.004, allocations: 158.6 MB / 188.3 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.342e-05, allocations: 6.25 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006839/0.006862, allocations: 6.106 MB / 258.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.01035, allocations: 2.112 MB / 260.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006313/0.01099, allocations: 23.88 kB / 260.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.01168, allocations: 349.7 kB / 260.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.01278, allocations: 0.508 MB / 261.4 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.01354, allocations: 439.3 kB / 261.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.01499, allocations: 1.584 MB / 263.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.0154, allocations: 329.9 kB / 263.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.01622, allocations: 0.8889 MB / 264.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.01676, allocations: 0.5338 MB / 265.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.01692, allocations: 152 kB / 265.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.01713, allocations: 183.9 kB / 265.4 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.01733, allocations: 330.9 kB / 265.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.01769, allocations: 462.9 kB / 266.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008433/0.01853, allocations: 1.016 MB / 267.2 MB, free: 8.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01854, allocations: 0 / 267.2 MB, free: 8.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01854, allocations: 0 / 267.2 MB, free: 8.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.01855, allocations: 0 / 267.2 MB, free: 8.176 MB / 250.7 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.001614/0.02016, allocations: 1.546 MB / 268.8 MB, free: 6.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.0202, allocations: 8.031 kB / 268.8 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.02041, allocations: 216.1 kB / 269 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.02103, allocations: 0.6318 MB / 269.6 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.02108, allocations: 74.38 kB / 269.7 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.02118, allocations: 92.38 kB / 269.8 MB, free: 5.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007994/0.02198, allocations: 0.7339 MB / 270.5 MB, free: 4.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.022, allocations: 7.891 kB / 270.5 MB, free: 4.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.02206, allocations: 40 kB / 270.6 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.02208, allocations: 27.94 kB / 270.6 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.0225, allocations: 319.8 kB / 270.9 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.02543, allocations: 2.664 MB / 273.6 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.02626, allocations: 473.7 kB / 274 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.02644, allocations: 159.2 kB / 274.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.02647, allocations: 12.38 kB / 274.2 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.0265, allocations: 49.33 kB / 274.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=58): time 2.244e-06/0.0265, allocations: 0 / 274.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of matching and sorting (n=67): time 0.001362/0.02787, allocations: 0.8347 MB / 275.1 MB, free: 64 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.02792, allocations: 85.16 kB / 275.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.02842, allocations: 0.7136 MB / 275.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.02846, allocations: 37.7 kB / 275.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.02874, allocations: 0.6039 MB / 276.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.02886, allocations: 241.9 kB / 276.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.02904, allocations: 172.1 kB / 276.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.02922, allocations: 0.5818 MB / 277.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.02938, allocations: 97.91 kB / 277.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.02964, allocations: 358.7 kB / 278 MB, free: 13.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.03009, allocations: 491.9 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.03009, allocations: 0 / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007111/0.0308, allocations: 0.5828 MB / 279 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.03082, allocations: 8 kB / 279 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.03083, allocations: 8 kB / 279 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.03085, allocations: 8 kB / 279 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.03143, allocations: 243.7 kB / 279.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.03144, allocations: 12.17 kB / 279.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.0318, allocations: 51.91 kB / 279.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.03187, allocations: 31.98 kB / 279.4 MB, free: 11.5 MB / 266.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.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.0002943/0.03216, allocations: 212.4 kB / 279.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.03229, allocations: 111.4 kB / 279.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.03259, allocations: 221.1 kB / 279.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.03259, allocations: 8 kB / 279.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.0326, allocations: 0 / 279.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.03261, allocations: 15.91 kB / 279.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.0344, allocations: 1.561 MB / 281.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.03441, allocations: 11.94 kB / 281.5 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.03479, allocations: 184.3 kB / 281.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.0348, allocations: 8 kB / 281.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.03484, allocations: 23.98 kB / 281.7 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.03485, allocations: 12 kB / 281.7 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.03486, allocations: 11.94 kB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.03556, allocations: 0.9091 MB / 282.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.03567, allocations: 111.3 kB / 282.8 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.03575, allocations: 20 kB / 282.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.03602, allocations: 35.97 kB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.0361, allocations: 59.8 kB / 282.9 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.03614, allocations: 27.98 kB / 282.9 MB, free: 7.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003298/0.03647, allocations: 442.8 kB / 283.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03647, allocations: 0 / 283.3 MB, free: 7.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005919/0.03706, allocations: 204 kB / 283.5 MB, free: 7.035 MB / 266.7 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.0007819/0.03784, allocations: 372 kB / 283.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000516/0.03835, allocations: 385.1 kB / 284.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.03836, allocations: 4 kB / 284.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.03856, allocations: 186.7 kB / 284.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.03927, allocations: 205.6 kB / 284.7 MB, free: 5.953 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.04167, allocations: 1.744 MB / 286.4 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.04181, allocations: 184.6 kB / 286.6 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003203/0.04213, allocations: 102.4 kB / 286.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.04249, allocations: 254.1 kB / 286.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.0425, allocations: 4 kB / 286.9 MB, free: 3.488 MB / 266.7 MB Notification: Performance of Templates: time 0.02185/0.06435, allocations: 11.34 MB / 298.3 MB, free: 8.137 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0609150412492454]