Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001904/0.001904, allocations: 99.55 kB / 20.97 MB, free: 3.453 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.002032/0.002032, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.542/1.542, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.642e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007911/0.007938, allocations: 5.563 MB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.01091, allocations: 1.433 MB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.01123, allocations: 15.94 kB / 279.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.01171, allocations: 194.3 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008142/0.01252, allocations: 424.3 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.01305, allocations: 259.5 kB / 280.1 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.01469, allocations: 1.42 MB / 281.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.01515, allocations: 263.6 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/0.0161, allocations: 0.7913 MB / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.01678, allocations: 438.8 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.01697, allocations: 116 kB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.01721, allocations: 124 kB / 283.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.01747, allocations: 263.1 kB / 283.4 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.01803, allocations: 451 kB / 283.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.01974, allocations: 1.456 MB / 285.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01974, allocations: 0 / 285.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01974, allocations: 0 / 285.3 MB, free: 4.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.01976, allocations: 0 / 285.3 MB, free: 4.566 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00319/0.02295, allocations: 1.606 MB / 287 MB, free: 2.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.02299, allocations: 15.98 kB / 287 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.0233, allocations: 184.2 kB / 287.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.02439, allocations: 0.6039 MB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.02471, allocations: 305.8 kB / 288.1 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.02485, allocations: 84.38 kB / 288.1 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1038/0.1286, allocations: 1.952 MB / 290.1 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.1287, allocations: 1.734 kB / 290.1 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.1288, allocations: 36.44 kB / 290.1 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1288, allocations: 15.75 kB / 290.1 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.13, allocations: 0.5943 MB / 290.7 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.1338, allocations: 2.133 MB / 292.9 MB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.1362, allocations: 0.7597 MB / 293.6 MB, free: 26.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.1369, allocations: 319.2 kB / 293.9 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.176e-05/0.1369, allocations: 22.5 kB / 294 MB, free: 26.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.137, allocations: 50.91 kB / 294 MB, free: 26.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/0.137, allocations: 3.297 kB / 294 MB, free: 26.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002278/0.1392, allocations: 1.032 MB / 295 MB, free: 26.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.1394, allocations: 0.949 MB / 296 MB, free: 25.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.1404, allocations: 0.913 MB / 296.9 MB, free: 24.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.1404, allocations: 46.11 kB / 297 MB, free: 24.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.1407, allocations: 0.5035 MB / 297.5 MB, free: 24.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1409, allocations: 274.7 kB / 297.7 MB, free: 24.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/0.1411, allocations: 180.9 kB / 297.9 MB, free: 23.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.1412, allocations: 0.519 MB / 298.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.1418, allocations: 329 kB / 298.7 MB, free: 23.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.1426, allocations: 1.667 MB / 300.4 MB, free: 21.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.1437, allocations: 0.6991 MB / 301.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1437, allocations: 2.688 kB / 301.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001559/0.1453, allocations: 1.058 MB / 302.2 MB, free: 20.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.1453, allocations: 85.27 kB / 302.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1453, allocations: 1.562 kB / 302.3 MB, free: 20.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.1457, allocations: 145.7 kB / 302.4 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.1463, allocations: 146.4 kB / 302.5 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.1506, allocations: 9.309 MB / 311.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.1514, allocations: 89.56 kB / 311.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.1515, allocations: 23.02 kB / 312 MB, free: 11.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.1518, allocations: 286.8 kB / 312.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.152, allocations: 121.6 kB / 312.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.1522, allocations: 93.8 kB / 312.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1522, allocations: 11.97 kB / 312.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.1522, allocations: 0.7969 kB / 312.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.1533, allocations: 0.9571 MB / 313.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0024/0.1557, allocations: 1.665 MB / 315.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1557, allocations: 0 / 315.1 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/0.1564, allocations: 143 kB / 315.2 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.209e-05/0.1565, allocations: 34.58 kB / 315.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.1566, allocations: 18.16 kB / 315.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006442/0.1572, allocations: 1.806 MB / 317.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1572, allocations: 4 kB / 317.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1588, allocations: 1.13 MB / 318.2 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.1591, allocations: 175.1 kB / 318.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1592, allocations: 16 kB / 318.4 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/0.1599, allocations: 43.97 kB / 318.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.16, allocations: 48.5 kB / 318.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.16, allocations: 19.98 kB / 318.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005075/0.1605, allocations: 0.5849 MB / 319.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1605, allocations: 0 / 319.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006689/0.1612, allocations: 307.6 kB / 319.4 MB, free: 5.059 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001407/0.1613, allocations: 119.2 kB / 319.5 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.1629, allocations: 1.747 MB / 321.3 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1629, allocations: 4 kB / 321.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000545/0.1635, allocations: 494.4 kB / 321.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.1644, allocations: 291.9 kB / 322 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1665, allocations: 1.61 MB / 323.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1668, allocations: 397 kB / 324 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.1672, allocations: 118.9 kB / 324.1 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1673, allocations: 76.48 kB / 324.2 MB, free: 24 kB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1673, allocations: 4 kB / 324.2 MB, free: 20 kB / 266.7 MB Notification: Performance of Templates: time 0.03519/0.2025, allocations: 18.74 MB / 343 MB, free: 13.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.2114792770007625]