Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0009433/0.0009433, allocations: 86.59 kB / 21.43 MB, free: 3.066 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.0009379/0.0009379, allocations: 168.2 kB / 24.82 MB, free: 8.875 MB / 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 0.9635/0.9635, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.234e-05, allocations: 3.719 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005311/0.005333, allocations: 4.571 MB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.007771, allocations: 1.951 MB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.008018, allocations: 15.94 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.008829, allocations: 422 kB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006556/0.009485, allocations: 477.3 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.009935, allocations: 327.3 kB / 281.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.01071, allocations: 1.067 MB / 282.1 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.01096, allocations: 203 kB / 282.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.01158, allocations: 0.6043 MB / 282.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004166/0.012, allocations: 454.9 kB / 283.4 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.01212, allocations: 96 kB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.01232, allocations: 131.9 kB / 283.6 MB, free: 6.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.01246, allocations: 243.1 kB / 283.8 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.01264, allocations: 303.2 kB / 284.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.01323, allocations: 0.7124 MB / 284.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01323, allocations: 0 / 284.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01324, allocations: 0 / 284.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.01325, allocations: 0 / 284.8 MB, free: 5.645 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.001219/0.01446, allocations: 1.258 MB / 286.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.0145, allocations: 12.03 kB / 286.1 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.01483, allocations: 172.3 kB / 286.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.01527, allocations: 0.4968 MB / 286.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.01531, allocations: 45.69 kB / 286.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.01537, allocations: 60.38 kB / 286.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/0.01613, allocations: 486.7 kB / 287.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.01615, allocations: 0 / 287.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.01618, allocations: 28 kB / 287.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.01619, allocations: 16 kB / 287.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.01646, allocations: 212.9 kB / 287.6 MB, free: 2.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.01829, allocations: 1.921 MB / 289.5 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.0186, allocations: 265.5 kB / 289.8 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.0188, allocations: 165 kB / 289.9 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.01883, allocations: 12.44 kB / 290 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.01886, allocations: 45.83 kB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 2.795e-06/0.01886, allocations: 3.984 kB / 290 MB, free: 296 kB / 266.7 MB Notification: Performance of matching and sorting (n=63): time 0.1162/0.135, allocations: 0.8179 MB / 290.8 MB, free: 24.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1351, allocations: 59.19 kB / 290.9 MB, free: 24.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006227/0.1357, allocations: 0.7144 MB / 291.6 MB, free: 24.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.1357, allocations: 36.95 kB / 291.6 MB, free: 24.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1359, allocations: 492.9 kB / 292.1 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1361, allocations: 219.9 kB / 292.3 MB, free: 23.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.1362, allocations: 130.4 kB / 292.5 MB, free: 23.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1363, allocations: 0.5826 MB / 293 MB, free: 23.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1365, allocations: 75.98 kB / 293.1 MB, free: 23.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1367, allocations: 209.2 kB / 293.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.137, allocations: 312.8 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.137, allocations: 1.219 kB / 293.6 MB, free: 23.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006413/0.1377, allocations: 460.2 kB / 294.1 MB, free: 22.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1377, allocations: 6.594 kB / 294.1 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1377, allocations: 2.688 kB / 294.1 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1377, allocations: 5.656 kB / 294.1 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/0.1412, allocations: 164.8 kB / 294.3 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1413, allocations: 7.969 kB / 294.3 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1415, allocations: 23.08 kB / 294.3 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.1415, allocations: 22.75 kB / 294.3 MB, free: 22.95 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.0001518/0.1417, allocations: 194.1 kB / 294.5 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1418, allocations: 103 kB / 294.6 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.1423, allocations: 387.6 kB / 295 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1424, allocations: 6.359 kB / 295 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1424, allocations: 0 / 295 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1424, allocations: 6.281 kB / 295 MB, free: 22.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.1453, allocations: 1.195 MB / 296.2 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1453, allocations: 6.188 kB / 296.2 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.1457, allocations: 121.2 kB / 296.3 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1457, allocations: 4.438 kB / 296.3 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.1457, allocations: 14.91 kB / 296.3 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.1457, allocations: 11.47 kB / 296.3 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1457, allocations: 3.359 kB / 296.3 MB, free: 22.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.1462, allocations: 0.6159 MB / 297 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.1464, allocations: 120.8 kB / 297.1 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.1465, allocations: 17.73 kB / 297.1 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.1467, allocations: 25.89 kB / 297.1 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.1468, allocations: 50.3 kB / 297.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.1468, allocations: 18.92 kB / 297.2 MB, free: 21.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000362/0.1472, allocations: 448.8 kB / 297.6 MB, free: 21.63 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1472, allocations: 0 / 297.6 MB, free: 21.63 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004866/0.1476, allocations: 153 kB / 297.8 MB, free: 21.63 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.0007917/0.1484, allocations: 355.3 kB / 298.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005482/0.1539, allocations: 306.2 kB / 298.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1539, allocations: 1.094 kB / 298.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.1541, allocations: 162.8 kB / 298.6 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.1547, allocations: 142 kB / 298.7 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.1599, allocations: 1.38 MB / 300.1 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.16, allocations: 174.5 kB / 300.3 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.1604, allocations: 87.34 kB / 300.4 MB, free: 20.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.1607, allocations: 209.2 kB / 300.6 MB, free: 20.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1607, allocations: 4 kB / 300.6 MB, free: 20.62 MB / 266.7 MB Notification: Performance of Templates: time 0.02901/0.1897, allocations: 8.479 MB / 309 MB, free: 16.68 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.090061864349991]