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.001097/0.001097, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00154/0.00154, allocations: 171.4 kB / 24.91 MB, free: 9.191 MB / 18.57 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.8897/0.8897, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.303e-06/1.303e-06, allocations: 0 / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.18e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005659/0.005671, allocations: 4.585 MB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.008541, allocations: 2.002 MB / 280 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.008739, allocations: 15.88 kB / 280 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.009252, allocations: 430.1 kB / 280.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.009836, allocations: 485.2 kB / 280.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.01024, allocations: 327.3 kB / 281.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007299/0.01097, allocations: 1.067 MB / 282.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.01121, allocations: 205 kB / 282.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.01174, allocations: 0.612 MB / 283.1 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.0121, allocations: 427 kB / 283.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.01218, allocations: 96 kB / 283.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.01231, allocations: 131.8 kB / 283.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.01245, allocations: 235.2 kB / 284 MB, free: 6.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.01264, allocations: 303.2 kB / 284.3 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.01316, allocations: 0.7085 MB / 285 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.01317, allocations: 7.938 kB / 285 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01317, allocations: 0 / 285 MB, free: 5.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.01317, allocations: 0 / 285 MB, free: 5.684 MB / 266.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.00103/0.0142, allocations: 1.106 MB / 286.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.01423, allocations: 12.03 kB / 286.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.01448, allocations: 136.8 kB / 286.3 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.01486, allocations: 394 kB / 286.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.01489, allocations: 45.69 kB / 286.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.01495, allocations: 68.12 kB / 286.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.01538, allocations: 489.8 kB / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.0154, allocations: 0 / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.01543, allocations: 24 kB / 287.3 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01544, allocations: 16 kB / 287.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.01567, allocations: 181 kB / 287.5 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.01719, allocations: 1.452 MB / 288.9 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.01747, allocations: 251.8 kB / 289.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.01766, allocations: 154.2 kB / 289.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01768, allocations: 8.5 kB / 289.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.0177, allocations: 39.06 kB / 289.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.353e-06/0.0177, allocations: 0 / 289.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.001135/0.01884, allocations: 0.7473 MB / 290.1 MB, free: 460 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.01886, allocations: 64 kB / 290.2 MB, free: 380 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08801/0.1069, allocations: 0.6365 MB / 290.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.1069, allocations: 37.3 kB / 290.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1071, allocations: 329.8 kB / 291.2 MB, free: 24.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.1072, allocations: 224.5 kB / 291.4 MB, free: 24.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.1073, allocations: 122 kB / 291.5 MB, free: 24.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.1073, allocations: 392 kB / 291.9 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1075, allocations: 64.86 kB / 291.9 MB, free: 24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1076, allocations: 174.8 kB / 292.1 MB, free: 23.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.1079, allocations: 286.5 kB / 292.4 MB, free: 23.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1079, allocations: 1.375 kB / 292.4 MB, free: 23.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0003821/0.1082, allocations: 341.1 kB / 292.7 MB, free: 23.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1083, allocations: 6.812 kB / 292.7 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1083, allocations: 2.969 kB / 292.7 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1083, allocations: 7.5 kB / 292.7 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.1087, allocations: 162.2 kB / 292.9 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1087, allocations: 9 kB / 292.9 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.1089, allocations: 27.19 kB / 292.9 MB, free: 23.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1089, allocations: 18.25 kB / 293 MB, free: 23.79 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.0001256/0.109, allocations: 146.5 kB / 293.1 MB, free: 23.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.1091, allocations: 69.44 kB / 293.2 MB, free: 23.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.1095, allocations: 317.5 kB / 293.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1095, allocations: 6.75 kB / 293.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1095, allocations: 3.125 kB / 293.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1095, allocations: 2.719 kB / 293.5 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1105, allocations: 0.9272 MB / 294.4 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1105, allocations: 3.281 kB / 294.4 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.1108, allocations: 120.7 kB / 294.5 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1108, allocations: 8.562 kB / 294.5 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1108, allocations: 15.73 kB / 294.6 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1108, allocations: 12.22 kB / 294.6 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1108, allocations: 5.562 kB / 294.6 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1111, allocations: 440.3 kB / 295 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1112, allocations: 78.14 kB / 295.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.1113, allocations: 14.33 kB / 295.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1114, allocations: 27.8 kB / 295.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.1115, allocations: 50.22 kB / 295.2 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1115, allocations: 15.39 kB / 295.2 MB, free: 22.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1117, allocations: 329.9 kB / 295.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1117, allocations: 0 / 295.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003405/0.1121, allocations: 153.1 kB / 295.7 MB, free: 22.95 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.0008589/0.1129, allocations: 461.4 kB / 296.1 MB, free: 22.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1133, allocations: 289.8 kB / 296.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.1133, allocations: 7.875 kB / 296.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1134, allocations: 148.8 kB / 296.5 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1138, allocations: 156.3 kB / 296.7 MB, free: 22.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.1153, allocations: 1.355 MB / 298.1 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.1154, allocations: 176.2 kB / 298.2 MB, free: 22.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.1156, allocations: 92.41 kB / 298.3 MB, free: 22.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.1159, allocations: 174.8 kB / 298.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.1159, allocations: 0 / 298.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of Templates: time 0.01018/0.1261, allocations: 8.423 MB / 306.9 MB, free: 18.91 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7283983947709203]