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.001274/0.001274, allocations: 113 kB / 19.04 MB, free: 3.254 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.00127/0.00127, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.425/1.425, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.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.001478/0.001478, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2396, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008226/0.2478, allocations: 6.371 MB / 427.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.2514, allocations: 1.85 MB / 429.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.2518, allocations: 19.94 kB / 429.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.2524, allocations: 218.1 kB / 429.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008128/0.2532, allocations: 408.8 kB / 429.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.2539, allocations: 371.5 kB / 430.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2554, allocations: 1.486 MB / 431.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.2559, allocations: 347 kB / 431.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.2566, allocations: 0.549 MB / 432.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.2572, allocations: 0.5952 MB / 433 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.2574, allocations: 160 kB / 433.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.2576, allocations: 160 kB / 433.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.2579, allocations: 303 kB / 433.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.2585, allocations: 0.6456 MB / 434.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.2604, allocations: 1.856 MB / 436.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2604, allocations: 0 / 436.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2604, allocations: 4 kB / 436.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.2604, allocations: 0 / 436.2 MB, free: 15.73 MB / 350.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.002987/0.2634, allocations: 1.468 MB / 437.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2634, allocations: 8.031 kB / 437.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.2637, allocations: 124.2 kB / 437.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.2649, allocations: 0.6888 MB / 438.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.2649, allocations: 74.38 kB / 438.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.2651, allocations: 100.3 kB / 438.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.267, allocations: 1.009 MB / 439.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.267, allocations: 8 kB / 439.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.2671, allocations: 36 kB / 439.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.2671, allocations: 24 kB / 439.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.269, allocations: 0.864 MB / 440.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.274, allocations: 3.318 MB / 443.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2755, allocations: 0.7706 MB / 444.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008514/0.2764, allocations: 435.7 kB / 445.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.2764, allocations: 20.41 kB / 445.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.2765, allocations: 47.12 kB / 445.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.314e-06/0.2765, allocations: 0 / 445.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.00954/0.286, allocations: 4.316 MB / 449.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.2861, allocations: 97.64 kB / 449.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.2869, allocations: 0.593 MB / 450.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.2869, allocations: 45.7 kB / 450.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.2872, allocations: 437 kB / 450.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.2876, allocations: 416.4 kB / 451 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.2879, allocations: 182.9 kB / 451.2 MB, free: 180 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2881, allocations: 398.7 kB / 451.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/0.2889, allocations: 378.4 kB / 452 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/0.2898, allocations: 0.5042 MB / 452.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.2915, allocations: 0.8848 MB / 453.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2915, allocations: 0 / 453.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002366/0.2938, allocations: 1.189 MB / 454.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2939, allocations: 8 kB / 454.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2939, allocations: 4 kB / 454.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003881/0.2943, allocations: 138.4 kB / 454.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2953, allocations: 243.7 kB / 454.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.2993, allocations: 4.973 MB / 459.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.2999, allocations: 56.05 kB / 459.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.3, allocations: 39.98 kB / 460 MB, free: 6.863 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.0004356/0.3005, allocations: 284.8 kB / 460.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.3006, allocations: 95.47 kB / 460.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3022, allocations: 0.7644 MB / 461.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.3022, allocations: 16 kB / 461.1 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.3022, allocations: 4 kB / 461.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3022, allocations: 7.969 kB / 461.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.3064, allocations: 2.644 MB / 463.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.3064, allocations: 4 kB / 463.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000906/0.3073, allocations: 207.7 kB / 464 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.3078, allocations: 151.4 kB / 464.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/0.3078, allocations: 27.98 kB / 464.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.3126, allocations: 5.986 MB / 470.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3126, allocations: 3.938 kB / 470.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/0.3158, allocations: 1.738 MB / 471.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.316, allocations: 172.6 kB / 472.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3161, allocations: 31.89 kB / 472.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.3167, allocations: 43.95 kB / 472.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3169, allocations: 76.45 kB / 472.2 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.3169, allocations: 35.98 kB / 472.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005999/0.3175, allocations: 443 kB / 472.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3175, allocations: 0 / 472.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3186, allocations: 259.9 kB / 472.9 MB, free: 9.156 MB / 382.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.0002446/0.3188, allocations: 139 kB / 473.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.3213, allocations: 1.298 MB / 474.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3214, allocations: 0 / 474.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.3228, allocations: 0.9669 MB / 475.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.3238, allocations: 186.4 kB / 475.5 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.3278, allocations: 2.172 MB / 477.7 MB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.3285, allocations: 1.024 MB / 478.7 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.329, allocations: 119.6 kB / 478.8 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.3292, allocations: 83.34 kB / 478.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3292, allocations: 0 / 478.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of Templates: time 0.02233/0.3515, allocations: 12.57 MB / 491.5 MB, free: 6.535 MB / 398.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: 4.831460895948112]