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.001024/0.001024, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.00105/0.00105, allocations: 161 kB / 24.56 MB, free: 12 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 0.9733/0.9733, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.764e-06/1.764e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.297e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004712/0.004735, allocations: 4.661 MB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.007248, allocations: 1.967 MB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.007531, allocations: 11.94 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.008155, allocations: 422.1 kB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006583/0.008813, allocations: 481.2 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.009275, allocations: 331.3 kB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007289/0.01, allocations: 1.063 MB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.01029, allocations: 195 kB / 282.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.01087, allocations: 0.6082 MB / 282.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.01131, allocations: 450.9 kB / 283.1 MB, free: 7.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-05/0.01141, allocations: 96 kB / 283.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.01156, allocations: 143.9 kB / 283.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.01171, allocations: 239.2 kB / 283.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.01192, allocations: 311.2 kB / 283.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008348/0.01276, allocations: 0.7279 MB / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01276, allocations: 0 / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01276, allocations: 0 / 284.6 MB, free: 5.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.01278, allocations: 0 / 284.6 MB, free: 5.859 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.001503/0.01428, allocations: 1.27 MB / 285.9 MB, free: 4.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.01432, allocations: 8.031 kB / 285.9 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.01466, allocations: 180.2 kB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.01537, allocations: 0.5137 MB / 286.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.01543, allocations: 53.69 kB / 286.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.01553, allocations: 60.12 kB / 286.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.01642, allocations: 0.5101 MB / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.01645, allocations: 7.953 kB / 287.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.0165, allocations: 24 kB / 287.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.01652, allocations: 16 kB / 287.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.01714, allocations: 271.6 kB / 287.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.01928, allocations: 2.014 MB / 289.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.01969, allocations: 301.4 kB / 289.8 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.01998, allocations: 185 kB / 290 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.02002, allocations: 8.5 kB / 290 MB, free: 280 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.02005, allocations: 41.89 kB / 290.1 MB, free: 228 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.964e-06/0.02005, allocations: 0 / 290.1 MB, free: 228 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1271/0.1472, allocations: 0.9823 MB / 291 MB, free: 24.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.1472, allocations: 58.72 kB / 291.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.1479, allocations: 0.7358 MB / 291.8 MB, free: 24.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1479, allocations: 40.97 kB / 291.9 MB, free: 24.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.1482, allocations: 476.5 kB / 292.3 MB, free: 24.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1483, allocations: 220.9 kB / 292.6 MB, free: 24.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1484, allocations: 127.1 kB / 292.7 MB, free: 24.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1485, allocations: 0.5735 MB / 293.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1488, allocations: 102 kB / 293.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.149, allocations: 226 kB / 293.6 MB, free: 23.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.1494, allocations: 347.8 kB / 293.9 MB, free: 23.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1494, allocations: 1 kB / 293.9 MB, free: 23.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006965/0.1501, allocations: 0.4977 MB / 294.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1501, allocations: 6.688 kB / 294.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1501, allocations: 3.156 kB / 294.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1501, allocations: 9.875 kB / 294.4 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.1506, allocations: 164.9 kB / 294.6 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1506, allocations: 7.219 kB / 294.6 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.1508, allocations: 27.73 kB / 294.6 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.1509, allocations: 26.91 kB / 294.7 MB, free: 23.17 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.0001404/0.151, allocations: 195.6 kB / 294.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1511, allocations: 99.33 kB / 294.9 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005977/0.1517, allocations: 415.1 kB / 295.3 MB, free: 22.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1517, allocations: 10.41 kB / 295.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1517, allocations: 0 / 295.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1517, allocations: 5.719 kB / 295.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.1533, allocations: 1.343 MB / 296.7 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1533, allocations: 5.016 kB / 296.7 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.1536, allocations: 125 kB / 296.8 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1536, allocations: 5.375 kB / 296.8 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.1536, allocations: 15.78 kB / 296.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.1536, allocations: 11.17 kB / 296.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1536, allocations: 7.75 kB / 296.9 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.1542, allocations: 0.6348 MB / 297.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.1543, allocations: 124.7 kB / 297.6 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.1544, allocations: 13.67 kB / 297.6 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1546, allocations: 27.16 kB / 297.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.1546, allocations: 47.62 kB / 297.7 MB, free: 21.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.1547, allocations: 19.05 kB / 297.7 MB, free: 21.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004587/0.1551, allocations: 491.5 kB / 298.2 MB, free: 21.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 7.062 kB / 298.2 MB, free: 21.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004373/0.1556, allocations: 151.6 kB / 298.4 MB, free: 21.64 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.0007492/0.1563, allocations: 356.9 kB / 298.7 MB, free: 21.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.1569, allocations: 347.7 kB / 299.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1569, allocations: 1.062 kB / 299.1 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.1572, allocations: 180.9 kB / 299.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1576, allocations: 151.2 kB / 299.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1595, allocations: 1.388 MB / 300.8 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.1596, allocations: 175 kB / 300.9 MB, free: 20.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.1599, allocations: 95.31 kB / 301 MB, free: 20.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.16, allocations: 52.27 kB / 301.1 MB, free: 20.47 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.16, allocations: 0 / 301.1 MB, free: 20.47 MB / 266.7 MB Notification: Performance of Templates: time 0.01049/0.1705, allocations: 7.842 MB / 308.9 MB, free: 16.8 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4170318320393562]