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.001004/0.001004, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.0009624/0.0009624, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.9723/0.9723, allocations: 173.3 MB / 201.1 MB, free: 9.344 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.483e-06/1.483e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.976e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.01276/0.01278, allocations: 6.232 MB / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.02041, allocations: 1.83 MB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.02076, allocations: 19.88 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.0212, allocations: 214.1 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.02182, allocations: 424.5 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004818/0.0223, allocations: 379.4 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.02342, allocations: 1.525 MB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004413/0.02386, allocations: 325.8 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.02464, allocations: 0.8576 MB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.02509, allocations: 470.7 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.02524, allocations: 156 kB / 280.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.02538, allocations: 152 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.02553, allocations: 303 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.02584, allocations: 455 kB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008083/0.02665, allocations: 0.946 MB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.02665, allocations: 0 / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.02665, allocations: 0 / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.02667, allocations: 0 / 282.2 MB, free: 8.137 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.001641/0.02831, allocations: 1.438 MB / 283.7 MB, free: 6.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.02836, allocations: 12.92 kB / 283.7 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.02858, allocations: 196.2 kB / 283.9 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.02925, allocations: 0.6077 MB / 284.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.02931, allocations: 74.38 kB / 284.5 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.02941, allocations: 100.3 kB / 284.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.03041, allocations: 0.7965 MB / 285.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.03044, allocations: 192 / 285.4 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.03049, allocations: 44.38 kB / 285.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.03051, allocations: 23.94 kB / 285.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006628/0.03117, allocations: 429.5 kB / 285.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.03388, allocations: 2.597 MB / 288.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.03455, allocations: 0.5383 MB / 289.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.03488, allocations: 256.7 kB / 289.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.03492, allocations: 20.48 kB / 289.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.03495, allocations: 45.89 kB / 289.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.494e-06/0.03495, allocations: 4 kB / 289.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of matching and sorting (n=113): time 0.1102/0.1452, allocations: 2.936 MB / 292.3 MB, free: 28.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.1452, allocations: 89.47 kB / 292.4 MB, free: 28.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.1456, allocations: 0.5349 MB / 292.9 MB, free: 28.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.1457, allocations: 48.33 kB / 293 MB, free: 28.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.1459, allocations: 0.4909 MB / 293.5 MB, free: 28.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.146, allocations: 397.2 kB / 293.9 MB, free: 27.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.1462, allocations: 189.3 kB / 294 MB, free: 27.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1463, allocations: 0.5619 MB / 294.6 MB, free: 27.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.1466, allocations: 170.3 kB / 294.8 MB, free: 27.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.147, allocations: 358.6 kB / 295.1 MB, free: 27.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.1476, allocations: 0.556 MB / 295.7 MB, free: 27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1476, allocations: 1.188 kB / 295.7 MB, free: 27 MB / 266.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001315/0.1489, allocations: 0.8347 MB / 296.5 MB, free: 26.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.149, allocations: 6.781 kB / 296.5 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.149, allocations: 3.781 kB / 296.5 MB, free: 26.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/0.1494, allocations: 137.2 kB / 296.7 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.15, allocations: 235.5 kB / 296.9 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.1521, allocations: 6.007 MB / 302.9 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.1524, allocations: 38.31 kB / 302.9 MB, free: 20.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.1525, allocations: 42.17 kB / 303 MB, free: 20.98 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 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.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.0002258/0.1527, allocations: 225.4 kB / 303.2 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.1528, allocations: 125.7 kB / 303.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.1536, allocations: 0.5595 MB / 303.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1536, allocations: 11.31 kB / 303.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1536, allocations: 3.375 kB / 303.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.1536, allocations: 6.625 kB / 303.9 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.1558, allocations: 1.87 MB / 305.8 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.1558, allocations: 3.047 kB / 305.8 MB, free: 19.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.1564, allocations: 189.7 kB / 306 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/0.1567, allocations: 165.6 kB / 306.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.1568, allocations: 30.22 kB / 306.1 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.1589, allocations: 7.2 MB / 313.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1589, allocations: 5.562 kB / 313.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.1602, allocations: 1.244 MB / 314.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.1603, allocations: 90.56 kB / 314.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.1603, allocations: 19.62 kB / 314.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.1606, allocations: 34.72 kB / 314.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.1607, allocations: 81.47 kB / 314.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.1607, allocations: 36.72 kB / 314.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002712/0.161, allocations: 363.5 kB / 315.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.161, allocations: 0 / 315.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005888/0.1616, allocations: 251.9 kB / 315.5 MB, free: 11.27 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.0001296/0.1617, allocations: 137.6 kB / 315.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009921/0.1627, allocations: 1.143 MB / 316.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1627, allocations: 0 / 316.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.1633, allocations: 1.04 MB / 317.8 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.1638, allocations: 195.4 kB / 318 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.166, allocations: 1.854 MB / 319.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.1661, allocations: 194.9 kB / 320 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.1664, allocations: 112.3 kB / 320.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1665, allocations: 79.72 kB / 320.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1665, allocations: 0 / 320.2 MB, free: 8.164 MB / 266.7 MB Notification: Performance of Templates: time 0.01415/0.1807, allocations: 12.67 MB / 332.9 MB, free: 12.09 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: 3.089453463908285]