Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002254/0.002254, allocations: 95.59 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002495/0.002495, allocations: 152.9 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.01e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01023/0.01026, allocations: 6.393 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.01568, allocations: 2.357 MB / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007319/0.01642, allocations: 23.88 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009016/0.01732, allocations: 349.7 kB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.01869, allocations: 0.5625 MB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.01968, allocations: 451.2 kB / 282.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.02204, allocations: 1.619 MB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005816/0.02262, allocations: 330 kB / 284.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.02393, allocations: 0.9083 MB / 285.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.02479, allocations: 0.5454 MB / 285.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.02505, allocations: 164 kB / 285.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.02542, allocations: 195.9 kB / 286.1 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.02578, allocations: 342.8 kB / 286.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.02638, allocations: 478.9 kB / 286.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.02894, allocations: 2.029 MB / 288.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.02894, allocations: 4 kB / 288.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.02894, allocations: 0 / 288.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.02898, allocations: 0 / 288.9 MB, free: 1.008 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.1201/0.149, allocations: 1.698 MB / 290.6 MB, free: 28.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1491, allocations: 11.16 kB / 290.6 MB, free: 28.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006204/0.1497, allocations: 248.4 kB / 290.9 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.1508, allocations: 0.6976 MB / 291.5 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.1508, allocations: 77.62 kB / 291.6 MB, free: 27.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.151, allocations: 96.16 kB / 291.7 MB, free: 27.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.1527, allocations: 1.082 MB / 292.8 MB, free: 27.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.1527, allocations: 9.641 kB / 292.8 MB, free: 27.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.1528, allocations: 41.98 kB / 292.9 MB, free: 27.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.1528, allocations: 24.91 kB / 292.9 MB, free: 27.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1543, allocations: 0.7711 MB / 293.6 MB, free: 27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005073/0.1594, allocations: 3.75 MB / 297.4 MB, free: 24.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.161, allocations: 0.5722 MB / 298 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.1615, allocations: 294 kB / 298.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.1615, allocations: 12.44 kB / 298.3 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1616, allocations: 53.55 kB / 298.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/0.1616, allocations: 0 / 298.3 MB, free: 24.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.003567/0.1651, allocations: 1.565 MB / 299.9 MB, free: 23.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1652, allocations: 85.08 kB / 300 MB, free: 23.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.1664, allocations: 1.065 MB / 301 MB, free: 23.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.1664, allocations: 36.45 kB / 301.1 MB, free: 23.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.1668, allocations: 0.6799 MB / 301.7 MB, free: 22.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.1669, allocations: 256.3 kB / 302 MB, free: 22.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.1672, allocations: 208.7 kB / 302.2 MB, free: 22.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1674, allocations: 0.6497 MB / 302.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005798/0.168, allocations: 272.6 kB / 303.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.1687, allocations: 0.5666 MB / 303.7 MB, free: 21.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.1699, allocations: 0.8226 MB / 304.5 MB, free: 20.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1699, allocations: 1.219 kB / 304.5 MB, free: 20.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001497/0.1714, allocations: 0.9491 MB / 305.5 MB, free: 20.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1714, allocations: 4 kB / 305.5 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.1714, allocations: 8.875 kB / 305.5 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.1714, allocations: 11.19 kB / 305.5 MB, free: 20.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/0.1724, allocations: 246 kB / 305.7 MB, free: 19.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1724, allocations: 15.88 kB / 305.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.173, allocations: 45.11 kB / 305.8 MB, free: 19.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.1731, allocations: 38.81 kB / 305.8 MB, free: 19.88 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.0002956/0.1734, allocations: 311.5 kB / 306.1 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.1735, allocations: 118.5 kB / 306.2 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005706/0.1741, allocations: 315.3 kB / 306.5 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1741, allocations: 8 kB / 306.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1741, allocations: 3.609 kB / 306.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.1741, allocations: 7.266 kB / 306.6 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.1771, allocations: 2.437 MB / 309 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.1771, allocations: 4 kB / 309 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.1778, allocations: 179.8 kB / 309.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1778, allocations: 8 kB / 309.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.1778, allocations: 20 kB / 309.2 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.1778, allocations: 22 kB / 309.2 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1778, allocations: 4 kB / 309.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1789, allocations: 1.178 MB / 310.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.1791, allocations: 103.4 kB / 310.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.1792, allocations: 20 kB / 310.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.1797, allocations: 39.97 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.1798, allocations: 71.72 kB / 310.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.1799, allocations: 31.94 kB / 310.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005827/0.1805, allocations: 0.6513 MB / 311.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1805, allocations: 0 / 311.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000728/0.1812, allocations: 207.9 kB / 311.5 MB, free: 14 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.002383/0.1836, allocations: 420.7 kB / 311.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.1847, allocations: 0.7156 MB / 312.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1847, allocations: 0 / 312.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.1852, allocations: 335.2 kB / 313 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1862, allocations: 223.2 kB / 313.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1885, allocations: 1.948 MB / 315.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1888, allocations: 451.4 kB / 315.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004367/0.1893, allocations: 118.7 kB / 315.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.1895, allocations: 72.48 kB / 315.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1895, allocations: 0 / 315.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of Templates: time 0.01551/0.205, allocations: 10.66 MB / 326.4 MB, free: 15.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.922777979052626]