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.00241/0.00241, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002834/0.002834, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 18.57 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.483e-06/1.483e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.694e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007633/0.00766, allocations: 4.618 MB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.0117, allocations: 1.944 MB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.01218, allocations: 15.94 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008556/0.01304, allocations: 418.1 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.01418, allocations: 485.1 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.01493, allocations: 327.3 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.01629, allocations: 1.067 MB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.01669, allocations: 195.1 kB / 281.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.01761, allocations: 0.6042 MB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.0183, allocations: 454.9 kB / 282.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.01845, allocations: 100 kB / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.01872, allocations: 132 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.019, allocations: 247.1 kB / 282.9 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.01938, allocations: 303.2 kB / 283.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.02126, allocations: 1.332 MB / 284.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02126, allocations: 0 / 284.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.223e-06/0.02127, allocations: 4 kB / 284.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.02128, allocations: 4 kB / 284.5 MB, free: 5.602 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002536/0.02382, allocations: 1.332 MB / 285.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.02385, allocations: 8.031 kB / 285.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.02444, allocations: 180.2 kB / 286 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.02544, allocations: 0.5332 MB / 286.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.0255, allocations: 45.69 kB / 286.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.02561, allocations: 64.12 kB / 286.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.02693, allocations: 0.6931 MB / 287.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.02696, allocations: 0 / 287.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.409e-05/0.02702, allocations: 24 kB / 287.4 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.02704, allocations: 20 kB / 287.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.02817, allocations: 0.4893 MB / 287.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1253/0.1535, allocations: 2.639 MB / 290.5 MB, free: 27.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1545, allocations: 450 kB / 291 MB, free: 27.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.1553, allocations: 266.8 kB / 291.2 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.864e-05/0.1554, allocations: 11.56 kB / 291.2 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.1554, allocations: 43.92 kB / 291.3 MB, free: 27.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 3.407e-06/0.1554, allocations: 1.406 kB / 291.3 MB, free: 27.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.004184/0.1596, allocations: 1.3 MB / 292.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1596, allocations: 60.19 kB / 292.6 MB, free: 26.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.1611, allocations: 0.9006 MB / 293.5 MB, free: 26.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1612, allocations: 37.67 kB / 293.6 MB, free: 26.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.1615, allocations: 0.5076 MB / 294.1 MB, free: 25.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.1617, allocations: 242.6 kB / 294.3 MB, free: 25.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.1619, allocations: 150 kB / 294.5 MB, free: 25.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/0.1622, allocations: 0.6279 MB / 295.1 MB, free: 25.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.1626, allocations: 209.7 kB / 295.3 MB, free: 25.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.1633, allocations: 362.2 kB / 295.7 MB, free: 24.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.1643, allocations: 0.5648 MB / 296.2 MB, free: 24.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1643, allocations: 1.188 kB / 296.2 MB, free: 24.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001292/0.1656, allocations: 0.7038 MB / 296.9 MB, free: 24.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1656, allocations: 7.031 kB / 296.9 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.1656, allocations: 3.469 kB / 296.9 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.1657, allocations: 5.594 kB / 296.9 MB, free: 24.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.1664, allocations: 162 kB / 297.1 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.1664, allocations: 9.094 kB / 297.1 MB, free: 24.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.1669, allocations: 31.84 kB / 297.1 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.1669, allocations: 32.61 kB / 297.2 MB, free: 24.23 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 (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.0002548/0.1672, allocations: 252.1 kB / 297.4 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.1673, allocations: 99.83 kB / 297.5 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.1685, allocations: 0.571 MB / 298.1 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1685, allocations: 6.469 kB / 298.1 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1685, allocations: 1.25 kB / 298.1 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.1685, allocations: 7.078 kB / 298.1 MB, free: 23.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.1711, allocations: 1.723 MB / 299.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1711, allocations: 2.703 kB / 299.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.1716, allocations: 125.5 kB / 299.9 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.1716, allocations: 4.656 kB / 299.9 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.1717, allocations: 15.97 kB / 300 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.1717, allocations: 10.61 kB / 300 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1717, allocations: 1.781 kB / 300 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.1726, allocations: 0.8114 MB / 300.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.1729, allocations: 127.5 kB / 300.9 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.343e-05/0.173, allocations: 17.34 kB / 300.9 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.1733, allocations: 23.52 kB / 301 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1734, allocations: 49.58 kB / 301 MB, free: 22.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.1735, allocations: 20.47 kB / 301 MB, free: 22.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006572/0.1741, allocations: 0.5694 MB / 301.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1741, allocations: 0 / 301.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006176/0.1747, allocations: 156.4 kB / 301.7 MB, free: 21.75 MB / 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 (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.00248/0.1772, allocations: 413.2 kB / 302.1 MB, free: 21.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1783, allocations: 0.5497 MB / 302.7 MB, free: 21.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1783, allocations: 1.156 kB / 302.7 MB, free: 21.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004519/0.1787, allocations: 279.5 kB / 303 MB, free: 21.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.1795, allocations: 161.2 kB / 303.1 MB, free: 21.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1814, allocations: 1.49 MB / 304.6 MB, free: 20.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1817, allocations: 362.6 kB / 305 MB, free: 20.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.1821, allocations: 87.53 kB / 305.1 MB, free: 20.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.1822, allocations: 58.19 kB / 305.1 MB, free: 20.26 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1822, allocations: 0 / 305.1 MB, free: 20.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01241/0.1946, allocations: 7.804 MB / 312.9 MB, free: 13.41 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] 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: 5.062902036006562]