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.001904/0.001904, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002441/0.002441, allocations: 156.9 kB / 24.26 MB, free: 172 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.456/1.456, allocations: 177 MB / 204.4 MB, free: 5.629 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.684e-06/1.684e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.034e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009183/0.009213, allocations: 5.824 MB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005177/0.01439, allocations: 2.294 MB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.01557, allocations: 23.88 kB / 280.3 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.01675, allocations: 353.7 kB / 280.7 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.01867, allocations: 0.5586 MB / 281.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.02003, allocations: 463.1 kB / 281.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002726/0.02276, allocations: 1.607 MB / 283.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.02345, allocations: 326 kB / 283.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.02514, allocations: 0.9122 MB / 284.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009686/0.02611, allocations: 0.5259 MB / 285.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.0264, allocations: 164 kB / 285.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.02679, allocations: 199.8 kB / 285.4 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003449/0.02713, allocations: 338.9 kB / 285.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.02772, allocations: 474.9 kB / 286.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.02997, allocations: 2.029 MB / 288.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.02998, allocations: 4 kB / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02998, allocations: 0 / 288.2 MB, free: 1.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.02999, allocations: 0 / 288.2 MB, free: 1.676 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.0031/0.03309, allocations: 1.489 MB / 289.7 MB, free: 156 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.03313, allocations: 8.031 kB / 289.7 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09697/0.1301, allocations: 243.9 kB / 290 MB, free: 28.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.1317, allocations: 0.6958 MB / 290.7 MB, free: 28.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.1318, allocations: 75.77 kB / 290.7 MB, free: 28.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.1319, allocations: 101.1 kB / 290.8 MB, free: 28.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.1339, allocations: 1.032 MB / 291.9 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.1339, allocations: 3 kB / 291.9 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.134, allocations: 36.44 kB / 291.9 MB, free: 27.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.134, allocations: 23.12 kB / 291.9 MB, free: 27.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.1356, allocations: 0.8162 MB / 292.8 MB, free: 27.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.1405, allocations: 2.924 MB / 295.7 MB, free: 25.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.1424, allocations: 0.5874 MB / 296.3 MB, free: 25.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/0.143, allocations: 299.9 kB / 296.6 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.1431, allocations: 16.67 kB / 296.6 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1431, allocations: 43.44 kB / 296.6 MB, free: 25.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 2.315e-06/0.1431, allocations: 0 / 296.6 MB, free: 25.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.004182/0.1473, allocations: 1.689 MB / 298.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.1473, allocations: 87.77 kB / 298.4 MB, free: 24.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.1485, allocations: 0.9161 MB / 299.3 MB, free: 24.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1486, allocations: 36.08 kB / 299.3 MB, free: 24.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.1489, allocations: 0.565 MB / 299.9 MB, free: 23.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.149, allocations: 243.6 kB / 300.1 MB, free: 23.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.1493, allocations: 163.3 kB / 300.3 MB, free: 23.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1494, allocations: 402.3 kB / 300.7 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.1501, allocations: 308 kB / 301 MB, free: 22.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.1509, allocations: 495.9 kB / 301.5 MB, free: 22.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.1523, allocations: 0.7772 MB / 302.3 MB, free: 22.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.1523, allocations: 1.594 kB / 302.3 MB, free: 22.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001985/0.1543, allocations: 1.003 MB / 303.3 MB, free: 21.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1543, allocations: 11.28 kB / 303.3 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1543, allocations: 6.062 kB / 303.3 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.1543, allocations: 8.656 kB / 303.3 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.1555, allocations: 274.8 kB / 303.6 MB, free: 21.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.1555, allocations: 14.44 kB / 303.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.1563, allocations: 60.22 kB / 303.6 MB, free: 21.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.1564, allocations: 39.84 kB / 303.7 MB, free: 21.72 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.0004145/0.1568, allocations: 280 kB / 303.9 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.157, allocations: 116.9 kB / 304.1 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.1576, allocations: 342.7 kB / 304.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1577, allocations: 9.312 kB / 304.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.1577, allocations: 3 kB / 304.4 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.1577, allocations: 7.922 kB / 304.4 MB, free: 21.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.1606, allocations: 2.008 MB / 306.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.1606, allocations: 4 kB / 306.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.1614, allocations: 208.3 kB / 306.6 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.1614, allocations: 12 kB / 306.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.1614, allocations: 31.3 kB / 306.7 MB, free: 19.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1614, allocations: 8 kB / 306.7 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.1614, allocations: 11.94 kB / 306.7 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1627, allocations: 1.033 MB / 307.7 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1629, allocations: 103.4 kB / 307.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.163, allocations: 24 kB / 307.8 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/0.1636, allocations: 47.95 kB / 307.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.1637, allocations: 63.78 kB / 308 MB, free: 17.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.1637, allocations: 31.94 kB / 308 MB, free: 17.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005945/0.1643, allocations: 0.6162 MB / 308.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1643, allocations: 0 / 308.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007559/0.1651, allocations: 208 kB / 308.8 MB, free: 16.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.001588/0.1667, allocations: 411.8 kB / 309.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.1681, allocations: 0.6955 MB / 309.9 MB, free: 16.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1681, allocations: 0 / 309.9 MB, free: 16.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006239/0.1687, allocations: 345.1 kB / 310.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.1698, allocations: 228.1 kB / 310.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.1725, allocations: 1.927 MB / 312.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1729, allocations: 451.6 kB / 312.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004551/0.1733, allocations: 119.9 kB / 313 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.1735, allocations: 68.48 kB / 313 MB, free: 12.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1735, allocations: 0 / 313 MB, free: 12.85 MB / 266.7 MB Notification: Performance of Templates: time 0.01517/0.1887, allocations: 10.65 MB / 323.7 MB, free: 2.379 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] 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.729537551989779]