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.001763/0.001763, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 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.001992/0.001992, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 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.44/1.44, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 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 0.001909/0.001909, allocations: 67.86 kB / 373.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09798, allocations: 53.32 MB / 427.2 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007064/0.105, allocations: 5.631 MB / 432.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.1081, allocations: 1.468 MB / 434.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005816/0.1087, allocations: 15.94 kB / 434.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.1092, allocations: 186.3 kB / 434.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009384/0.1101, allocations: 400.6 kB / 434.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.1107, allocations: 267.6 kB / 435.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.1123, allocations: 1.361 MB / 436.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.1128, allocations: 275.2 kB / 436.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006275/0.1134, allocations: 0.5139 MB / 437.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.1141, allocations: 0.5796 MB / 437.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.1143, allocations: 120 kB / 437.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.1144, allocations: 120 kB / 438.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.1147, allocations: 255.1 kB / 438.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005971/0.1153, allocations: 0.6183 MB / 438.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1168, allocations: 1.405 MB / 440.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1168, allocations: 0 / 440.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1168, allocations: 0 / 440.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.1168, allocations: 0 / 440.3 MB, free: 7.332 MB / 366.1 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.002773/0.1196, allocations: 1.515 MB / 441.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1196, allocations: 12.03 kB / 441.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.1198, allocations: 132.2 kB / 442 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1209, allocations: 0.6428 MB / 442.6 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.1211, allocations: 151.6 kB / 442.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1212, allocations: 72.38 kB / 442.9 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1229, allocations: 0.9629 MB / 443.8 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1229, allocations: 4 kB / 443.8 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.123, allocations: 36 kB / 443.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.123, allocations: 16 kB / 443.9 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1244, allocations: 0.6168 MB / 444.5 MB, free: 2.93 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.129, allocations: 2.637 MB / 447.1 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1954/0.3244, allocations: 0.8074 MB / 447.9 MB, free: 24.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.3252, allocations: 326.4 kB / 448.3 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.3252, allocations: 12.83 kB / 448.3 MB, free: 24.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3253, allocations: 51.81 kB / 448.3 MB, free: 24.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.3253, allocations: 2.812 kB / 448.3 MB, free: 24.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002347/0.3276, allocations: 1.398 MB / 449.7 MB, free: 23.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.3278, allocations: 0.9532 MB / 450.7 MB, free: 22.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.3287, allocations: 0.7948 MB / 451.5 MB, free: 22.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.3288, allocations: 44.58 kB / 451.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.329, allocations: 418.8 kB / 451.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.3292, allocations: 268.2 kB / 452.2 MB, free: 22.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.3294, allocations: 157.1 kB / 452.3 MB, free: 22.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.3294, allocations: 332.4 kB / 452.7 MB, free: 21.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.33, allocations: 254.7 kB / 452.9 MB, free: 21.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.3307, allocations: 0.5916 MB / 453.5 MB, free: 21.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3318, allocations: 0.6636 MB / 454.2 MB, free: 20.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3318, allocations: 1.5 kB / 454.2 MB, free: 20.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001648/0.3334, allocations: 0.9563 MB / 455.1 MB, free: 20.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.3335, allocations: 85.28 kB / 455.2 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3335, allocations: 1.781 kB / 455.2 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.3338, allocations: 124.9 kB / 455.3 MB, free: 20.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.3345, allocations: 153.1 kB / 455.5 MB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.3386, allocations: 7.324 MB / 462.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.3396, allocations: 102.9 kB / 462.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.3397, allocations: 31.39 kB / 462.9 MB, free: 12.9 MB / 366.1 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.0004216/0.3401, allocations: 240 kB / 463.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.3403, allocations: 106.7 kB / 463.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.3405, allocations: 104.3 kB / 463.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3405, allocations: 6.719 kB / 463.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.3405, allocations: 5.438 kB / 463.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.3418, allocations: 0.967 MB / 464.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/0.3446, allocations: 1.743 MB / 466.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3446, allocations: 2.156 kB / 466.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.3453, allocations: 156.3 kB / 466.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.3454, allocations: 26.39 kB / 466.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.3455, allocations: 17.88 kB / 466.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006636/0.3461, allocations: 1.409 MB / 467.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3461, allocations: 0 / 467.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.3481, allocations: 1.079 MB / 468.8 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.3484, allocations: 266.9 kB / 469 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3486, allocations: 21.05 kB / 469.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.3492, allocations: 43.66 kB / 469.1 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3493, allocations: 43.97 kB / 469.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3494, allocations: 23.12 kB / 469.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006585/0.35, allocations: 0.5483 MB / 469.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.35, allocations: 0 / 469.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008052/0.3508, allocations: 296.6 kB / 470 MB, free: 8.469 MB / 366.1 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.0001426/0.351, allocations: 124 kB / 470.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.3528, allocations: 1.359 MB / 471.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3528, allocations: 1.719 kB / 471.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.3534, allocations: 400.2 kB / 471.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3544, allocations: 281.9 kB / 472.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.3569, allocations: 1.715 MB / 473.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.3573, allocations: 0.9785 MB / 474.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005029/0.3578, allocations: 127.5 kB / 475 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.358, allocations: 83.56 kB / 475.1 MB, free: 5.387 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.358, allocations: 2 kB / 475.1 MB, free: 5.387 MB / 366.1 MB Notification: Performance of Templates: time 0.02874/0.3867, allocations: 18.02 MB / 493.1 MB, free: 12.93 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 480] 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.247989227063954]