Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002739, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002563, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.907/0.907, allocations: 177.5 MB / 190 MB, free: 4.734 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0788/0.9858, allocations: 53.86 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.779e-05, allocations: 2.312 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.009214/0.009232, allocations: 5.163 MB / 250.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.01523, allocations: 1.77 MB / 252.1 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003344/0.01858, allocations: 16 kB / 252.2 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.02078, allocations: 1.497 MB / 253.7 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.02483, allocations: 333.3 kB / 254 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.02594, allocations: 0.6189 MB / 254.6 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.02678, allocations: 0.8361 MB / 255.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.03072, allocations: 0.6696 MB / 256.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006217/0.03135, allocations: 0.5339 MB / 256.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.0318, allocations: 363 kB / 257 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.0319, allocations: 72 kB / 257.1 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005315/0.03243, allocations: 267.6 kB / 257.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.03255, allocations: 127.6 kB / 257.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.0328, allocations: 239.5 kB / 257.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009005/0.0337, allocations: 0.7472 MB / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.282e-05/0.03371, allocations: 0 / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.03371, allocations: 0 / 258.4 MB, free: 224 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.03373, allocations: 0 / 258.4 MB, free: 224 kB / 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.002808/0.03654, allocations: 1.686 MB / 260.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.03657, allocations: 8.625 kB / 260.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.03754, allocations: 436 kB / 260.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.03772, allocations: 205.3 kB / 260.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.03776, allocations: 78.31 kB / 260.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.03786, allocations: 104.4 kB / 260.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.03845, allocations: 0.6573 MB / 261.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.03847, allocations: 8.125 kB / 261.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.03851, allocations: 40.38 kB / 261.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.03853, allocations: 27.94 kB / 261.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.03885, allocations: 289.5 kB / 261.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.04124, allocations: 2.207 MB / 264.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.04198, allocations: 0.6749 MB / 264.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.04214, allocations: 185.1 kB / 265 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.926e-05/0.04221, allocations: 36.97 kB / 265 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.04224, allocations: 47.56 kB / 265.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.04224, allocations: 0 / 265.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.000708/0.04295, allocations: 0.5601 MB / 265.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.04298, allocations: 86.11 kB / 265.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.04315, allocations: 310.5 kB / 266 MB, free: 8.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.04318, allocations: 37.7 kB / 266.1 MB, free: 8.305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.04331, allocations: 396.1 kB / 266.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.04344, allocations: 313.2 kB / 266.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.04359, allocations: 174.8 kB / 266.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.04368, allocations: 362.7 kB / 267.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.0439, allocations: 98.61 kB / 267.4 MB, free: 6.965 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.04411, allocations: 315.4 kB / 267.7 MB, free: 6.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.0445, allocations: 0.527 MB / 268.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.04451, allocations: 8 kB / 268.2 MB, free: 5.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000656/0.04517, allocations: 0.5611 MB / 268.8 MB, free: 5.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.04518, allocations: 8 kB / 268.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.04519, allocations: 4 kB / 268.8 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.04552, allocations: 143.4 kB / 268.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.04595, allocations: 235.7 kB / 269.2 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.04807, allocations: 5.12 MB / 274.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.04835, allocations: 95.28 kB / 274.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.04838, allocations: 28 kB / 274.4 MB, free: 15.4 MB / 282.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.0001852/0.04856, allocations: 165.6 kB / 274.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.04868, allocations: 63.95 kB / 274.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.04926, allocations: 0.5053 MB / 275.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.04926, allocations: 12 kB / 275.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.04927, allocations: 0 / 275.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.04927, allocations: 3.984 kB / 275.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.05032, allocations: 0.9796 MB / 276.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.05032, allocations: 3.938 kB / 276.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.05062, allocations: 159.8 kB / 276.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.05067, allocations: 59.73 kB / 276.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.05093, allocations: 139.3 kB / 276.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.05096, allocations: 20 kB / 276.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.05249, allocations: 4.745 MB / 281.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.05249, allocations: 4 kB / 281.3 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.05309, allocations: 0.7518 MB / 282 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.05313, allocations: 24.12 kB / 282 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.0533, allocations: 16 kB / 282 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.05337, allocations: 76.41 kB / 282.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.05339, allocations: 16 kB / 282.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.05347, allocations: 104.6 kB / 282.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05347, allocations: 0 / 282.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005481/0.05402, allocations: 271.5 kB / 282.5 MB, free: 6.789 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.0001953/0.05421, allocations: 144.3 kB / 282.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.05483, allocations: 0.9117 MB / 283.6 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.05485, allocations: 12.59 kB / 283.6 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.05527, allocations: 0.7324 MB / 284.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.05569, allocations: 374.2 kB / 284.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.06185, allocations: 1.342 MB / 286 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.06202, allocations: 155.3 kB / 286.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.06233, allocations: 89.19 kB / 286.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.06248, allocations: 123.3 kB / 286.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.06248, allocations: 4 kB / 286.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of Templates: time 0.1039/0.1664, allocations: 7.952 MB / 294.3 MB, free: 28.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.888019253499806]