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.0009029/0.0009029, allocations: 84 kB / 21.43 MB, free: 3.129 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.004082/0.004082, allocations: 145.8 kB / 24.68 MB, free: 9.426 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.8379/0.8379, allocations: 173.4 MB / 201.2 MB, free: 9.449 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.583e-06/1.583e-06, allocations: 3.938 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.622e-05, allocations: 2.281 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.004748/0.004764, allocations: 5.61 MB / 325.3 MB, free: 220 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.007368, allocations: 1.757 MB / 327.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.007836, allocations: 23.88 kB / 327.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.008314, allocations: 214.1 kB / 327.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006122/0.008926, allocations: 424.5 kB / 327.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.009508, allocations: 375.5 kB / 328.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.01095, allocations: 1.529 MB / 329.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008385/0.01179, allocations: 325.8 kB / 329.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009113/0.0127, allocations: 0.846 MB / 330.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.01325, allocations: 454.7 kB / 331.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.01343, allocations: 160 kB / 331.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.01358, allocations: 160 kB / 331.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.01372, allocations: 311 kB / 331.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003875/0.01411, allocations: 455 kB / 332.3 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.01568, allocations: 1.905 MB / 334.2 MB, free: 7.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01568, allocations: 4 kB / 334.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01569, allocations: 0 / 334.2 MB, free: 7.285 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.0157, allocations: 0 / 334.2 MB, free: 7.285 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002346/0.01804, allocations: 1.389 MB / 335.6 MB, free: 5.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.01808, allocations: 12.86 kB / 335.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.01824, allocations: 124.2 kB / 335.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.019, allocations: 0.6225 MB / 336.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.01905, allocations: 74.38 kB / 336.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/0.01915, allocations: 100.3 kB / 336.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.02049, allocations: 1.052 MB / 337.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.02051, allocations: 8.188 kB / 337.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.02057, allocations: 36.38 kB / 337.6 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.02058, allocations: 27.94 kB / 337.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.0217, allocations: 0.8601 MB / 338.5 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.02447, allocations: 2.712 MB / 341.2 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.02536, allocations: 0.7718 MB / 342 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.02589, allocations: 441.9 kB / 342.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.02593, allocations: 12.5 kB / 342.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.02597, allocations: 43.06 kB / 342.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.144e-06/0.02597, allocations: 0 / 342.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=115): time 0.005625/0.03159, allocations: 3.931 MB / 346.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.03164, allocations: 93.77 kB / 346.5 MB, free: 10.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.03208, allocations: 0.5457 MB / 347 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.03213, allocations: 41.7 kB / 347.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.03233, allocations: 449 kB / 347.5 MB, free: 9.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.03252, allocations: 408.5 kB / 347.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.0327, allocations: 182.8 kB / 348.1 MB, free: 9.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.03282, allocations: 394.7 kB / 348.5 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.03332, allocations: 386.4 kB / 348.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.03387, allocations: 0.5043 MB / 349.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.0349, allocations: 0.8819 MB / 350.2 MB, free: 6.809 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.0349, allocations: 7.938 kB / 350.2 MB, free: 6.801 MB / 314.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00148/0.03638, allocations: 1.178 MB / 351.4 MB, free: 5.605 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.0364, allocations: 11.94 kB / 351.4 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.0364, allocations: 8.312 kB / 351.4 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.03664, allocations: 130.4 kB / 351.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.03715, allocations: 247.7 kB / 351.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.03959, allocations: 4.587 MB / 356.4 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.03989, allocations: 47.95 kB / 356.4 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.03993, allocations: 36 kB / 356.5 MB, free: 240 kB / 314.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 (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.0002787/0.04021, allocations: 284.6 kB / 356.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.0403, allocations: 87.48 kB / 356.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008872/0.04118, allocations: 0.7601 MB / 357.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.04119, allocations: 19.94 kB / 357.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.04119, allocations: 4 kB / 357.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.0412, allocations: 3.984 kB / 357.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.04373, allocations: 2.21 MB / 359.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.04373, allocations: 4 kB / 359.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.04418, allocations: 203.8 kB / 360 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.04442, allocations: 159.3 kB / 360.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.04447, allocations: 31.92 kB / 360.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.04704, allocations: 5.454 MB / 365.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.04705, allocations: 4.031 kB / 365.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.04895, allocations: 1.739 MB / 367.4 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.04904, allocations: 79.52 kB / 367.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.0491, allocations: 27.94 kB / 367.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.04938, allocations: 51.95 kB / 367.6 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.04951, allocations: 80.5 kB / 367.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.04954, allocations: 28 kB / 367.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003243/0.04987, allocations: 390.8 kB / 368.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04987, allocations: 8 kB / 368.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006221/0.05049, allocations: 252 kB / 368.3 MB, free: 3.852 MB / 330.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 (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.0001825/0.05067, allocations: 131.1 kB / 368.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.05209, allocations: 1.288 MB / 369.7 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.0521, allocations: 128 / 369.7 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.05287, allocations: 0.9633 MB / 370.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.05347, allocations: 184.2 kB / 370.9 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.056, allocations: 2.039 MB / 372.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.05626, allocations: 440.8 kB / 373.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.05646, allocations: 88.45 kB / 373.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05646, allocations: 0 / 373.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of Templates: time 0.01889/0.07535, allocations: 29.47 MB / 402.9 MB, free: 1.086 MB / 362.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=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.599254757165909]