Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000895/0.000895, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.0009605/0.0009605, allocations: 163.1 kB / 25.69 MB, free: 8.418 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.038/1.038, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.685e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007244/0.00728, allocations: 4.488 MB / 256.1 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.01075, allocations: 1.773 MB / 257.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.01112, allocations: 11.94 kB / 257.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009116/0.01203, allocations: 426.1 kB / 258.3 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008628/0.01289, allocations: 429.4 kB / 258.7 MB, free: 84 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006944/0.01359, allocations: 307.4 kB / 259 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.01487, allocations: 1.047 MB / 260 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.01526, allocations: 201 kB / 260.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.01604, allocations: 0.5925 MB / 260.8 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.01665, allocations: 423 kB / 261.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.0168, allocations: 96 kB / 261.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.01701, allocations: 115.9 kB / 261.4 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.01721, allocations: 239.2 kB / 261.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.01752, allocations: 295.2 kB / 262 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008858/0.01841, allocations: 0.6967 MB / 262.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.01841, allocations: 0 / 262.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01841, allocations: 4 kB / 262.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.01842, allocations: 0 / 262.7 MB, free: 12.08 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001667/0.02009, allocations: 1.09 MB / 263.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.02013, allocations: 12.03 kB / 263.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.0203, allocations: 108.8 kB / 263.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.0209, allocations: 385.2 kB / 264.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.02096, allocations: 49.69 kB / 264.3 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/0.02104, allocations: 56.38 kB / 264.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/0.02184, allocations: 494.4 kB / 264.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.02186, allocations: 11.89 kB / 264.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.02191, allocations: 24 kB / 264.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.02193, allocations: 16 kB / 264.9 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005034/0.02243, allocations: 181 kB / 265.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.02454, allocations: 1.444 MB / 266.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.02485, allocations: 236.7 kB / 266.7 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.02506, allocations: 150.2 kB / 266.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.02509, allocations: 16.48 kB / 266.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.02512, allocations: 35.06 kB / 266.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 3.056e-06/0.02512, allocations: 4 kB / 266.9 MB, free: 7.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001292/0.02641, allocations: 0.7369 MB / 267.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.02644, allocations: 59.91 kB / 267.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.0269, allocations: 0.6225 MB / 268.3 MB, free: 6.215 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.02694, allocations: 41.7 kB / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.02711, allocations: 313.7 kB / 268.7 MB, free: 5.855 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.02722, allocations: 222.1 kB / 268.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.02735, allocations: 122.6 kB / 269 MB, free: 5.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.02747, allocations: 394.5 kB / 269.4 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.02758, allocations: 61.97 kB / 269.5 MB, free: 5.059 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.02774, allocations: 175.1 kB / 269.6 MB, free: 4.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.02801, allocations: 283.6 kB / 269.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02801, allocations: 0 / 269.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003767/0.02839, allocations: 337.3 kB / 270.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.02841, allocations: 12.03 kB / 270.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.02841, allocations: 4 kB / 270.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.02843, allocations: 4 kB / 270.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.02886, allocations: 183.7 kB / 270.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.02887, allocations: 4 kB / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.02905, allocations: 31.92 kB / 270.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.02908, allocations: 23.98 kB / 270.5 MB, free: 3.957 MB / 250.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 (83): * Single equations (assignments): 83 * 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.0001621/0.02924, allocations: 144.5 kB / 270.7 MB, free: 3.805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.02932, allocations: 63.94 kB / 270.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.02972, allocations: 314.2 kB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.02972, allocations: 7.938 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.02972, allocations: 0 / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.02973, allocations: 3.984 kB / 271 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.0308, allocations: 0.917 MB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.0308, allocations: 0 / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.03109, allocations: 136.1 kB / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.0311, allocations: 12 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.03122, allocations: 15.98 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.03123, allocations: 4 kB / 272.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.03123, allocations: 4 kB / 272.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.03159, allocations: 429.3 kB / 272.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.0317, allocations: 79.5 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.03174, allocations: 15.98 kB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.0319, allocations: 27.98 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.03197, allocations: 56.3 kB / 272.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.03199, allocations: 12 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.03222, allocations: 319.4 kB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03222, allocations: 0 / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.03255, allocations: 155.9 kB / 273.2 MB, free: 1.145 MB / 250.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 (61): * Single equations (assignments): 61 * 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.0009158/0.03346, allocations: 452 kB / 273.6 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.0338, allocations: 281.9 kB / 273.9 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.03382, allocations: 8 kB / 273.9 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.03397, allocations: 149.6 kB / 274.1 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.03442, allocations: 134.9 kB / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.0361, allocations: 1.336 MB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.03622, allocations: 176.1 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.03645, allocations: 88.81 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.0367, allocations: 165.3 kB / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of SimCode: time 1.173e-06/0.0367, allocations: 0 / 275.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Templates: time 0.01103/0.04773, allocations: 8.056 MB / 284 MB, free: 6.262 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.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: 2.8887633718550205]