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.001299/0.001299, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.001059/0.001059, allocations: 165 kB / 24.56 MB, free: 20 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.025/1.025, allocations: 177.1 MB / 205 MB, free: 5.617 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.482e-06/1.482e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.396e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004557/0.004581, allocations: 4.672 MB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.007572, allocations: 1.956 MB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.007968, allocations: 11.94 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000689/0.008657, allocations: 430 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008339/0.009491, allocations: 469.3 kB / 280.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.01004, allocations: 339.3 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000936/0.01098, allocations: 1.067 MB / 281.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.01127, allocations: 199 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.01194, allocations: 0.6043 MB / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004924/0.01243, allocations: 462.9 kB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.01254, allocations: 92 kB / 283.2 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.01271, allocations: 123.9 kB / 283.3 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.01285, allocations: 239.2 kB / 283.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.01307, allocations: 307.2 kB / 283.9 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.01377, allocations: 0.7162 MB / 284.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01378, allocations: 0 / 284.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01378, allocations: 0 / 284.6 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.01379, allocations: 0 / 284.6 MB, free: 5.855 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.001648/0.01544, allocations: 1.25 MB / 285.8 MB, free: 4.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.01547, allocations: 8.031 kB / 285.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.01581, allocations: 172.2 kB / 286 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.01635, allocations: 0.5007 MB / 286.5 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.01639, allocations: 45.69 kB / 286.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.01646, allocations: 64.12 kB / 286.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.01711, allocations: 0.5141 MB / 287.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01713, allocations: 3.938 kB / 287.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.01717, allocations: 28 kB / 287.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01719, allocations: 12 kB / 287.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.01761, allocations: 263.7 kB / 287.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.01987, allocations: 2.029 MB / 289.5 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.02035, allocations: 297.5 kB / 289.8 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.02067, allocations: 177.1 kB / 289.9 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.02071, allocations: 12.5 kB / 290 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.02075, allocations: 41.83 kB / 290 MB, free: 268 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.435e-06/0.02075, allocations: 4 kB / 290 MB, free: 264 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1127/0.1334, allocations: 0.981 MB / 291 MB, free: 24.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1335, allocations: 59.38 kB / 291 MB, free: 24.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007348/0.1342, allocations: 0.7381 MB / 291.8 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1342, allocations: 37.2 kB / 291.8 MB, free: 24.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.1344, allocations: 481.5 kB / 292.3 MB, free: 24.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1345, allocations: 225.1 kB / 292.5 MB, free: 23.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.1347, allocations: 125.3 kB / 292.6 MB, free: 23.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1348, allocations: 0.5728 MB / 293.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.135, allocations: 95.2 kB / 293.3 MB, free: 23.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.1353, allocations: 231.8 kB / 293.5 MB, free: 23.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.1358, allocations: 348.8 kB / 293.9 MB, free: 23.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1358, allocations: 1 kB / 293.9 MB, free: 23.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000769/0.1366, allocations: 0.4959 MB / 294.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1366, allocations: 6.656 kB / 294.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1366, allocations: 3.609 kB / 294.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1366, allocations: 10.19 kB / 294.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.1372, allocations: 165.6 kB / 294.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1372, allocations: 6.828 kB / 294.5 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1374, allocations: 24.62 kB / 294.6 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.1375, allocations: 26.92 kB / 294.6 MB, free: 23.05 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.0001494/0.1376, allocations: 189.5 kB / 294.8 MB, free: 22.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1377, allocations: 107 kB / 294.9 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.1384, allocations: 419.2 kB / 295.3 MB, free: 22.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1384, allocations: 11.28 kB / 295.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1384, allocations: 0 / 295.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1384, allocations: 3.984 kB / 295.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1401, allocations: 1.338 MB / 296.6 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1401, allocations: 2.938 kB / 296.6 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.1405, allocations: 124.6 kB / 296.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1405, allocations: 5.156 kB / 296.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.1406, allocations: 17.77 kB / 296.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.1406, allocations: 13.12 kB / 296.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1406, allocations: 3.281 kB / 296.8 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.1412, allocations: 0.6321 MB / 297.4 MB, free: 21.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.1414, allocations: 124.2 kB / 297.6 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.1415, allocations: 14.75 kB / 297.6 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.1417, allocations: 30.84 kB / 297.6 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.1418, allocations: 48.75 kB / 297.7 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.1419, allocations: 23.91 kB / 297.7 MB, free: 21.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004817/0.1423, allocations: 490.2 kB / 298.2 MB, free: 21.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1423, allocations: 1.062 kB / 298.2 MB, free: 21.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005521/0.1429, allocations: 151.2 kB / 298.3 MB, free: 21.54 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.0008328/0.1437, allocations: 362.7 kB / 298.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006248/0.1444, allocations: 345.9 kB / 299 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1444, allocations: 0 / 299 MB, free: 21.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.1446, allocations: 187.6 kB / 299.2 MB, free: 21.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.1453, allocations: 141.7 kB / 299.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1473, allocations: 1.389 MB / 300.7 MB, free: 20.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.1475, allocations: 174.2 kB / 300.9 MB, free: 20.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003192/0.1478, allocations: 99.38 kB / 301 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1479, allocations: 52.84 kB / 301 MB, free: 20.38 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1479, allocations: 0 / 301 MB, free: 20.38 MB / 266.7 MB Notification: Performance of Templates: time 0.0115/0.1594, allocations: 8.268 MB / 309.3 MB, free: 16.31 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.1356557412073016]