Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001909/0.001909, allocations: 92.31 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.002257/0.002257, allocations: 157.7 kB / 24.27 MB, free: 164 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.789e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009422/0.00945, allocations: 5.836 MB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.01475, allocations: 2.287 MB / 280.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009782/0.01573, allocations: 23.88 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.0168, allocations: 357.7 kB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.0189, allocations: 0.5547 MB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.02008, allocations: 451.2 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002354/0.02244, allocations: 1.615 MB / 283.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.02315, allocations: 334 kB / 283.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.02481, allocations: 0.8966 MB / 284.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.02586, allocations: 0.5337 MB / 285.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.02619, allocations: 160 kB / 285.3 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.0267, allocations: 195.9 kB / 285.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.02711, allocations: 342.8 kB / 285.9 MB, free: 4.191 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008633/0.02798, allocations: 470.9 kB / 286.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.03066, allocations: 2.037 MB / 288.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.03067, allocations: 0 / 288.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03067, allocations: 0 / 288.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.583e-05/0.03072, allocations: 4 kB / 288.4 MB, free: 1.684 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003724/0.03445, allocations: 1.493 MB / 289.9 MB, free: 160 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.03449, allocations: 8.031 kB / 289.9 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1128/0.1473, allocations: 242.6 kB / 290.1 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.1487, allocations: 0.691 MB / 290.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.1487, allocations: 78.55 kB / 290.9 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.1489, allocations: 101.5 kB / 291 MB, free: 19.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.1507, allocations: 1.037 MB / 292 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.1507, allocations: 2.984 kB / 292 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.1508, allocations: 38.41 kB / 292 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.1508, allocations: 23.28 kB / 292.1 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.1524, allocations: 0.8093 MB / 292.9 MB, free: 19.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/0.157, allocations: 2.931 MB / 295.8 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.159, allocations: 0.5889 MB / 296.4 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/0.1595, allocations: 296.6 kB / 296.7 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.1596, allocations: 13.42 kB / 296.7 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1596, allocations: 49.75 kB / 296.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.014e-06/0.1596, allocations: 0 / 296.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.004096/0.1637, allocations: 1.695 MB / 298.4 MB, free: 17.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1637, allocations: 84.91 kB / 298.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.1649, allocations: 0.9053 MB / 299.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1649, allocations: 35.52 kB / 299.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.1652, allocations: 0.5769 MB / 300 MB, free: 16.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1653, allocations: 238.1 kB / 300.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.1655, allocations: 161.8 kB / 300.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1656, allocations: 400.4 kB / 300.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007083/0.1663, allocations: 308 kB / 301.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.1671, allocations: 490.8 kB / 301.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.1685, allocations: 0.7838 MB / 302.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1685, allocations: 1.375 kB / 302.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00189/0.1704, allocations: 0.9975 MB / 303.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.1704, allocations: 11.53 kB / 303.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1704, allocations: 10.03 kB / 303.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.1704, allocations: 13.59 kB / 303.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.1716, allocations: 273.4 kB / 303.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.1716, allocations: 9.406 kB / 303.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.1723, allocations: 52.5 kB / 303.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.1724, allocations: 38.8 kB / 303.8 MB, free: 14.76 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0003558/0.1727, allocations: 291.7 kB / 304.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.1729, allocations: 118.5 kB / 304.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.1736, allocations: 342.7 kB / 304.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.1736, allocations: 6.75 kB / 304.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.1736, allocations: 3.344 kB / 304.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1737, allocations: 3.984 kB / 304.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.1767, allocations: 1.999 MB / 306.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.1767, allocations: 9.688 kB / 306.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.1775, allocations: 208 kB / 306.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.1775, allocations: 10.03 kB / 306.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.1775, allocations: 24.53 kB / 306.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.1776, allocations: 15.91 kB / 306.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1776, allocations: 9.969 kB / 306.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.1789, allocations: 1.031 MB / 307.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.1791, allocations: 103.2 kB / 307.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.1792, allocations: 19.28 kB / 308 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.1798, allocations: 52.05 kB / 308 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1799, allocations: 69.97 kB / 308.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.18, allocations: 29.5 kB / 308.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006613/0.1806, allocations: 0.6179 MB / 308.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1806, allocations: 0 / 308.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008214/0.1815, allocations: 215.9 kB / 308.9 MB, free: 11.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001579/0.183, allocations: 409.7 kB / 309.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.1844, allocations: 0.6914 MB / 310 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1844, allocations: 448 / 310 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.1851, allocations: 350.1 kB / 310.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.1862, allocations: 234.4 kB / 310.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1887, allocations: 1.925 MB / 312.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.189, allocations: 444.3 kB / 313 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004607/0.1895, allocations: 116 kB / 313.1 MB, free: 8.098 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.1897, allocations: 72.48 kB / 313.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1897, allocations: 0 / 313.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of Templates: time 0.01683/0.2065, allocations: 10.65 MB / 323.8 MB, free: 13.6 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.884789771982469]