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.001929/0.001929, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002442/0.002442, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001727/0.001727, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2597, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006916/0.2666, allocations: 4.264 MB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004029/0.2706, allocations: 1.898 MB / 438.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/0.2713, allocations: 15.94 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.2724, allocations: 418.2 kB / 438.9 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.2738, allocations: 469.5 kB / 439.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.2748, allocations: 327.4 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2763, allocations: 1.032 MB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.2767, allocations: 199 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.2775, allocations: 438.6 kB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008229/0.2784, allocations: 498.1 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.2786, allocations: 100 kB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.2789, allocations: 128 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.2792, allocations: 247.1 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.2797, allocations: 374.1 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.2812, allocations: 1.307 MB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2812, allocations: 0 / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2812, allocations: 0 / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.871e-05/0.2813, allocations: 0 / 444 MB, free: 11.03 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00266/0.2839, allocations: 1.162 MB / 445.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.284, allocations: 12.03 kB / 445.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.2845, allocations: 128.2 kB / 445.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2857, allocations: 0.5192 MB / 445.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.2857, allocations: 49.31 kB / 445.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2858, allocations: 56 kB / 445.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2872, allocations: 0.6575 MB / 446.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.2872, allocations: 4 kB / 446.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.2873, allocations: 20 kB / 446.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.2873, allocations: 16 kB / 446.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2885, allocations: 0.5243 MB / 447.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/0.2925, allocations: 2.012 MB / 449.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.2935, allocations: 444.9 kB / 449.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006616/0.2941, allocations: 268.3 kB / 449.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.2942, allocations: 8.438 kB / 449.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.2942, allocations: 35 kB / 449.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.554e-06/0.2942, allocations: 0 / 449.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004524/0.2987, allocations: 1.46 MB / 451.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.2988, allocations: 64 kB / 451.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.3, allocations: 0.9143 MB / 452.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.3001, allocations: 41.7 kB / 452.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.3004, allocations: 412.5 kB / 452.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.3006, allocations: 230 kB / 453 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3008, allocations: 114.6 kB / 453.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.301, allocations: 390.8 kB / 453.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.3016, allocations: 225.9 kB / 453.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.3022, allocations: 327.1 kB / 454 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3034, allocations: 0.5444 MB / 454.5 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3034, allocations: 7.938 kB / 454.6 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00154/0.3049, allocations: 0.7038 MB / 455.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3049, allocations: 11.98 kB / 455.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3049, allocations: 4 kB / 455.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.305, allocations: 4 kB / 455.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/0.3057, allocations: 163.8 kB / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.3057, allocations: 8 kB / 455.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.3062, allocations: 35.98 kB / 455.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/0.3063, allocations: 27.98 kB / 455.5 MB, free: 15.2 MB / 366.1 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.0003907/0.3067, allocations: 269.6 kB / 455.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3068, allocations: 83.42 kB / 455.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.3082, allocations: 0.6028 MB / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3082, allocations: 4 kB / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3082, allocations: 0 / 456.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3082, allocations: 7.984 kB / 456.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.3111, allocations: 1.465 MB / 457.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.3111, allocations: 7.938 kB / 457.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.3117, allocations: 127.8 kB / 458.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.3117, allocations: 4.312 kB / 458.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.3117, allocations: 16 kB / 458.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.3117, allocations: 11.94 kB / 458.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3117, allocations: 0 / 458.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.3131, allocations: 0.7183 MB / 458.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.3134, allocations: 131.3 kB / 458.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3135, allocations: 20 kB / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.3139, allocations: 27.97 kB / 459 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.314, allocations: 48.36 kB / 459 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.3141, allocations: 19.94 kB / 459.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008818/0.3149, allocations: 0.6591 MB / 459.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3149, allocations: 3.938 kB / 459.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005918/0.3155, allocations: 151.9 kB / 459.9 MB, free: 10.69 MB / 366.1 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.001455/0.317, allocations: 403.7 kB / 460.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.3183, allocations: 0.527 MB / 460.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3183, allocations: 0 / 460.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.3189, allocations: 259.3 kB / 461 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008155/0.3197, allocations: 140.8 kB / 461.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.3227, allocations: 1.642 MB / 462.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.3231, allocations: 375.7 kB / 463.2 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.3233, allocations: 59.42 kB / 463.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3233, allocations: 0 / 463.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of Templates: time 0.01922/0.3425, allocations: 10.27 MB / 473.5 MB, free: 13.14 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 8.354620323050767]