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.001726/0.001726, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.002008/0.002008, allocations: 191.9 kB / 24.47 MB, free: 4.152 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.429/1.429, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.001566/0.001566, allocations: 47.92 kB / 371.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2241, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008421/0.2325, allocations: 6.375 MB / 430.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.2361, allocations: 1.85 MB / 432.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004859/0.2366, allocations: 19.88 kB / 432.1 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.2372, allocations: 218.1 kB / 432.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008953/0.2381, allocations: 408.8 kB / 432.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.2388, allocations: 367.6 kB / 433.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.2404, allocations: 1.491 MB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.241, allocations: 347.4 kB / 434.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006815/0.2417, allocations: 0.5529 MB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.2424, allocations: 0.603 MB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.2426, allocations: 156 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.2428, allocations: 164 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.2431, allocations: 307 kB / 436.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006176/0.2437, allocations: 0.6417 MB / 437.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.2457, allocations: 1.856 MB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2457, allocations: 0 / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2457, allocations: 0 / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.601e-05/0.2458, allocations: 0 / 439.2 MB, free: 15.27 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.003028/0.2488, allocations: 1.396 MB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2488, allocations: 15.97 kB / 440.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.2491, allocations: 132.1 kB / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.2503, allocations: 0.6077 MB / 441.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.2504, allocations: 74.38 kB / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.2506, allocations: 104.3 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.2525, allocations: 1.009 MB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.2526, allocations: 4 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.2527, allocations: 36 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.2527, allocations: 24 kB / 442.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.2546, allocations: 0.8718 MB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/0.2601, allocations: 3.24 MB / 446.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.2616, allocations: 0.7805 MB / 447.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/0.2625, allocations: 431.6 kB / 447.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.2625, allocations: 16.36 kB / 447.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.2626, allocations: 47.05 kB / 448 MB, free: 6.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.615e-06/0.2626, allocations: 0 / 448 MB, free: 6.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.00965/0.2722, allocations: 3.938 MB / 451.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2723, allocations: 97.64 kB / 452 MB, free: 2.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.2732, allocations: 0.6007 MB / 452.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.2732, allocations: 45.7 kB / 452.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.2736, allocations: 433.1 kB / 453.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.2739, allocations: 412.4 kB / 453.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.2742, allocations: 186.9 kB / 453.7 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.2744, allocations: 390.7 kB / 454 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008807/0.2753, allocations: 378.5 kB / 454.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.2762, allocations: 0.5081 MB / 454.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.278, allocations: 0.8887 MB / 455.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.278, allocations: 0 / 455.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002466/0.2805, allocations: 1.181 MB / 457 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2805, allocations: 7.938 kB / 457 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2805, allocations: 4 kB / 457 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/0.2809, allocations: 138.7 kB / 457.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.282, allocations: 251.7 kB / 457.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.2862, allocations: 4.656 MB / 462 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/0.287, allocations: 55.95 kB / 462.1 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.2871, allocations: 35.98 kB / 462.1 MB, free: 7.516 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.0004803/0.2876, allocations: 287.2 kB / 462.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.2877, allocations: 99.45 kB / 462.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.2894, allocations: 0.7644 MB / 463.3 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.2894, allocations: 12 kB / 463.3 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2894, allocations: 4 kB / 463.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.2894, allocations: 8.094 kB / 463.3 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.2939, allocations: 2.618 MB / 465.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.2939, allocations: 0 / 465.9 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.2949, allocations: 211.7 kB / 466.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.2953, allocations: 159.4 kB / 466.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/0.2954, allocations: 24.05 kB / 466.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005098/0.3005, allocations: 5.58 MB / 471.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3005, allocations: 8.062 kB / 471.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.3042, allocations: 1.738 MB / 473.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.3044, allocations: 91.47 kB / 473.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.3045, allocations: 24 kB / 473.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.3052, allocations: 52.08 kB / 473.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.3053, allocations: 84.44 kB / 473.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.3054, allocations: 39.92 kB / 473.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006192/0.306, allocations: 435.1 kB / 474.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.306, allocations: 0 / 474.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009424/0.307, allocations: 256 kB / 474.6 MB, free: 10.43 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.0002071/0.3072, allocations: 131.1 kB / 474.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.3098, allocations: 1.299 MB / 476 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3098, allocations: 0 / 476 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.3114, allocations: 0.9717 MB / 477 MB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3124, allocations: 184.4 kB / 477.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.3164, allocations: 2.2 MB / 479.4 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.3171, allocations: 1.028 MB / 480.4 MB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.3174, allocations: 87.41 kB / 480.5 MB, free: 4.367 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3174, allocations: 4 kB / 480.5 MB, free: 4.363 MB / 382.1 MB Notification: Performance of Templates: time 0.03502/0.3525, allocations: 29.28 MB / 0.4978 GB, free: 7.09 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/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: 9.15990511002019]