Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008503/0.0008503, allocations: 149.9 kB / 24.81 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9053/0.9053, allocations: 173.3 MB / 201.4 MB, free: 9.246 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5030,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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.129e-05, allocations: 2.312 kB / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005116/0.005127, allocations: 6.091 MB / 274.5 MB, free: 120 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.007689, allocations: 1.815 MB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.008114, allocations: 23.88 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.00858, allocations: 214.1 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00067/0.00925, allocations: 428.5 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.009739, allocations: 375.4 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01086, allocations: 1.529 MB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.01124, allocations: 325.8 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008024/0.01204, allocations: 0.8537 MB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.01247, allocations: 466.7 kB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.01263, allocations: 156 kB / 280.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.01278, allocations: 152 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.01293, allocations: 303 kB / 281.1 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.01325, allocations: 459 kB / 281.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.01404, allocations: 0.9498 MB / 282.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.01404, allocations: 7.984 kB / 282.5 MB, free: 8.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01404, allocations: 0 / 282.5 MB, free: 8.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.01406, allocations: 0 / 282.5 MB, free: 8.07 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001571/0.01563, allocations: 1.445 MB / 283.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.01566, allocations: 16.92 kB / 283.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.01585, allocations: 200.2 kB / 284.1 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.01642, allocations: 0.596 MB / 284.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.01647, allocations: 70.38 kB / 284.8 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.01658, allocations: 100.3 kB / 284.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.0174, allocations: 0.73 MB / 285.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.01743, allocations: 8.188 kB / 285.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.01748, allocations: 36.38 kB / 285.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.0175, allocations: 35.86 kB / 285.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.01801, allocations: 335.8 kB / 286 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.0206, allocations: 2.489 MB / 288.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.02112, allocations: 0.5001 MB / 289 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.02135, allocations: 223.3 kB / 289.2 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.02139, allocations: 20.48 kB / 289.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.02142, allocations: 49.83 kB / 289.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.014e-06/0.02142, allocations: 3.938 kB / 289.3 MB, free: 1.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=113): time 0.117/0.1384, allocations: 2.493 MB / 291.8 MB, free: 28.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.1384, allocations: 93.7 kB / 291.9 MB, free: 28.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.1389, allocations: 0.5201 MB / 292.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.1389, allocations: 42.02 kB / 292.5 MB, free: 28.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1391, allocations: 498.6 kB / 292.9 MB, free: 28.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.1393, allocations: 403.9 kB / 293.3 MB, free: 28.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.1395, allocations: 194 kB / 293.5 MB, free: 28.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1396, allocations: 0.565 MB / 294.1 MB, free: 27.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.1399, allocations: 131.6 kB / 294.2 MB, free: 27.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.1402, allocations: 321 kB / 294.5 MB, free: 27.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.1406, allocations: 0.4885 MB / 295 MB, free: 27.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1407, allocations: 1.75 kB / 295 MB, free: 27.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.000947/0.1416, allocations: 0.7595 MB / 295.8 MB, free: 27.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1416, allocations: 7.031 kB / 295.8 MB, free: 27.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1416, allocations: 2.859 kB / 295.8 MB, free: 27.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.1419, allocations: 128.4 kB / 295.9 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.1425, allocations: 235.3 kB / 296.2 MB, free: 27.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.1442, allocations: 5.929 MB / 302.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.1446, allocations: 42.14 kB / 302.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.1446, allocations: 29.83 kB / 302.2 MB, free: 21.55 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 (127): * Single equations (assignments): 124 * 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.0002159/0.1448, allocations: 218.7 kB / 302.4 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.145, allocations: 125 kB / 302.5 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.1456, allocations: 0.5156 MB / 303 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.1456, allocations: 13.34 kB / 303 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.1456, allocations: 4.219 kB / 303 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.1456, allocations: 9.375 kB / 303 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.1476, allocations: 1.705 MB / 304.7 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1476, allocations: 0 / 304.7 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.148, allocations: 192.6 kB / 304.9 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.1484, allocations: 163.5 kB / 305.1 MB, free: 20.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/0.1485, allocations: 27.62 kB / 305.1 MB, free: 20.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.1504, allocations: 7.099 MB / 312.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1504, allocations: 5.875 kB / 312.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1516, allocations: 1.139 MB / 313.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1517, allocations: 82.5 kB / 313.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.1517, allocations: 27.84 kB / 313.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.152, allocations: 42.95 kB / 313.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.1521, allocations: 82.67 kB / 313.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.1522, allocations: 24.89 kB / 313.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.1524, allocations: 333.2 kB / 313.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1524, allocations: 0 / 313.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007694/0.1532, allocations: 253.1 kB / 314.2 MB, free: 12.45 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 (102): * Single equations (assignments): 98 * 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.0001379/0.1533, allocations: 135.9 kB / 314.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.1542, allocations: 1.066 MB / 315.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1542, allocations: 0 / 315.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.1547, allocations: 1.021 MB / 316.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.1553, allocations: 183.5 kB / 316.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1576, allocations: 1.839 MB / 318.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.1578, allocations: 195.2 kB / 318.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.1581, allocations: 115.5 kB / 318.7 MB, free: 9.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.1584, allocations: 271.3 kB / 319 MB, free: 9.652 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1584, allocations: 0 / 319 MB, free: 9.652 MB / 266.7 MB Notification: Performance of Templates: time 0.01845/0.1769, allocations: 13.13 MB / 332.1 MB, free: 13.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.955647360999137]