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.001338/0.001338, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.0009525/0.0009525, allocations: 163.5 kB / 24.82 MB, free: 9.309 MB / 18.57 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.97/0.97, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.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.162e-06/1.162e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.037e-05, allocations: 6.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005701/0.005722, allocations: 5.068 MB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.008332, allocations: 1.689 MB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.008634, allocations: 16 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.01062, allocations: 1.462 MB / 281.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008529/0.01148, allocations: 337.4 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.01244, allocations: 0.6112 MB / 282.5 MB, free: 8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.01323, allocations: 0.8399 MB / 283.4 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008652/0.01409, allocations: 0.6558 MB / 284 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.01465, allocations: 0.5183 MB / 284.5 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.01503, allocations: 359 kB / 284.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.865e-05/0.01512, allocations: 75.94 kB / 285 MB, free: 5.539 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.0156, allocations: 247.6 kB / 285.2 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01572, allocations: 191.2 kB / 285.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.01595, allocations: 287.3 kB / 285.7 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008677/0.01682, allocations: 0.8056 MB / 286.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.01682, allocations: 0 / 286.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01682, allocations: 0 / 286.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.01683, allocations: 0 / 286.5 MB, free: 4.02 MB / 266.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.002858/0.01969, allocations: 1.529 MB / 288 MB, free: 2.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.01972, allocations: 11.98 kB / 288 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.02118, allocations: 415.6 kB / 288.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.02135, allocations: 207.5 kB / 288.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.02141, allocations: 70.38 kB / 288.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.02153, allocations: 104.3 kB / 288.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.02263, allocations: 0.6785 MB / 289.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.02266, allocations: 8.141 kB / 289.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.02272, allocations: 40.38 kB / 289.5 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.02274, allocations: 31.88 kB / 289.5 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005485/0.02329, allocations: 353.4 kB / 289.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/0.1368, allocations: 2.701 MB / 292.6 MB, free: 18.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009245/0.1377, allocations: 0.7241 MB / 293.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1379, allocations: 210.2 kB / 293.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.98e-05/0.138, allocations: 59.02 kB / 293.6 MB, free: 18.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.138, allocations: 44.84 kB / 293.6 MB, free: 18.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.196e-06/0.138, allocations: 1.031 kB / 293.6 MB, free: 18.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0009879/0.139, allocations: 0.7016 MB / 294.3 MB, free: 18.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.139, allocations: 90.55 kB / 294.4 MB, free: 18.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1392, allocations: 367.2 kB / 294.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1393, allocations: 41.36 kB / 294.8 MB, free: 18.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1394, allocations: 448.7 kB / 295.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1395, allocations: 321.7 kB / 295.6 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.1397, allocations: 195.5 kB / 295.8 MB, free: 17.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.1398, allocations: 0.5383 MB / 296.3 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1399, allocations: 117.4 kB / 296.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1402, allocations: 411.2 kB / 296.8 MB, free: 16.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.1406, allocations: 0.5876 MB / 297.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1406, allocations: 1.766 kB / 297.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0008145/0.1414, allocations: 0.7355 MB / 298.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1414, allocations: 9.359 kB / 298.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1414, allocations: 5.625 kB / 298.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.1418, allocations: 160 kB / 298.3 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.1422, allocations: 206.6 kB / 298.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.144, allocations: 7.532 MB / 306 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.1443, allocations: 93.81 kB / 306.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.1443, allocations: 34.41 kB / 306.2 MB, free: 9.094 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.0001479/0.1445, allocations: 213 kB / 306.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.1446, allocations: 83.62 kB / 306.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/0.1452, allocations: 0.6304 MB / 307.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.1452, allocations: 9.094 kB / 307.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1453, allocations: 3.234 kB / 307.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1453, allocations: 9 kB / 307.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.1466, allocations: 1.31 MB / 308.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1467, allocations: 3.875 kB / 308.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.1469, allocations: 138.4 kB / 308.6 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.1472, allocations: 145.3 kB / 308.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1472, allocations: 22.22 kB / 308.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.1486, allocations: 6.984 MB / 315.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1486, allocations: 6.062 kB / 315.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.1494, allocations: 1.002 MB / 316.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/0.1494, allocations: 70.03 kB / 316.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.1494, allocations: 19.25 kB / 316.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.1496, allocations: 22.36 kB / 316.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.1497, allocations: 69.33 kB / 316.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.1497, allocations: 25.09 kB / 316.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.979e-05/0.1498, allocations: 223.8 kB / 317.1 MB, free: 384 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1498, allocations: 0 / 317.1 MB, free: 384 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000685/0.1505, allocations: 271.1 kB / 317.4 MB, free: 332 kB / 266.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.0001866/0.1507, allocations: 158.3 kB / 317.5 MB, free: 216 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008275/0.1515, allocations: 1.161 MB / 318.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1515, allocations: 0.5 kB / 318.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.1521, allocations: 0.919 MB / 319.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1526, allocations: 60.95 kB / 319.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.1544, allocations: 1.302 MB / 321 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1545, allocations: 148.6 kB / 321.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.1549, allocations: 104.7 kB / 321.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.1551, allocations: 158.7 kB / 321.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1551, allocations: 0 / 321.4 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Templates: time 0.0128/0.1679, allocations: 7.747 MB / 329.1 MB, free: 8.09 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.862658258061856]