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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=3000,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=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001309, allocations: 118.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2357, allocations: 50.54 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006222/0.2419, allocations: 5.624 MB / 414.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.2448, allocations: 1.456 MB / 416.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007393/0.2456, allocations: 11.94 kB / 416.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.2462, allocations: 190.3 kB / 416.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2473, allocations: 396.7 kB / 416.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006179/0.2479, allocations: 263.6 kB / 417.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2493, allocations: 1.37 MB / 418.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.2498, allocations: 406.9 kB / 418.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.2504, allocations: 0.5099 MB / 419.4 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005952/0.251, allocations: 0.5913 MB / 420 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.2511, allocations: 116 kB / 420.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2513, allocations: 124 kB / 420.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.2515, allocations: 247.2 kB / 420.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.2521, allocations: 0.6183 MB / 421.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2532, allocations: 1.403 MB / 422.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2532, allocations: 0 / 422.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2532, allocations: 0 / 422.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2532, allocations: 0 / 422.5 MB, free: 4.203 MB / 334.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.002338/0.2555, allocations: 1.477 MB / 424 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2556, allocations: 8.031 kB / 424 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.2558, allocations: 123.6 kB / 424.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.2566, allocations: 0.642 MB / 424.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.2568, allocations: 151.6 kB / 424.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2569, allocations: 76.28 kB / 425 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.2582, allocations: 0.9677 MB / 426 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2582, allocations: 0 / 426 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.2583, allocations: 36 kB / 426 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.2583, allocations: 19.94 kB / 426 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2595, allocations: 0.6246 MB / 426.6 MB, free: 15.84 MB / 350.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.003544/0.2631, allocations: 2.613 MB / 429.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.2654, allocations: 0.8729 MB / 430.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.2661, allocations: 354.7 kB / 430.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.2661, allocations: 16.62 kB / 430.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2662, allocations: 47.22 kB / 430.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 1.844e-06/0.2662, allocations: 0 / 430.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002332/0.2685, allocations: 1.408 MB / 431.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003598/0.2689, allocations: 0.9489 MB / 432.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/0.2697, allocations: 0.7865 MB / 433.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.2698, allocations: 41.7 kB / 433.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.2701, allocations: 416.4 kB / 434.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.2703, allocations: 252.3 kB / 434.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.2705, allocations: 158.7 kB / 434.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2706, allocations: 334 kB / 434.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.2712, allocations: 253.9 kB / 435.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/0.272, allocations: 0.5879 MB / 435.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.2731, allocations: 0.6677 MB / 436.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2731, allocations: 0 / 436.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001544/0.2746, allocations: 0.9545 MB / 437.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.2747, allocations: 89.11 kB / 437.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2747, allocations: 4.125 kB / 437.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.275, allocations: 128.2 kB / 437.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.2757, allocations: 147.8 kB / 437.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005162/0.2809, allocations: 7.336 MB / 445 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.2816, allocations: 103.2 kB / 445.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.2817, allocations: 24.28 kB / 445.1 MB, free: 11.84 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.0003181/0.282, allocations: 241.3 kB / 445.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.2822, allocations: 106.8 kB / 445.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.2823, allocations: 104.9 kB / 445.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2824, allocations: 8 kB / 445.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2824, allocations: 0 / 445.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.2836, allocations: 0.9738 MB / 446.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.2861, allocations: 1.744 MB / 448.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2861, allocations: 0 / 448.3 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.2869, allocations: 151.8 kB / 448.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.287, allocations: 28.84 kB / 448.5 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.287, allocations: 15.98 kB / 448.5 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009091/0.2879, allocations: 1.402 MB / 449.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2879, allocations: 0 / 449.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2898, allocations: 1.077 MB / 451 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.2901, allocations: 263.9 kB / 451.2 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.2902, allocations: 16 kB / 451.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.2908, allocations: 47.89 kB / 451.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.2909, allocations: 44.59 kB / 451.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.291, allocations: 20 kB / 451.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006177/0.2916, allocations: 0.5459 MB / 451.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2916, allocations: 0 / 451.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006716/0.2923, allocations: 295.6 kB / 452.2 MB, free: 4.406 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.0001624/0.2924, allocations: 127.1 kB / 452.3 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.2943, allocations: 1.397 MB / 453.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.2943, allocations: 7.859 kB / 453.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006468/0.295, allocations: 422.3 kB / 454.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.296, allocations: 281.4 kB / 454.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.2985, allocations: 1.672 MB / 456.1 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.299, allocations: 0.9758 MB / 457.1 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.2994, allocations: 127.5 kB / 457.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.2996, allocations: 75.42 kB / 457.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2997, allocations: 4 kB / 457.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of Templates: time 0.02612/0.3258, allocations: 17.81 MB / 475.1 MB, free: 13.64 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches