Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001107/0.001107, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002778, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001055/0.001055, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002372, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9049/0.9049, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07703/0.9819, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.056e-05, allocations: 2.875 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005174/0.005194, allocations: 5.136 MB / 244.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.006991, allocations: 1.727 MB / 246.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.007144, allocations: 16 kB / 246.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.008472, allocations: 1.497 MB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.008851, allocations: 321.4 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.009662, allocations: 0.7861 MB / 249 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.01017, allocations: 0.8556 MB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.0108, allocations: 0.6618 MB / 250.5 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.01117, allocations: 0.5378 MB / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.01147, allocations: 359 kB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.01153, allocations: 76 kB / 251.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.01185, allocations: 255.6 kB / 251.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.01192, allocations: 135.5 kB / 251.9 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.01208, allocations: 235.5 kB / 252.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.01268, allocations: 0.7434 MB / 252.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.0127, allocations: 4 kB / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.0127, allocations: 0 / 252.9 MB, free: 5.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.01272, allocations: 0 / 252.9 MB, free: 5.773 MB / 250.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.002049/0.01476, allocations: 1.682 MB / 254.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.01479, allocations: 8.031 kB / 254.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/0.01572, allocations: 448 kB / 255 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.01585, allocations: 212.6 kB / 255.2 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.01589, allocations: 74.38 kB / 255.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.01597, allocations: 96.38 kB / 255.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.01652, allocations: 0.661 MB / 256 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.01654, allocations: 4.141 kB / 256 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.01658, allocations: 40.31 kB / 256.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.01659, allocations: 27.94 kB / 256.1 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.0169, allocations: 285.6 kB / 256.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.01916, allocations: 2.183 MB / 258.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.0199, allocations: 0.6782 MB / 259.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.02005, allocations: 181.1 kB / 259.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.02012, allocations: 32.97 kB / 259.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.02014, allocations: 43.56 kB / 259.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.505e-06/0.02014, allocations: 0 / 259.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0006842/0.02083, allocations: 0.5484 MB / 260 MB, free: 14.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.02086, allocations: 90.11 kB / 260.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.02102, allocations: 306.6 kB / 260.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.02104, allocations: 41.73 kB / 260.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.02118, allocations: 384.1 kB / 260.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.02131, allocations: 321.2 kB / 261.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.02144, allocations: 170.8 kB / 261.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.02153, allocations: 362.7 kB / 261.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.02163, allocations: 98.58 kB / 261.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.02183, allocations: 315.3 kB / 262.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.02217, allocations: 496.8 kB / 262.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.02218, allocations: 0 / 262.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000501/0.02268, allocations: 0.5606 MB / 263.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02269, allocations: 8 kB / 263.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.0227, allocations: 8.719 kB / 263.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.023, allocations: 147.2 kB / 263.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.02342, allocations: 231.7 kB / 263.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.02533, allocations: 5.115 MB / 268.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.02555, allocations: 99.25 kB / 268.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.02558, allocations: 32.12 kB / 268.8 MB, free: 5.051 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.02571, allocations: 177.5 kB / 268.9 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.02578, allocations: 59.89 kB / 269 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.02626, allocations: 0.5092 MB / 269.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.02627, allocations: 8 kB / 269.5 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.02627, allocations: 4 kB / 269.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.02628, allocations: 3.984 kB / 269.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.02724, allocations: 0.9563 MB / 270.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02725, allocations: 7.875 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.02754, allocations: 155.8 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.02758, allocations: 63.45 kB / 270.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.02782, allocations: 135.5 kB / 270.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.02784, allocations: 20 kB / 270.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.02955, allocations: 4.749 MB / 275.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02956, allocations: 4 kB / 275.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.0302, allocations: 0.7479 MB / 276.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.03024, allocations: 16 kB / 276.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.03039, allocations: 24.09 kB / 276.4 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.03045, allocations: 72.41 kB / 276.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.03047, allocations: 20 kB / 276.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.03055, allocations: 100.6 kB / 276.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03055, allocations: 4 kB / 276.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.03103, allocations: 263.5 kB / 276.8 MB, free: 12.46 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.0312, allocations: 143 kB / 277 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.03179, allocations: 0.8904 MB / 277.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.03181, allocations: 8.5 kB / 277.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.03215, allocations: 0.6808 MB / 278.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.03247, allocations: 103.5 kB / 278.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.03861, allocations: 1.42 MB / 280.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.03871, allocations: 155.3 kB / 280.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.03896, allocations: 105 kB / 280.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.03912, allocations: 127.3 kB / 280.5 MB, free: 8.648 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.03912, allocations: 4 kB / 280.5 MB, free: 8.645 MB / 282.7 MB Notification: Performance of Templates: time 0.009941/0.04906, allocations: 7.58 MB / 288 MB, free: 1.129 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.658807221800089]