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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002393, allocations: 185.7 kB / 8.147 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.2 MB / 213.7 MB, free: 1.801 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001251, allocations: 91.33 kB / 261.8 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.644e-06, allocations: 0 / 314.3 MB, free: 23.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09125, allocations: 47.58 MB / 361.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2925/0.3838, allocations: 81.51 MB / 443.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.3841, allocations: 64.66 kB / 443.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08155/0.4657, allocations: 19.07 MB / 462.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.004e-05/0.4658, allocations: 20 kB / 462.5 MB, free: 14.5 MB / 346.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.003301/0.4691, allocations: 1.169 MB / 463.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4692, allocations: 8.031 kB / 463.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/0.4696, allocations: 126.7 kB / 463.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.4713, allocations: 0.6017 MB / 464.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.4717, allocations: 139.1 kB / 464.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.4718, allocations: 40 kB / 464.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/0.4736, allocations: 0.5289 MB / 465.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4756, allocations: 0.8152 MB / 465.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.4756, allocations: 0 / 465.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.4757, allocations: 4 kB / 465.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.4758, allocations: 16 kB / 465.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.4873, allocations: 2.433 MB / 468.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.4903, allocations: 0.6839 MB / 469.1 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009193/0.4913, allocations: 310.8 kB / 469.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.4914, allocations: 16.64 kB / 469.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.4915, allocations: 42.91 kB / 469.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 3.547e-06/0.4915, allocations: 5.859 kB / 469.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002464/0.494, allocations: 0.6719 MB / 470.1 MB, free: 8.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004158/0.4944, allocations: 0.9519 MB / 471.1 MB, free: 6.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.4957, allocations: 0.5813 MB / 471.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.496, allocations: 29.7 kB / 471.7 MB, free: 6.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.4962, allocations: 300.4 kB / 472 MB, free: 6.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.4965, allocations: 247.9 kB / 472.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.4966, allocations: 4 kB / 472.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4968, allocations: 337.3 kB / 472.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.4975, allocations: 212.9 kB / 472.7 MB, free: 5.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4985, allocations: 0.5207 MB / 473.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.4994, allocations: 272.2 kB / 473.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.4994, allocations: 0 / 473.5 MB, free: 4.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002464/0.5019, allocations: 0.7257 MB / 474.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.5019, allocations: 4 kB / 474.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5019, allocations: 4 kB / 474.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.5028, allocations: 141.8 kB / 474.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.5044, allocations: 170.3 kB / 474.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008151/0.5125, allocations: 6.575 MB / 481.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.5138, allocations: 83.59 kB / 481.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5139, allocations: 22.38 kB / 481.2 MB, free: 13.06 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) 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 innerPump.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 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003579/0.5143, allocations: 70.48 kB / 481.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.5147, allocations: 91.47 kB / 481.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.515, allocations: 96.84 kB / 481.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5151, allocations: 4 kB / 481.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.5151, allocations: 4 kB / 481.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/0.517, allocations: 0.8778 MB / 482.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/0.5217, allocations: 1.583 MB / 484 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.5217, allocations: 0 / 484 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.5234, allocations: 167.8 kB / 484.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.5236, allocations: 28.84 kB / 484.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.5238, allocations: 3.984 kB / 484.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.5252, allocations: 1.252 MB / 485.4 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5252, allocations: 3.906 kB / 485.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002803/0.528, allocations: 0.9507 MB / 486.4 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/0.5288, allocations: 255.8 kB / 486.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.5291, allocations: 4 kB / 486.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.5301, allocations: 35.95 kB / 486.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5303, allocations: 40.59 kB / 486.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.5303, allocations: 19.98 kB / 486.7 MB, free: 7.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001032/0.5314, allocations: 455.2 kB / 487.2 MB, free: 7.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001311/0.5327, allocations: 271.5 kB / 487.4 MB, free: 6.746 MB / 362.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 () * 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.0003505/0.5331, allocations: 123.1 kB / 487.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.5359, allocations: 1.15 MB / 488.7 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.536, allocations: 7.859 kB / 488.7 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.537, allocations: 384 kB / 489.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.539, allocations: 224 kB / 489.3 MB, free: 4.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.5442, allocations: 1.291 MB / 490.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/0.5456, allocations: 1.095 MB / 491.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5457, allocations: 4 kB / 491.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of Templates: time 0.04221/0.5879, allocations: 22.72 MB / 0.5023 GB, free: 11.53 MB / 394.7 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