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.001001/0.001001, allocations: 71.75 kB / 21.69 MB, free: 2.84 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.001145/0.001145, allocations: 160.1 kB / 24.99 MB, free: 8.824 MB / 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.9906/0.9906, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.312e-06/1.312e-06, allocations: 0 / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.76e-05, allocations: 2.312 kB / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.0044/0.004418, allocations: 4.637 MB / 277.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.00697, allocations: 1.967 MB / 279.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.007265, allocations: 15.94 kB / 279.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006168/0.007882, allocations: 410.2 kB / 280.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.008569, allocations: 485.2 kB / 280.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.009057, allocations: 327.3 kB / 280.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.00993, allocations: 1.063 MB / 281.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.01022, allocations: 195 kB / 282.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.01076, allocations: 0.612 MB / 282.7 MB, free: 8.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003878/0.01115, allocations: 458.9 kB / 283.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-05/0.01123, allocations: 100 kB / 283.3 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.01138, allocations: 131.9 kB / 283.4 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.01153, allocations: 247.2 kB / 283.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.01173, allocations: 307.2 kB / 284 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.01234, allocations: 0.7318 MB / 284.7 MB, free: 6.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01235, allocations: 4 kB / 284.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01235, allocations: 0 / 284.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.01235, allocations: 0 / 284.7 MB, free: 6.133 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.001296/0.01365, allocations: 1.254 MB / 285.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.01368, allocations: 12.03 kB / 286 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.014, allocations: 172.3 kB / 286.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.01452, allocations: 0.5215 MB / 286.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.01456, allocations: 49.69 kB / 286.7 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.01463, allocations: 60.12 kB / 286.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.01525, allocations: 0.514 MB / 287.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.01527, allocations: 3.953 kB / 287.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.01531, allocations: 31.92 kB / 287.3 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01532, allocations: 16 kB / 287.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.01574, allocations: 263.7 kB / 287.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.01776, allocations: 2.022 MB / 289.6 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.01817, allocations: 293.5 kB / 289.9 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.01846, allocations: 185.1 kB / 290.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.01849, allocations: 8.5 kB / 290.1 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.01852, allocations: 41.89 kB / 290.1 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.01852, allocations: 0 / 290.1 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1074/0.1259, allocations: 0.9904 MB / 291.1 MB, free: 28.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.126, allocations: 59.5 kB / 291.2 MB, free: 27.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/0.1266, allocations: 0.7387 MB / 291.9 MB, free: 27.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1267, allocations: 35.14 kB / 291.9 MB, free: 27.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1269, allocations: 480.7 kB / 292.4 MB, free: 27.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.127, allocations: 221.2 kB / 292.6 MB, free: 27.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.1271, allocations: 125.7 kB / 292.7 MB, free: 27.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1272, allocations: 0.5694 MB / 293.3 MB, free: 26.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.1274, allocations: 98.55 kB / 293.4 MB, free: 26.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.1277, allocations: 230.6 kB / 293.6 MB, free: 26.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.1281, allocations: 349.5 kB / 294 MB, free: 26.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1281, allocations: 2.969 kB / 294 MB, free: 26.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006553/0.1287, allocations: 0.503 MB / 294.5 MB, free: 26.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1287, allocations: 6.438 kB / 294.5 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1288, allocations: 2.594 kB / 294.5 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1288, allocations: 5.75 kB / 294.5 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.1292, allocations: 161 kB / 294.6 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1292, allocations: 9.938 kB / 294.7 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1295, allocations: 29.77 kB / 294.7 MB, free: 26.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1295, allocations: 27.53 kB / 294.7 MB, free: 26.53 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.0001421/0.1296, allocations: 190.5 kB / 294.9 MB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.1297, allocations: 107.9 kB / 295 MB, free: 26.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005791/0.1303, allocations: 421.1 kB / 295.4 MB, free: 26.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1303, allocations: 7.719 kB / 295.4 MB, free: 26.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1303, allocations: 1.031 kB / 295.4 MB, free: 26.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1303, allocations: 3.906 kB / 295.4 MB, free: 26.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.1318, allocations: 1.331 MB / 296.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1318, allocations: 2.438 kB / 296.8 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.1321, allocations: 126.5 kB / 296.9 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1321, allocations: 4.281 kB / 296.9 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.1321, allocations: 18.8 kB / 296.9 MB, free: 25.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1321, allocations: 7.656 kB / 296.9 MB, free: 25.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1321, allocations: 3.625 kB / 296.9 MB, free: 25.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.1327, allocations: 0.6357 MB / 297.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.1328, allocations: 130.5 kB / 297.7 MB, free: 24.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.1329, allocations: 18.86 kB / 297.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1331, allocations: 24.78 kB / 297.7 MB, free: 24.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.1331, allocations: 49.92 kB / 297.8 MB, free: 24.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.1332, allocations: 19.53 kB / 297.8 MB, free: 24.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004009/0.1336, allocations: 491.7 kB / 298.3 MB, free: 24.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1336, allocations: 3.828 kB / 298.3 MB, free: 24.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004167/0.134, allocations: 152.5 kB / 298.4 MB, free: 24.58 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.0007679/0.1348, allocations: 368.3 kB / 298.8 MB, free: 24.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005532/0.1353, allocations: 341.1 kB / 299.1 MB, free: 24.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1353, allocations: 5.188 kB / 299.1 MB, free: 24.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.1355, allocations: 178.7 kB / 299.3 MB, free: 24.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.136, allocations: 144.9 kB / 299.4 MB, free: 24.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.138, allocations: 1.385 MB / 300.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.1382, allocations: 177.3 kB / 301 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000261/0.1384, allocations: 88.5 kB / 301.1 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.1385, allocations: 56.5 kB / 301.1 MB, free: 23.37 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1385, allocations: 0.6562 kB / 301.1 MB, free: 23.37 MB / 266.7 MB Notification: Performance of Templates: time 0.01048/0.149, allocations: 7.843 MB / 309 MB, free: 18.82 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.153570423135534]