Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004049/0.004049, allocations: 160.7 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8355/0.8355, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.32e-07/8.32e-07, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.804e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004391/0.004409, allocations: 5.735 MB / 331.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.006357, allocations: 1.843 MB / 333.4 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.00662, allocations: 23.88 kB / 333.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.006977, allocations: 210.1 kB / 333.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.00748, allocations: 444.5 kB / 334.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.007881, allocations: 375.4 kB / 334.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.008736, allocations: 1.557 MB / 336 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.009084, allocations: 325.8 kB / 336.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006046/0.009688, allocations: 0.8615 MB / 337.2 MB, free: 4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.01007, allocations: 462.7 kB / 337.6 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.01019, allocations: 164 kB / 337.8 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.01033, allocations: 160 kB / 337.9 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.01048, allocations: 314.9 kB / 338.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.01074, allocations: 467 kB / 338.7 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.0119, allocations: 1.943 MB / 340.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.01191, allocations: 3.984 kB / 340.6 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01191, allocations: 0 / 340.6 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.01192, allocations: 0 / 340.6 MB, free: 0.5078 MB / 298.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.001522/0.01344, allocations: 1.381 MB / 342 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.01347, allocations: 12.03 kB / 342 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.01376, allocations: 160.1 kB / 342.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.01449, allocations: 0.6264 MB / 342.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.01454, allocations: 74.38 kB / 342.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.01464, allocations: 107.9 kB / 343 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.0157, allocations: 1.02 MB / 344 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.01573, allocations: 7.953 kB / 344 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.01579, allocations: 40 kB / 344.1 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.0158, allocations: 24 kB / 344.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009117/0.01672, allocations: 0.7937 MB / 344.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.01941, allocations: 2.717 MB / 347.6 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/0.02021, allocations: 0.7633 MB / 348.4 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.02064, allocations: 399.1 kB / 348.8 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.02067, allocations: 20.48 kB / 348.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.0207, allocations: 47 kB / 348.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 1.864e-06/0.0207, allocations: 0 / 348.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=119): time 0.004659/0.02536, allocations: 3.821 MB / 352.6 MB, free: 4.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.0254, allocations: 89.77 kB / 352.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.02585, allocations: 0.581 MB / 353.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.02589, allocations: 45.7 kB / 353.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.02609, allocations: 449.1 kB / 353.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.02627, allocations: 420.3 kB / 354.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.02644, allocations: 186.9 kB / 354.4 MB, free: 2.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.02655, allocations: 394.7 kB / 354.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.02697, allocations: 350.5 kB / 355.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.02743, allocations: 484.7 kB / 355.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/0.0283, allocations: 0.8559 MB / 356.4 MB, free: 276 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0283, allocations: 0 / 356.4 MB, free: 276 kB / 314.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001201/0.02951, allocations: 1.148 MB / 357.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.02952, allocations: 8 kB / 357.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.02953, allocations: 3.984 kB / 357.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.02975, allocations: 126.7 kB / 357.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.03024, allocations: 239.7 kB / 358 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.03241, allocations: 4.57 MB / 362.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.03266, allocations: 31.98 kB / 362.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.03271, allocations: 43.98 kB / 362.6 MB, free: 9.777 MB / 330.7 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 (132): * Single equations (assignments): 129 * 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.0002559/0.03296, allocations: 281.7 kB / 362.9 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.03305, allocations: 91.44 kB / 363 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.03387, allocations: 0.7409 MB / 363.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.03388, allocations: 16 kB / 363.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.03389, allocations: 7.938 kB / 363.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.0339, allocations: 7.969 kB / 363.7 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.03603, allocations: 2.16 MB / 365.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.03603, allocations: 0 / 365.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.03644, allocations: 195.7 kB / 366.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.03667, allocations: 155.3 kB / 366.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.03671, allocations: 27.98 kB / 366.3 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.03906, allocations: 5.458 MB / 371.7 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03906, allocations: 8.219 kB / 371.7 MB, free: 140 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.04066, allocations: 1.665 MB / 373.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.04086, allocations: 175.4 kB / 373.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.04092, allocations: 20 kB / 373.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.04116, allocations: 39.98 kB / 373.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.04126, allocations: 92.36 kB / 373.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.0413, allocations: 28 kB / 373.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.04161, allocations: 410.8 kB / 374.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04161, allocations: 0 / 374.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005247/0.04213, allocations: 260 kB / 374.4 MB, free: 13.44 MB / 346.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 (108): * Single equations (assignments): 104 * 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.0001378/0.04227, allocations: 138.1 kB / 374.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.04346, allocations: 1.227 MB / 375.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.04347, allocations: 4.125 kB / 375.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.04418, allocations: 0.9356 MB / 376.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.04616, allocations: 203.2 kB / 376.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.04892, allocations: 2.047 MB / 379 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.04931, allocations: 446.5 kB / 379.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.04953, allocations: 88.47 kB / 379.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.04953, allocations: 0 / 379.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of Templates: time 0.02195/0.07148, allocations: 30.39 MB / 409.9 MB, free: 9.809 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.067675990052521]