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.001406/0.001406, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.00142/0.00142, allocations: 171.9 kB / 23.96 MB, free: 4.148 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.414/1.414, allocations: 177.1 MB / 204.3 MB, free: 9.16 MB / 190.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 1.233e-06/1.233e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.058e-05/4.181e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.009064/0.009105, allocations: 4.262 MB / 329.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.01377, allocations: 1.907 MB / 331.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007814/0.01456, allocations: 13.81 kB / 331.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.01545, allocations: 424.4 kB / 331.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.01664, allocations: 482 kB / 332.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.0175, allocations: 330.2 kB / 332.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.01885, allocations: 1.069 MB / 333.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.01925, allocations: 188.2 kB / 333.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/0.02016, allocations: 0.6055 MB / 334.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/0.0208, allocations: 440.7 kB / 334.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.02096, allocations: 100.9 kB / 334.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.02127, allocations: 138.8 kB / 335 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.02152, allocations: 241.9 kB / 335.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.0219, allocations: 307.8 kB / 335.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.02342, allocations: 1.311 MB / 336.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02343, allocations: 0 / 336.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.02343, allocations: 1.188 kB / 336.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.02345, allocations: 0 / 336.8 MB, free: 8.844 MB / 302.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.002351/0.0258, allocations: 1.157 MB / 338 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.02584, allocations: 10.25 kB / 338 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.02636, allocations: 129.4 kB / 338.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.02736, allocations: 0.5075 MB / 338.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.02743, allocations: 54.72 kB / 338.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.02755, allocations: 70 kB / 338.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.02883, allocations: 0.6536 MB / 339.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.02885, allocations: 0 / 339.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.02892, allocations: 28 kB / 339.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.02893, allocations: 12 kB / 339.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.0301, allocations: 0.5282 MB / 340 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.03384, allocations: 2.005 MB / 342 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.03479, allocations: 449 kB / 342.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.03547, allocations: 266.2 kB / 342.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.03551, allocations: 4.5 kB / 342.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/0.03556, allocations: 39.06 kB / 342.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/0.03557, allocations: 0 / 342.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.00465/0.04022, allocations: 1.456 MB / 344.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.04027, allocations: 56.06 kB / 344.2 MB, free: 1.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.04147, allocations: 0.9104 MB / 345.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.04153, allocations: 33.7 kB / 345.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.04186, allocations: 424.4 kB / 345.6 MB, free: 400 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.04204, allocations: 218.1 kB / 345.8 MB, free: 180 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.04226, allocations: 122.6 kB / 345.9 MB, free: 52 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.04249, allocations: 390.7 kB / 346.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.04306, allocations: 225.8 kB / 346.5 MB, free: 15.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.04374, allocations: 327.1 kB / 346.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.04494, allocations: 0.5444 MB / 347.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.04495, allocations: 4 kB / 347.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001554/0.0465, allocations: 0.6997 MB / 348.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.04652, allocations: 4.281 kB / 348.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.04653, allocations: 15.88 kB / 348.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.04656, allocations: 11.94 kB / 348.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.04739, allocations: 171.8 kB / 348.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.0474, allocations: 4 kB / 348.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.04794, allocations: 31.97 kB / 348.3 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.04799, allocations: 27.98 kB / 348.3 MB, free: 13.54 MB / 318.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.000427/0.04842, allocations: 265.7 kB / 348.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.04856, allocations: 79.48 kB / 348.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.05001, allocations: 0.6104 MB / 349.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.05002, allocations: 8 kB / 349.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.05003, allocations: 0 / 349.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.05004, allocations: 3.984 kB / 349.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.05294, allocations: 1.467 MB / 350.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.05294, allocations: 3.938 kB / 350.8 MB, free: 11.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.05352, allocations: 127.8 kB / 350.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.05354, allocations: 7.984 kB / 350.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.05359, allocations: 23.92 kB / 350.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.0536, allocations: 4 kB / 350.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.0536, allocations: 4.312 kB / 350.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.05496, allocations: 0.7224 MB / 351.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.05524, allocations: 123.4 kB / 351.8 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.05534, allocations: 19.94 kB / 351.8 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.05577, allocations: 31.97 kB / 351.8 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.05588, allocations: 52.36 kB / 351.9 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.05592, allocations: 16 kB / 351.9 MB, free: 9.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008515/0.05678, allocations: 0.6591 MB / 352.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05678, allocations: 0 / 352.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006203/0.0574, allocations: 152 kB / 352.7 MB, free: 9.031 MB / 318.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.001621/0.05902, allocations: 405.7 kB / 353.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.06036, allocations: 0.5201 MB / 353.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.06036, allocations: 0 / 353.6 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.06094, allocations: 262.6 kB / 353.9 MB, free: 8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.06175, allocations: 145.4 kB / 354 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.06445, allocations: 1.553 MB / 355.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.06486, allocations: 379.8 kB / 355.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003628/0.06522, allocations: 80.97 kB / 356 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.06541, allocations: 56.48 kB / 356.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.06541, allocations: 0 / 356.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of Templates: time 0.01675/0.08216, allocations: 7.781 MB / 363.9 MB, free: 14.09 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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: 4.645910266786814]