Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.001163/0.001163, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001082/0.001082, allocations: 161.9 kB / 24.91 MB, free: 8.719 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.9687/0.9687, allocations: 177 MB / 205.2 MB, free: 5.012 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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.349e-05, allocations: 2.312 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01213/0.01215, allocations: 6.26 MB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.01812, allocations: 1.959 MB / 281.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.01849, allocations: 23.88 kB / 281.7 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.01895, allocations: 214.1 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.02268, allocations: 444.4 kB / 282.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.02323, allocations: 379.4 kB / 282.7 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.02445, allocations: 1.553 MB / 284.2 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.02488, allocations: 337.8 kB / 284.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008799/0.02576, allocations: 0.8772 MB / 285.4 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.02629, allocations: 486.6 kB / 285.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.02644, allocations: 152 kB / 286.1 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.02664, allocations: 160 kB / 286.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.02682, allocations: 303 kB / 286.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.02718, allocations: 470.9 kB / 287 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.02804, allocations: 0.9654 MB / 287.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.02804, allocations: 0 / 287.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.02804, allocations: 0 / 287.9 MB, free: 2.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.02805, allocations: 0 / 287.9 MB, free: 2.395 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001455/0.02951, allocations: 1.34 MB / 289.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.02954, allocations: 11.98 kB / 289.3 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.02984, allocations: 188.8 kB / 289.5 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.03029, allocations: 441 kB / 289.9 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.03033, allocations: 74.38 kB / 290 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.14e-05/0.03042, allocations: 99.94 kB / 290.1 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1017/0.1322, allocations: 0.7208 MB / 290.8 MB, free: 25.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1322, allocations: 10.08 kB / 290.8 MB, free: 25.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.1322, allocations: 40.34 kB / 290.8 MB, free: 25.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1323, allocations: 23.69 kB / 290.9 MB, free: 25.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.1327, allocations: 284.8 kB / 291.1 MB, free: 25.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1349, allocations: 1.962 MB / 293.1 MB, free: 25.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.1354, allocations: 466.4 kB / 293.6 MB, free: 24.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.1356, allocations: 195.2 kB / 293.7 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.1356, allocations: 21.88 kB / 293.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1356, allocations: 46.88 kB / 293.8 MB, free: 24.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=94): time 1.924e-06/0.1356, allocations: 0.625 kB / 293.8 MB, free: 24.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=117): time 0.003421/0.139, allocations: 2.548 MB / 296.4 MB, free: 24.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1391, allocations: 90.72 kB / 296.5 MB, free: 24.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.1394, allocations: 490.4 kB / 296.9 MB, free: 24.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.1394, allocations: 43.08 kB / 297 MB, free: 24.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1395, allocations: 385.1 kB / 297.4 MB, free: 23.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.1397, allocations: 423.7 kB / 297.8 MB, free: 23.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.1399, allocations: 190.9 kB / 298 MB, free: 23.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.1399, allocations: 406.3 kB / 298.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1401, allocations: 112.8 kB / 298.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.1403, allocations: 258.9 kB / 298.7 MB, free: 23.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.1407, allocations: 476.7 kB / 299.2 MB, free: 22.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1407, allocations: 0 / 299.2 MB, free: 22.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006499/0.1414, allocations: 0.5986 MB / 299.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1414, allocations: 6.094 kB / 299.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1414, allocations: 4.219 kB / 299.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.1417, allocations: 119.8 kB / 299.9 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.1422, allocations: 271.4 kB / 300.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.1435, allocations: 4.061 MB / 304.2 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.1438, allocations: 28.38 kB / 304.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1438, allocations: 29.09 kB / 304.3 MB, free: 19.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.144, allocations: 178.8 kB / 304.5 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.1441, allocations: 90.3 kB / 304.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.1445, allocations: 444.9 kB / 305 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1445, allocations: 12.25 kB / 305 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1445, allocations: 6.719 kB / 305 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1445, allocations: 7.234 kB / 305 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.1462, allocations: 1.298 MB / 306.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1462, allocations: 0 / 306.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.1467, allocations: 227.2 kB / 306.5 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.147, allocations: 156.3 kB / 306.7 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.147, allocations: 27.08 kB / 306.7 MB, free: 18.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.1486, allocations: 4.87 MB / 311.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1486, allocations: 0 / 311.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.1493, allocations: 0.8992 MB / 312.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.1495, allocations: 84.39 kB / 312.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.1495, allocations: 21.69 kB / 312.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.1498, allocations: 29.61 kB / 312.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.1499, allocations: 87.41 kB / 312.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1499, allocations: 30.14 kB / 312.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.15, allocations: 228.4 kB / 312.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.15, allocations: 0 / 312.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005422/0.1506, allocations: 256 kB / 313.2 MB, free: 12.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.1507, allocations: 119.2 kB / 313.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000634/0.1513, allocations: 0.8618 MB / 314.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.1513, allocations: 11.94 kB / 314.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.1517, allocations: 0.7715 MB / 315 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1522, allocations: 200.3 kB / 315.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1539, allocations: 1.773 MB / 316.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.778e-05/0.154, allocations: 206.7 kB / 317.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000278/0.1543, allocations: 119.6 kB / 317.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.1546, allocations: 249.2 kB / 317.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1546, allocations: 0 / 317.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of Templates: time 0.01527/0.1698, allocations: 13.81 MB / 331.3 MB, free: 10.47 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.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.0199866257607937]