Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 81.27 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 146.5 kB / 23.94 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.644e-05, allocations: 3.625 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004971/0.004998, allocations: 4.181 MB / 323.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.007976, allocations: 1.717 MB / 324.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005177/0.008494, allocations: 14.09 kB / 324.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.009375, allocations: 422.1 kB / 325.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.01056, allocations: 428.7 kB / 325.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.01146, allocations: 331.5 kB / 326 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.01297, allocations: 1.052 MB / 327 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.01338, allocations: 190.1 kB / 327.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.01452, allocations: 0.5959 MB / 327.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008514/0.01537, allocations: 437.8 kB / 328.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.01559, allocations: 100.2 kB / 328.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.01594, allocations: 128.8 kB / 328.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.01621, allocations: 237.6 kB / 328.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.01675, allocations: 298.6 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.01825, allocations: 1.296 MB / 330.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01826, allocations: 0 / 330.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01826, allocations: 0 / 330.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.561e-05/0.0183, allocations: 5.094 kB / 330.3 MB, free: 13.09 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002432/0.02073, allocations: 1.139 MB / 331.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.02076, allocations: 10.98 kB / 331.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.02094, allocations: 102.9 kB / 331.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/0.02188, allocations: 0.4989 MB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.02193, allocations: 46.22 kB / 332.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.02203, allocations: 62.45 kB / 332.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.02335, allocations: 0.6718 MB / 332.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.02337, allocations: 9 kB / 332.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.02344, allocations: 24.94 kB / 332.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.02345, allocations: 19.27 kB / 332.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.02479, allocations: 0.5473 MB / 333.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.02835, allocations: 1.999 MB / 335.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.02935, allocations: 448.1 kB / 335.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.03011, allocations: 283.2 kB / 336.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.03016, allocations: 9.969 kB / 336.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.03019, allocations: 46.59 kB / 336.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.0302, allocations: 0 / 336.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004758/0.03495, allocations: 1.49 MB / 337.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.035, allocations: 62.59 kB / 337.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.03612, allocations: 0.8877 MB / 338.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.03618, allocations: 35.92 kB / 338.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.03651, allocations: 410 kB / 339.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.03668, allocations: 211 kB / 339.3 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.0369, allocations: 126.6 kB / 339.4 MB, free: 7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.0371, allocations: 382.8 kB / 339.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.03777, allocations: 245.9 kB / 340 MB, free: 6.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.03851, allocations: 343.1 kB / 340.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.03988, allocations: 0.571 MB / 340.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.03988, allocations: 0 / 340.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001695/0.04158, allocations: 0.7231 MB / 341.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.0416, allocations: 11.94 kB / 341.7 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.04161, allocations: 4.219 kB / 341.7 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.04163, allocations: 12 kB / 341.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/0.04247, allocations: 171.8 kB / 341.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.04248, allocations: 11.94 kB / 341.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.04302, allocations: 39.89 kB / 341.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.04308, allocations: 28 kB / 341.9 MB, free: 4.402 MB / 302.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 (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.0004026/0.04348, allocations: 269.6 kB / 342.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.04362, allocations: 75.53 kB / 342.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.04521, allocations: 0.63 MB / 342.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.04522, allocations: 8 kB / 342.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.04523, allocations: 3.938 kB / 342.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.04524, allocations: 7.969 kB / 342.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.04835, allocations: 1.482 MB / 344.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.04835, allocations: 0 / 344.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.04898, allocations: 140.1 kB / 344.5 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.04899, allocations: 7.984 kB / 344.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.04903, allocations: 12 kB / 344.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/0.04904, allocations: 8 kB / 344.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.04904, allocations: 7.875 kB / 344.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.05054, allocations: 0.7381 MB / 345.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.0508, allocations: 123.4 kB / 345.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.0509, allocations: 19.98 kB / 345.4 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.05137, allocations: 31.97 kB / 345.5 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.05149, allocations: 48.36 kB / 345.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.05153, allocations: 20 kB / 345.5 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008556/0.05239, allocations: 0.6436 MB / 346.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.05239, allocations: 0 / 346.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.053, allocations: 151.9 kB / 346.3 MB, free: 15.85 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 (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.001442/0.05444, allocations: 399.2 kB / 346.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.0559, allocations: 0.5498 MB / 347.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.05591, allocations: 4 kB / 347.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.05659, allocations: 279.6 kB / 347.5 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.05739, allocations: 132.4 kB / 347.7 MB, free: 14.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.0603, allocations: 1.529 MB / 349.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.06071, allocations: 367 kB / 349.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000366/0.06107, allocations: 88.83 kB / 349.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.06127, allocations: 56.48 kB / 349.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.06127, allocations: 0 / 349.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of Templates: time 0.01639/0.07766, allocations: 7.473 MB / 357.2 MB, free: 5.191 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.444171454757452]