Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.0008827/0.0008827, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0009216/0.0009216, allocations: 163.6 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8661/0.8661, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.364e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004376/0.0044, allocations: 4.655 MB / 304.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.007051, allocations: 1.636 MB / 306 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.007453, allocations: 16 kB / 306 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.009498, allocations: 1.388 MB / 307.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.01016, allocations: 329.4 kB / 307.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.01101, allocations: 0.6112 MB / 308.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.01171, allocations: 0.8513 MB / 309.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007595/0.01247, allocations: 0.6713 MB / 309.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.01287, allocations: 0.5145 MB / 310.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.01317, allocations: 343 kB / 310.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.01323, allocations: 83.94 kB / 310.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.01361, allocations: 247.6 kB / 311 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-05/0.0137, allocations: 179.3 kB / 311.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.01388, allocations: 287.3 kB / 311.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009184/0.01479, allocations: 1.215 MB / 312.7 MB, free: 9.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.0148, allocations: 0 / 312.7 MB, free: 9.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.0148, allocations: 0 / 312.7 MB, free: 9.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.01481, allocations: 3.938 kB / 312.7 MB, free: 9.84 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.002149/0.01696, allocations: 1.374 MB / 314.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.017, allocations: 11.98 kB / 314.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/0.0178, allocations: 264.1 kB / 314.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.01818, allocations: 200.7 kB / 314.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.01823, allocations: 74.38 kB / 314.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01833, allocations: 100.4 kB / 314.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000951/0.01928, allocations: 0.9388 MB / 315.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.01931, allocations: 8.141 kB / 315.7 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.01936, allocations: 40.38 kB / 315.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.01938, allocations: 27.94 kB / 315.7 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/0.02021, allocations: 0.7769 MB / 316.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.02313, allocations: 2.685 MB / 319.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.02418, allocations: 0.8705 MB / 320.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.0245, allocations: 329.1 kB / 320.4 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.02456, allocations: 20.98 kB / 320.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.02458, allocations: 43.56 kB / 320.4 MB, free: 1.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.024e-06/0.02459, allocations: 0 / 320.4 MB, free: 1.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001298/0.02588, allocations: 0.9954 MB / 321.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.02593, allocations: 90.05 kB / 321.5 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/0.02644, allocations: 339.9 kB / 321.9 MB, free: 444 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.02648, allocations: 41.73 kB / 321.9 MB, free: 396 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.02665, allocations: 396.2 kB / 322.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.02679, allocations: 313.2 kB / 322.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.02694, allocations: 170.9 kB / 322.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.02704, allocations: 358.8 kB / 323.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.02734, allocations: 262.5 kB / 323.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.02774, allocations: 483.3 kB / 323.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.02845, allocations: 0.7706 MB / 324.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.02845, allocations: 4 kB / 324.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001029/0.02948, allocations: 0.9686 MB / 325.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.0295, allocations: 4 kB / 325.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.02951, allocations: 12.7 kB / 325.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/0.02976, allocations: 123.4 kB / 325.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.03015, allocations: 203.7 kB / 325.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.03298, allocations: 5.589 MB / 331.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.03325, allocations: 107.2 kB / 331.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.03328, allocations: 44.12 kB / 331.7 MB, free: 6.012 MB / 314.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.0002137/0.0335, allocations: 229.8 kB / 331.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.03356, allocations: 51.67 kB / 331.9 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/0.03443, allocations: 0.8471 MB / 332.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.03444, allocations: 8 kB / 332.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.03444, allocations: 0 / 332.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.03445, allocations: 7.984 kB / 332.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.03609, allocations: 1.545 MB / 334.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.0361, allocations: 4 kB / 334.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.03636, allocations: 131.8 kB / 334.5 MB, free: 3.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/0.03652, allocations: 107.6 kB / 334.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.03655, allocations: 20 kB / 334.6 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.03886, allocations: 5.2 MB / 339.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.03886, allocations: 4 kB / 339.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.03996, allocations: 1.265 MB / 341.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.04001, allocations: 63.47 kB / 341.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.04005, allocations: 16 kB / 341.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.04022, allocations: 20 kB / 341.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.04029, allocations: 76.41 kB / 341.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.04032, allocations: 24 kB / 341.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.04047, allocations: 223.2 kB / 341.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04048, allocations: 4 kB / 341.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006415/0.04112, allocations: 263.5 kB / 341.7 MB, free: 11.34 MB / 330.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.0001962/0.04131, allocations: 147.2 kB / 341.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.0425, allocations: 1.13 MB / 343 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04251, allocations: 0 / 343 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.04299, allocations: 0.7576 MB / 343.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.04334, allocations: 72.52 kB / 343.8 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.0449, allocations: 1.392 MB / 345.2 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.0451, allocations: 318.3 kB / 345.5 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.04524, allocations: 60.48 kB / 345.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04525, allocations: 0 / 345.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of Templates: time 0.1505/0.1957, allocations: 21.22 MB / 366.8 MB, free: 54.76 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.526129180565476]