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.001441/0.001441, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001824/0.001824, allocations: 145.2 kB / 24.89 MB, free: 9.211 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.933/0.933, allocations: 173.3 MB / 201.5 MB, free: 9.191 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.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.623e-05, allocations: 6.25 kB / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006125/0.006151, allocations: 4.507 MB / 273 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.009049, allocations: 1.823 MB / 274.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.009556, allocations: 11.94 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.01025, allocations: 414.1 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009271/0.01118, allocations: 437.4 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.0119, allocations: 327.2 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.01316, allocations: 1.047 MB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.01348, allocations: 197 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007721/0.01425, allocations: 0.5926 MB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.01483, allocations: 419 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.01493, allocations: 92 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.0151, allocations: 127.9 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.01525, allocations: 239.2 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.01546, allocations: 303.2 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.01618, allocations: 0.689 MB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01619, allocations: 0 / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01619, allocations: 0 / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.0162, allocations: 0 / 279.6 MB, free: 10.96 MB / 266.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.001198/0.0174, allocations: 1.098 MB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.01744, allocations: 8.922 kB / 280.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.01757, allocations: 108.8 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.01799, allocations: 385.3 kB / 281.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.01803, allocations: 49.62 kB / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.01809, allocations: 60.38 kB / 281.3 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.01866, allocations: 494.4 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.01868, allocations: 3.938 kB / 281.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.01872, allocations: 24 kB / 281.8 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.01873, allocations: 16 kB / 281.8 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.01901, allocations: 185 kB / 282 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.02095, allocations: 1.448 MB / 283.5 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.02124, allocations: 240.5 kB / 283.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.02144, allocations: 145.1 kB / 283.9 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.02148, allocations: 16.48 kB / 283.9 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.0215, allocations: 43.06 kB / 283.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=48): time 1.793e-06/0.0215, allocations: 0 / 283.9 MB, free: 6.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001212/0.02272, allocations: 0.7369 MB / 284.6 MB, free: 5.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.02275, allocations: 55.91 kB / 284.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.02337, allocations: 0.6264 MB / 285.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.0234, allocations: 33.7 kB / 285.4 MB, free: 5.051 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.02354, allocations: 329.7 kB / 285.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.02366, allocations: 218.1 kB / 285.9 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.02377, allocations: 122.5 kB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.02388, allocations: 394.5 kB / 286.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.02397, allocations: 65.97 kB / 286.5 MB, free: 3.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.02411, allocations: 171.1 kB / 286.6 MB, free: 3.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.02437, allocations: 287.5 kB / 286.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02438, allocations: 0 / 286.9 MB, free: 3.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0003474/0.02472, allocations: 329.1 kB / 287.2 MB, free: 3.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.02474, allocations: 8 kB / 287.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.02474, allocations: 0 / 287.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.02476, allocations: 12.27 kB / 287.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.0251, allocations: 163.8 kB / 287.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.02511, allocations: 7.938 kB / 287.4 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.02528, allocations: 31.92 kB / 287.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.02531, allocations: 23.98 kB / 287.5 MB, free: 2.84 MB / 266.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.0001355/0.02545, allocations: 144.5 kB / 287.6 MB, free: 2.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.02551, allocations: 59.94 kB / 287.7 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.02585, allocations: 314.2 kB / 288 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.02586, allocations: 4 kB / 288 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02586, allocations: 3.938 kB / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.02587, allocations: 3.984 kB / 288 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.02685, allocations: 0.9209 MB / 288.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02685, allocations: 0 / 288.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.02709, allocations: 123.8 kB / 289 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.0271, allocations: 4 kB / 289 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.02712, allocations: 16 kB / 289.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.02712, allocations: 11.92 kB / 289.1 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.02713, allocations: 4 kB / 289.1 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.02745, allocations: 433.6 kB / 289.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.02757, allocations: 79.47 kB / 289.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.02761, allocations: 16 kB / 289.6 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.02777, allocations: 31.97 kB / 289.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.02783, allocations: 48.3 kB / 289.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.02784, allocations: 12 kB / 289.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.02806, allocations: 315.4 kB / 290 MB, free: 192 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02806, allocations: 0 / 290 MB, free: 192 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.0284, allocations: 160 kB / 290.1 MB, free: 32 kB / 266.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.1122/0.1406, allocations: 447.1 kB / 290.6 MB, free: 28.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.1411, allocations: 283.8 kB / 290.9 MB, free: 28.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/0.1411, allocations: 12.78 kB / 290.9 MB, free: 28.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1413, allocations: 147.7 kB / 291 MB, free: 28.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.1418, allocations: 132.2 kB / 291.1 MB, free: 28.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1436, allocations: 1.332 MB / 292.5 MB, free: 27.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1437, allocations: 170.9 kB / 292.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.144, allocations: 89.36 kB / 292.7 MB, free: 27.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.1442, allocations: 170.8 kB / 292.9 MB, free: 27.81 MB / 266.7 MB Notification: Performance of SimCode: time 1.143e-06/0.1442, allocations: 0 / 292.9 MB, free: 27.81 MB / 266.7 MB Notification: Performance of Templates: time 0.01251/0.1567, allocations: 8.075 MB / 301 MB, free: 25.94 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9581711320206523]