Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.527/1.527, allocations: 230.4 MB / 258.1 MB, free: 8.117 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 59.84 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3347, allocations: 53.32 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007012/0.3418, allocations: 4.72 MB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.3456, allocations: 2.003 MB / 438.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.3462, allocations: 15.94 kB / 438.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.3471, allocations: 422.2 kB / 439.2 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.3482, allocations: 477.5 kB / 439.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.349, allocations: 327.4 kB / 440 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3505, allocations: 1.032 MB / 441 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000539/0.351, allocations: 212.6 kB / 441.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009371/0.352, allocations: 422.7 kB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.353, allocations: 0.5294 MB / 442.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.3533, allocations: 100 kB / 442.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.3536, allocations: 139.9 kB / 442.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.354, allocations: 239.2 kB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006624/0.3546, allocations: 469.5 kB / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002256/0.3569, allocations: 1.3 MB / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3569, allocations: 0 / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3569, allocations: 0 / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.3569, allocations: 0 / 444.4 MB, free: 10.96 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.003253/0.3602, allocations: 1.241 MB / 445.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3602, allocations: 12.03 kB / 445.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005012/0.3607, allocations: 128.2 kB / 445.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3618, allocations: 0.5835 MB / 446.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.3619, allocations: 45.31 kB / 446.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.362, allocations: 60 kB / 446.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.3633, allocations: 0.6284 MB / 447.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.3633, allocations: 4 kB / 447.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.3634, allocations: 24 kB / 447.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.3634, allocations: 23.98 kB / 447.1 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.3646, allocations: 0.5243 MB / 447.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004342/0.369, allocations: 2.541 MB / 450.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009566/0.3699, allocations: 452.8 kB / 450.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000693/0.3706, allocations: 270 kB / 450.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.3707, allocations: 4.438 kB / 450.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.3707, allocations: 39 kB / 450.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.096e-06/0.3707, allocations: 0 / 450.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004693/0.3754, allocations: 1.455 MB / 452.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3755, allocations: 59.97 kB / 452.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3772, allocations: 0.9693 MB / 453.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.3773, allocations: 41.69 kB / 453.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.3778, allocations: 408.7 kB / 453.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.3781, allocations: 230.1 kB / 454.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.3783, allocations: 118.6 kB / 454.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3785, allocations: 330 kB / 454.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/0.3794, allocations: 229.9 kB / 454.8 MB, free: 276 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3804, allocations: 331.1 kB / 455.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.3821, allocations: 0.544 MB / 455.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3821, allocations: 0 / 455.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002238/0.3844, allocations: 0.7154 MB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3844, allocations: 4 kB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.3844, allocations: 7.984 kB / 456.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.3844, allocations: 4 kB / 456.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.3855, allocations: 171.7 kB / 456.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.3855, allocations: 8 kB / 456.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/0.3863, allocations: 32.09 kB / 456.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.3864, allocations: 28 kB / 456.6 MB, free: 14.37 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.0005424/0.3869, allocations: 269.6 kB / 456.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.3871, allocations: 87.44 kB / 456.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.389, allocations: 0.6164 MB / 457.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.389, allocations: 7.938 kB / 457.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.389, allocations: 4 kB / 457.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3891, allocations: 7.969 kB / 457.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.3934, allocations: 1.784 MB / 459.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.3934, allocations: 8 kB / 459.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/0.3943, allocations: 127.8 kB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.3943, allocations: 4 kB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.3943, allocations: 16 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/0.3943, allocations: 8.297 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.3943, allocations: 8 kB / 459.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.3962, allocations: 0.7281 MB / 460.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.3966, allocations: 204.5 kB / 460.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3967, allocations: 20 kB / 460.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.3974, allocations: 31.97 kB / 460.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3975, allocations: 48.25 kB / 460.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.3976, allocations: 16 kB / 460.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.3988, allocations: 0.706 MB / 461.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3988, allocations: 0 / 461.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008562/0.3997, allocations: 156 kB / 461.4 MB, free: 9.332 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.001797/0.4015, allocations: 375.3 kB / 461.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.4033, allocations: 0.5262 MB / 462.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4033, allocations: 0 / 462.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008171/0.4041, allocations: 259.4 kB / 462.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.4054, allocations: 146.1 kB / 462.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.4094, allocations: 1.611 MB / 464.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008929/0.4103, allocations: 0.9708 MB / 465.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006287/0.4109, allocations: 97.17 kB / 465.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.4111, allocations: 59.42 kB / 465.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4111, allocations: 0 / 465.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Templates: time 0.02364/0.4348, allocations: 8.332 MB / 473.8 MB, free: 13.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.056038110051304]