Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0007884/0.0007884, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001871, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007129/0.0007129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008814/0.001594, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9887/0.9887, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07917/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.682e-05, allocations: 5.828 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005456/0.005473, allocations: 4.649 MB / 249.4 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.008463, allocations: 2.033 MB / 251.4 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.008772, allocations: 15.88 kB / 251.4 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.009364, allocations: 414.1 kB / 251.8 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.0101, allocations: 485.1 kB / 252.3 MB, free: 6.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.01064, allocations: 323.2 kB / 252.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.01174, allocations: 1.059 MB / 253.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.01201, allocations: 208.9 kB / 253.9 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.01272, allocations: 0.7067 MB / 254.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.01316, allocations: 423 kB / 255 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01327, allocations: 92 kB / 255.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.01348, allocations: 128 kB / 255.2 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.01363, allocations: 187.4 kB / 255.4 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.01385, allocations: 251.4 kB / 255.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.01455, allocations: 0.6733 MB / 256.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.01456, allocations: 4 kB / 256.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.01456, allocations: 0 / 256.3 MB, free: 2.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.01457, allocations: 0 / 256.3 MB, free: 2.562 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001448/0.01602, allocations: 1.281 MB / 257.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.01605, allocations: 11.98 kB / 257.6 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.01645, allocations: 217.9 kB / 257.8 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.01694, allocations: 402 kB / 258.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.01699, allocations: 45.69 kB / 258.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.01706, allocations: 60.12 kB / 258.3 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.01766, allocations: 485.8 kB / 258.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.01768, allocations: 3.984 kB / 258.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.01773, allocations: 31.98 kB / 258.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.01774, allocations: 16 kB / 258.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.01805, allocations: 181 kB / 259 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.02032, allocations: 1.452 MB / 260.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.02067, allocations: 244 kB / 260.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.02091, allocations: 150.2 kB / 260.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.02095, allocations: 16.5 kB / 260.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.02098, allocations: 35.06 kB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 3.136e-06/0.02098, allocations: 4 kB / 260.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001521/0.0225, allocations: 0.7744 MB / 261.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.02253, allocations: 60 kB / 261.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.02307, allocations: 0.642 MB / 262.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.0231, allocations: 37.7 kB / 262.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.02326, allocations: 330.4 kB / 262.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.02339, allocations: 226 kB / 263 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.02354, allocations: 122.6 kB / 263.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.02367, allocations: 390.6 kB / 263.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.02379, allocations: 65.95 kB / 263.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.02397, allocations: 171.1 kB / 263.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.02433, allocations: 303.5 kB / 264 MB, free: 10.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02433, allocations: 0 / 264 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000463/0.02479, allocations: 341.1 kB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02481, allocations: 6.344 kB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.02482, allocations: 4 kB / 264.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.02483, allocations: 7.984 kB / 264.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.0254, allocations: 203.9 kB / 264.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.0254, allocations: 7.984 kB / 264.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.02564, allocations: 31.94 kB / 264.6 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.02567, allocations: 16 kB / 264.6 MB, free: 9.984 MB / 266.7 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.0001495/0.02582, allocations: 144.5 kB / 264.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.256e-05/0.02591, allocations: 63.94 kB / 264.8 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.02635, allocations: 329.2 kB / 265.1 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.02635, allocations: 4 kB / 265.1 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.02636, allocations: 7.938 kB / 265.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.02636, allocations: 4 kB / 265.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.02756, allocations: 0.9143 MB / 266 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.02757, allocations: 12.03 kB / 266.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.02796, allocations: 143.8 kB / 266.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.0281, allocations: 75.47 kB / 266.3 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/0.02811, allocations: 4 kB / 266.3 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.02813, allocations: 15.98 kB / 266.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.02814, allocations: 11.94 kB / 266.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02814, allocations: 0 / 266.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.02854, allocations: 444.3 kB / 266.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.0286, allocations: 16 kB / 266.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.02883, allocations: 23.98 kB / 266.8 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.0289, allocations: 52.3 kB / 266.8 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.02892, allocations: 12 kB / 266.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005285/0.02945, allocations: 327.4 kB / 267.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02945, allocations: 0 / 267.2 MB, free: 7.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.02986, allocations: 159.9 kB / 267.3 MB, free: 7.117 MB / 266.7 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.001232/0.0311, allocations: 0.4967 MB / 267.8 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.03149, allocations: 300.2 kB / 268.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.03151, allocations: 12 kB / 268.1 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.03175, allocations: 185.8 kB / 268.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.03264, allocations: 1.151 MB / 269.4 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.03647, allocations: 1.431 MB / 270.9 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.0366, allocations: 168.2 kB / 271 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.03688, allocations: 93 kB / 271.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.0372, allocations: 177.3 kB / 271.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03721, allocations: 0 / 271.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of Templates: time 0.1171/0.1543, allocations: 8.835 MB / 280.1 MB, free: 18.57 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8932469906285405]