Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00233/0.002329, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 91.38 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.364e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3357, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.4677, allocations: 81.27 MB / 443.6 MB, free: 5.055 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4681, allocations: 67.97 kB / 443.7 MB, free: 4.988 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08575/0.5538, allocations: 19.18 MB / 462.8 MB, free: 1.742 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5539, allocations: 0 / 462.8 MB, free: 1.742 MB / 347.1 MB Notification: Performance of Transformations before backend: time 8.234e-05/0.554, allocations: 16 kB / 462.9 MB, free: 1.727 MB / 347.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.003433/0.5574, allocations: 1.157 MB / 464 MB, free: 0.5039 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.5575, allocations: 11.97 kB / 464 MB, free: 0.4922 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.558, allocations: 122.7 kB / 464.1 MB, free: 380 kB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.5598, allocations: 0.5914 MB / 464.7 MB, free: 15.74 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.5602, allocations: 135.1 kB / 464.9 MB, free: 15.59 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.5604, allocations: 47.91 kB / 464.9 MB, free: 15.54 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/0.5621, allocations: 0.5272 MB / 465.4 MB, free: 15.02 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5641, allocations: 0.8168 MB / 466.3 MB, free: 14.09 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.5642, allocations: 0 / 466.3 MB, free: 14.09 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5643, allocations: 4 kB / 466.3 MB, free: 14.08 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.5643, allocations: 16 kB / 466.3 MB, free: 14.07 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007135/0.5715, allocations: 2.419 MB / 468.7 MB, free: 11.52 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/0.5763, allocations: 0.8428 MB / 469.5 MB, free: 10.66 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5773, allocations: 299.2 kB / 469.8 MB, free: 10.36 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.611e-05/0.5775, allocations: 20.77 kB / 469.9 MB, free: 10.34 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.5775, allocations: 51.28 kB / 469.9 MB, free: 10.28 MB / 363.1 MB Notification: Performance of pre-optimization done (n=74): time 4.037e-06/0.5776, allocations: 1.594 kB / 469.9 MB, free: 10.28 MB / 363.1 MB Notification: Performance of matching and sorting (n=74): time 0.002452/0.58, allocations: 0.6751 MB / 470.6 MB, free: 9.586 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005445/0.5806, allocations: 0.9528 MB / 471.5 MB, free: 8.402 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.5819, allocations: 0.5821 MB / 472.1 MB, free: 7.816 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.5822, allocations: 33.64 kB / 472.1 MB, free: 7.777 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.5826, allocations: 422.6 kB / 472.6 MB, free: 7.359 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.583, allocations: 248.2 kB / 472.8 MB, free: 7.113 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.5831, allocations: 4 kB / 472.8 MB, free: 7.109 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5832, allocations: 334.8 kB / 473.1 MB, free: 6.773 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.5839, allocations: 213.5 kB / 473.3 MB, free: 6.566 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.585, allocations: 0.5179 MB / 473.9 MB, free: 5.922 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/0.5857, allocations: 270.7 kB / 474.1 MB, free: 5.66 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.5858, allocations: 0 / 474.1 MB, free: 5.66 MB / 363.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002412/0.5882, allocations: 0.7344 MB / 474.9 MB, free: 4.906 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-05/0.5883, allocations: 85.11 kB / 474.9 MB, free: 4.805 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5883, allocations: 0 / 474.9 MB, free: 4.805 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.5893, allocations: 168.2 kB / 475.1 MB, free: 4.625 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.5908, allocations: 167.1 kB / 475.3 MB, free: 4.465 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008588/0.5994, allocations: 6.547 MB / 481.8 MB, free: 13.34 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.6009, allocations: 83.56 kB / 481.9 MB, free: 13.26 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.601, allocations: 27.98 kB / 481.9 MB, free: 13.23 MB / 379.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003809/0.6014, allocations: 144 kB / 482.1 MB, free: 13.09 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.6017, allocations: 90.97 kB / 482.2 MB, free: 13 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.602, allocations: 89.03 kB / 482.2 MB, free: 12.91 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.602, allocations: 8 kB / 482.3 MB, free: 12.9 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.602, allocations: 0 / 482.3 MB, free: 12.9 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/0.6037, allocations: 0.8831 MB / 483.1 MB, free: 11.91 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/0.6079, allocations: 1.563 MB / 484.7 MB, free: 10.28 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6079, allocations: 7.953 kB / 484.7 MB, free: 10.27 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.6095, allocations: 167.8 kB / 484.9 MB, free: 10.11 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.6097, allocations: 24.84 kB / 484.9 MB, free: 10.08 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.6098, allocations: 3.984 kB / 484.9 MB, free: 10.08 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.6111, allocations: 1.256 MB / 486.2 MB, free: 8.711 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6112, allocations: 4 kB / 486.2 MB, free: 8.707 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.6138, allocations: 0.9439 MB / 487.1 MB, free: 7.742 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.6146, allocations: 255.7 kB / 487.4 MB, free: 7.473 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.6148, allocations: 11.94 kB / 487.4 MB, free: 7.461 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009431/0.6157, allocations: 28.05 kB / 487.4 MB, free: 7.434 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6159, allocations: 48.7 kB / 487.4 MB, free: 7.387 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.616, allocations: 16 kB / 487.5 MB, free: 7.371 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0009121/0.6169, allocations: 459.2 kB / 487.9 MB, free: 6.926 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6169, allocations: 0 / 487.9 MB, free: 6.926 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001404/0.6183, allocations: 275.5 kB / 488.2 MB, free: 6.656 MB / 379.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003037/0.6187, allocations: 123.8 kB / 488.3 MB, free: 6.523 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.6228, allocations: 1.297 MB / 489.6 MB, free: 5.141 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.6228, allocations: 7.859 kB / 489.6 MB, free: 5.133 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.6238, allocations: 380.5 kB / 490 MB, free: 4.754 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.6257, allocations: 232 kB / 490.2 MB, free: 4.535 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.6301, allocations: 1.255 MB / 491.5 MB, free: 3.242 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.6309, allocations: 0.9993 MB / 492.4 MB, free: 2.211 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.6315, allocations: 83.36 kB / 492.5 MB, free: 2.129 MB / 379.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6315, allocations: 0 / 492.5 MB, free: 2.129 MB / 379.1 MB Notification: Performance of Templates: time 0.3181/0.9496, allocations: 22.57 MB / 0.503 GB, free: 116.4 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches