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.0008406/0.0008406, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003467/0.003467, allocations: 138.7 kB / 24.67 MB, free: 9.418 MB / 18.57 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 0.8745/0.8745, allocations: 173.4 MB / 201.2 MB, free: 9.07 MB / 186.7 MB " [Timeout remaining time 179] 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.804e-06/1.804e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.32e-05, allocations: 6.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003836/0.003859, allocations: 4.167 MB / 323.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.005652, allocations: 1.722 MB / 325.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.005871, allocations: 19.88 kB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000835/0.006706, allocations: 414.1 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000517/0.007223, allocations: 433.4 kB / 326.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.00761, allocations: 327.3 kB / 326.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.008277, allocations: 1.051 MB / 327.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.008535, allocations: 191 kB / 328 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.008943, allocations: 0.5925 MB / 328.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.0093, allocations: 442.9 kB / 329 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.997e-05/0.00938, allocations: 96 kB / 329.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.009512, allocations: 119.9 kB / 329.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.00966, allocations: 243.2 kB / 329.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.009844, allocations: 291.3 kB / 329.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008707/0.01071, allocations: 1.293 MB / 331 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01072, allocations: 8 kB / 331 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01072, allocations: 3.938 kB / 331.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.01073, allocations: 0 / 331.1 MB, free: 10.43 MB / 298.7 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.001364/0.01209, allocations: 1.139 MB / 332.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.01213, allocations: 8.922 kB / 332.2 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.01225, allocations: 108.3 kB / 332.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.01284, allocations: 0.4984 MB / 332.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.01287, allocations: 45.69 kB / 332.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.01294, allocations: 64.33 kB / 332.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.01397, allocations: 0.6736 MB / 333.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.01399, allocations: 3.938 kB / 333.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.01402, allocations: 24 kB / 333.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.01403, allocations: 12 kB / 333.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.01475, allocations: 0.5594 MB / 334.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.0168, allocations: 1.998 MB / 336.2 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.01736, allocations: 446.5 kB / 336.6 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.01776, allocations: 289.4 kB / 336.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.01779, allocations: 12.44 kB / 336.9 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.01781, allocations: 39.06 kB / 337 MB, free: 4.352 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.01781, allocations: 0 / 337 MB, free: 4.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002352/0.02016, allocations: 1.496 MB / 338.4 MB, free: 2.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.0202, allocations: 67.83 kB / 338.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.02083, allocations: 0.8829 MB / 339.4 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.02086, allocations: 37.7 kB / 339.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.02105, allocations: 408.5 kB / 339.8 MB, free: 1.441 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.02116, allocations: 214.1 kB / 340 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.02158, allocations: 118.6 kB / 340.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.0217, allocations: 390.7 kB / 340.5 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.02204, allocations: 245.9 kB / 340.8 MB, free: 484 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.02243, allocations: 339.1 kB / 341.1 MB, free: 112 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.02313, allocations: 0.5711 MB / 341.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.02313, allocations: 0 / 341.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008659/0.02399, allocations: 0.7311 MB / 342.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.02401, allocations: 7.984 kB / 342.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02402, allocations: 4 kB / 342.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.02403, allocations: 4 kB / 342.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.02441, allocations: 171.8 kB / 342.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.02442, allocations: 16 kB / 342.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.02462, allocations: 39.95 kB / 342.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.02465, allocations: 27.98 kB / 342.7 MB, free: 14.5 MB / 314.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 (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.000214/0.02487, allocations: 277.4 kB / 342.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.02493, allocations: 79.48 kB / 343 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.02572, allocations: 0.6261 MB / 343.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.02573, allocations: 4 kB / 343.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.02573, allocations: 3.938 kB / 343.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.02574, allocations: 3.984 kB / 343.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.02726, allocations: 1.489 MB / 345.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.02726, allocations: 0 / 345.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.02753, allocations: 131.8 kB / 345.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.02754, allocations: 8 kB / 345.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.02756, allocations: 12 kB / 345.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.02756, allocations: 4.312 kB / 345.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.02756, allocations: 11.94 kB / 345.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.02828, allocations: 0.7342 MB / 346.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.02842, allocations: 127.4 kB / 346.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.02847, allocations: 12 kB / 346.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.02866, allocations: 35.97 kB / 346.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.02873, allocations: 52.3 kB / 346.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.02875, allocations: 23.98 kB / 346.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004439/0.02919, allocations: 0.6396 MB / 346.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02919, allocations: 0 / 346.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000324/0.02951, allocations: 155.9 kB / 347.1 MB, free: 9.949 MB / 314.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 (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.000853/0.03037, allocations: 398.6 kB / 347.5 MB, free: 9.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007464/0.03111, allocations: 0.5575 MB / 348 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03112, allocations: 0 / 348 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.03145, allocations: 275.7 kB / 348.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.0319, allocations: 128.4 kB / 348.4 MB, free: 8.758 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.03345, allocations: 1.573 MB / 350 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.03368, allocations: 363 kB / 350.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.03382, allocations: 64.48 kB / 350.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03382, allocations: 0 / 350.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of Templates: time 0.008259/0.04208, allocations: 10.02 MB / 360.4 MB, free: 12.69 MB / 330.7 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.832060011103749]