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.002609/0.002609, 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.003151/0.003151, allocations: 169.3 kB / 24.28 MB, free: 152 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.562/1.562, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.773e-06/1.773e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.442e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009656/0.00968, allocations: 6.403 MB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004805/0.01449, allocations: 2.353 MB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006713/0.01516, allocations: 23.88 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.01602, allocations: 357.6 kB / 281.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.01754, allocations: 0.5586 MB / 282 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.01854, allocations: 455.1 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002008/0.02055, allocations: 1.615 MB / 284.1 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005829/0.02113, allocations: 326 kB / 284.4 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.02258, allocations: 0.9122 MB / 285.3 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.02358, allocations: 0.5532 MB / 285.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.02383, allocations: 160 kB / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.0242, allocations: 191.9 kB / 286.2 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.02455, allocations: 346.8 kB / 286.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.02514, allocations: 478.8 kB / 287 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.0278, allocations: 2.029 MB / 289 MB, free: 1.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.02781, allocations: 4 kB / 289 MB, free: 1.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.02781, allocations: 0 / 289 MB, free: 1.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.877e-05/0.02785, allocations: 4 kB / 289 MB, free: 1.031 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.1125/0.1404, allocations: 1.694 MB / 290.7 MB, free: 28.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1404, allocations: 9.344 kB / 290.7 MB, free: 28.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.1412, allocations: 248.5 kB / 291 MB, free: 28.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.1425, allocations: 0.6979 MB / 291.7 MB, free: 27.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.1426, allocations: 74.09 kB / 291.7 MB, free: 27.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.1428, allocations: 97.95 kB / 291.8 MB, free: 27.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.1447, allocations: 1.077 MB / 292.9 MB, free: 27.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.1448, allocations: 10.69 kB / 292.9 MB, free: 27.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.1448, allocations: 40.66 kB / 293 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.1449, allocations: 22.72 kB / 293 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.1465, allocations: 0.7729 MB / 293.8 MB, free: 27.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.1522, allocations: 3.758 MB / 297.5 MB, free: 24.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.1541, allocations: 0.5651 MB / 298.1 MB, free: 24.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.1547, allocations: 294.7 kB / 298.4 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.1548, allocations: 12.5 kB / 298.4 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1548, allocations: 50.08 kB / 298.4 MB, free: 24.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=58): time 4.338e-06/0.1548, allocations: 0.5156 kB / 298.4 MB, free: 24.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.00366/0.1585, allocations: 1.572 MB / 300 MB, free: 23.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1585, allocations: 84.2 kB / 300.1 MB, free: 23.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.1598, allocations: 1.065 MB / 301.2 MB, free: 23.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.1599, allocations: 36.45 kB / 301.2 MB, free: 23.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.1602, allocations: 0.6758 MB / 301.9 MB, free: 22.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.1604, allocations: 262.2 kB / 302.1 MB, free: 22.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.1607, allocations: 205 kB / 302.3 MB, free: 22.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.161, allocations: 0.6507 MB / 303 MB, free: 21.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.1616, allocations: 275.8 kB / 303.2 MB, free: 21.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.1623, allocations: 0.56 MB / 303.8 MB, free: 21.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.1635, allocations: 0.8252 MB / 304.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.1636, allocations: 2.531 kB / 304.6 MB, free: 20.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001607/0.1652, allocations: 0.9454 MB / 305.6 MB, free: 20.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1652, allocations: 8 kB / 305.6 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1652, allocations: 8.75 kB / 305.6 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1652, allocations: 10.44 kB / 305.6 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.1662, allocations: 245 kB / 305.8 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.1662, allocations: 19.84 kB / 305.9 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.1668, allocations: 41.81 kB / 305.9 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.1669, allocations: 39 kB / 305.9 MB, free: 19.91 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.0003109/0.1672, allocations: 315.5 kB / 306.3 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.1674, allocations: 115.4 kB / 306.4 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.168, allocations: 310.4 kB / 306.7 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.168, allocations: 4 kB / 306.7 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.168, allocations: 4 kB / 306.7 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.168, allocations: 11.12 kB / 306.7 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.1711, allocations: 2.433 MB / 309.1 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.1712, allocations: 7.938 kB / 309.1 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/0.1718, allocations: 184.5 kB / 309.3 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.1718, allocations: 8 kB / 309.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.1719, allocations: 26.42 kB / 309.3 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1719, allocations: 11.94 kB / 309.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.1719, allocations: 8 kB / 309.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.173, allocations: 1.174 MB / 310.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.1732, allocations: 107.4 kB / 310.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.1733, allocations: 23.98 kB / 310.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.1738, allocations: 31.98 kB / 310.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.174, allocations: 69.58 kB / 310.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.174, allocations: 31.92 kB / 310.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006134/0.1746, allocations: 0.6552 MB / 311.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1746, allocations: 0 / 311.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007559/0.1754, allocations: 211.9 kB / 311.7 MB, free: 14.03 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.002454/0.1778, allocations: 418 kB / 312.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.1791, allocations: 0.7204 MB / 312.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1791, allocations: 0 / 312.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.1795, allocations: 326.1 kB / 313.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.1807, allocations: 232.4 kB / 313.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.1832, allocations: 1.945 MB / 315.3 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1835, allocations: 447.5 kB / 315.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.1839, allocations: 116.1 kB / 315.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.1841, allocations: 72.47 kB / 315.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1841, allocations: 0 / 315.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of Templates: time 0.01639/0.2005, allocations: 10.67 MB / 326.6 MB, free: 15.35 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 240] 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: 5.026516932994127]