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.001395/0.001395, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001521/0.001521, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.466/1.466, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002191/0.002191, allocations: 51.91 kB / 366.1 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1154, allocations: 52.15 MB / 418.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008282/0.1237, allocations: 6.331 MB / 424.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.127, allocations: 1.854 MB / 426.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.1275, allocations: 19.94 kB / 426.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.1281, allocations: 210.1 kB / 426.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008997/0.129, allocations: 404.8 kB / 427.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000712/0.1297, allocations: 379.5 kB / 427.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.1313, allocations: 1.483 MB / 428.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005395/0.1318, allocations: 357.4 kB / 429.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006308/0.1324, allocations: 0.545 MB / 429.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/0.1332, allocations: 0.5952 MB / 430.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.1334, allocations: 156 kB / 430.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.1336, allocations: 160 kB / 430.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.1338, allocations: 303.1 kB / 431 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005965/0.1344, allocations: 0.6456 MB / 431.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.1363, allocations: 1.857 MB / 433.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1363, allocations: 0 / 433.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1363, allocations: 0 / 433.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.1363, allocations: 4 kB / 433.5 MB, free: 12.74 MB / 366.1 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.003109/0.1394, allocations: 1.468 MB / 435 MB, free: 11.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1395, allocations: 15.97 kB / 435 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.1397, allocations: 128.2 kB / 435.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.141, allocations: 0.6811 MB / 435.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.1411, allocations: 74.38 kB / 435.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.1413, allocations: 104.3 kB / 436 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.1433, allocations: 1.009 MB / 437 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.1433, allocations: 0 / 437 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.1434, allocations: 36 kB / 437 MB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.1434, allocations: 24 kB / 437.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.1454, allocations: 0.8718 MB / 437.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005144/0.1505, allocations: 3.295 MB / 441.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.1521, allocations: 0.7769 MB / 442 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009499/0.153, allocations: 438.9 kB / 442.4 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.1531, allocations: 20.34 kB / 442.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1531, allocations: 43.12 kB / 442.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.866e-06/0.1531, allocations: 0 / 442.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.2028/0.3559, allocations: 4.322 MB / 446.8 MB, free: 29.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.356, allocations: 90.36 kB / 446.9 MB, free: 29.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.3568, allocations: 0.6031 MB / 447.5 MB, free: 29.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.3569, allocations: 47.64 kB / 447.6 MB, free: 29.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.3571, allocations: 432.2 kB / 448 MB, free: 29.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.3574, allocations: 412 kB / 448.4 MB, free: 28.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.3576, allocations: 189.3 kB / 448.6 MB, free: 28.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3577, allocations: 387.9 kB / 448.9 MB, free: 28.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007887/0.3585, allocations: 381.4 kB / 449.3 MB, free: 28.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008529/0.3594, allocations: 0.5129 MB / 449.8 MB, free: 28.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.3609, allocations: 0.8827 MB / 450.7 MB, free: 28.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3609, allocations: 3.375 kB / 450.7 MB, free: 28.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002197/0.3631, allocations: 1.185 MB / 451.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3631, allocations: 6.125 kB / 451.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3631, allocations: 3 kB / 451.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.3635, allocations: 131.8 kB / 452 MB, free: 27.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.3646, allocations: 251.1 kB / 452.3 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.3678, allocations: 4.977 MB / 457.3 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.3686, allocations: 56.61 kB / 457.3 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.3687, allocations: 38.2 kB / 457.4 MB, free: 23.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * 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.0005041/0.3692, allocations: 278.4 kB / 457.6 MB, free: 22.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.3694, allocations: 96.86 kB / 457.7 MB, free: 22.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.371, allocations: 0.7639 MB / 458.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.371, allocations: 16 kB / 458.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.371, allocations: 3.562 kB / 458.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.371, allocations: 5.484 kB / 458.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.3752, allocations: 2.638 MB / 461.2 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3752, allocations: 1.062 kB / 461.2 MB, free: 21.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.3761, allocations: 205.1 kB / 461.4 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.3766, allocations: 155.9 kB / 461.5 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.3767, allocations: 26.83 kB / 461.5 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003165/0.3798, allocations: 6.003 MB / 467.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3798, allocations: 1.406 kB / 467.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.3829, allocations: 1.742 MB / 469.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3832, allocations: 165.8 kB / 469.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.3833, allocations: 26.55 kB / 469.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.3839, allocations: 49.03 kB / 469.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.3841, allocations: 83.89 kB / 469.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.175e-05/0.3841, allocations: 35.59 kB / 469.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000614/0.3847, allocations: 440.5 kB / 470.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3847, allocations: 0 / 470.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3857, allocations: 256.6 kB / 470.3 MB, free: 13.79 MB / 366.1 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 (104): * Single equations (assignments): 100 * 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.0001756/0.3859, allocations: 133.6 kB / 470.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.3884, allocations: 1.3 MB / 471.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3884, allocations: 1.375 kB / 471.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.3898, allocations: 0.9627 MB / 472.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.391, allocations: 182.1 kB / 472.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.3957, allocations: 2.177 MB / 475.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.3963, allocations: 1.021 MB / 476.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006535/0.3969, allocations: 123.6 kB / 476.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3972, allocations: 72.83 kB / 476.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3972, allocations: 1.219 kB / 476.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Templates: time 0.02139/0.4186, allocations: 12.31 MB / 488.6 MB, free: 5.438 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.121164829470217]