Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [: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.001688/0.001688, allocations: 175.8 kB / 8.148 MB, free: 2.211 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.642/1.642, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 87.53 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/8.056e-06, allocations: 0 / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2452, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.3675, allocations: 80.96 MB / 442.8 MB, free: 5.086 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3678, allocations: 76.45 kB / 442.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07347/0.4413, allocations: 15.88 MB / 458.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.4415, allocations: 23.94 kB / 458.8 MB, free: 5.074 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.004631/0.4461, allocations: 1.053 MB / 459.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.4462, allocations: 8.031 kB / 459.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/0.4469, allocations: 106.9 kB / 459.9 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.4494, allocations: 0.5271 MB / 460.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/0.4499, allocations: 130.4 kB / 460.6 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.4502, allocations: 39.91 kB / 460.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002548/0.4528, allocations: 474.5 kB / 461.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.4559, allocations: 0.704 MB / 461.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.456, allocations: 4 kB / 461.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.4562, allocations: 3.984 kB / 461.8 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.4563, allocations: 16 kB / 461.8 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.4663, allocations: 1.98 MB / 463.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.4706, allocations: 0.8452 MB / 464.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.4723, allocations: 318.8 kB / 464.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.4725, allocations: 12.64 kB / 465 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.915e-05/0.4726, allocations: 55.16 kB / 465 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.869e-06/0.4726, allocations: 0 / 465 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.006517/0.4792, allocations: 0.8302 MB / 465.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006634/0.4799, allocations: 0.8234 MB / 466.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.4816, allocations: 474.4 kB / 467.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003092/0.482, allocations: 29.7 kB / 467.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.4823, allocations: 251.3 kB / 467.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.4829, allocations: 248.2 kB / 467.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.483, allocations: 4 kB / 467.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.4833, allocations: 339.6 kB / 468 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.4844, allocations: 197.5 kB / 468.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.4861, allocations: 469.3 kB / 468.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.4875, allocations: 257.8 kB / 468.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.4876, allocations: 0 / 468.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006343/0.494, allocations: 0.8546 MB / 469.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.4941, allocations: 4 kB / 469.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.4941, allocations: 8 kB / 469.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.4955, allocations: 203.3 kB / 470 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.4969, allocations: 135.8 kB / 470.1 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.5081, allocations: 5.941 MB / 476 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.5097, allocations: 80.25 kB / 476.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5098, allocations: 28.05 kB / 476.1 MB, free: 2.484 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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.5101, allocations: 56.03 kB / 476.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/0.5105, allocations: 83.72 kB / 476.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.5108, allocations: 75.47 kB / 476.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.5108, allocations: 8 kB / 476.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.5108, allocations: 0 / 476.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003699/0.5146, allocations: 1.134 MB / 477.5 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006342/0.521, allocations: 1.739 MB / 479.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.521, allocations: 4 kB / 479.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.5225, allocations: 141 kB / 479.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008389/0.5233, allocations: 166.5 kB / 479.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.5235, allocations: 8 kB / 479.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009545/0.533, allocations: 4.64 MB / 484.2 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.5331, allocations: 8.156 kB / 484.2 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004822/0.5379, allocations: 1.255 MB / 485.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/0.5387, allocations: 231.9 kB / 485.7 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.5389, allocations: 4 kB / 485.7 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/0.5399, allocations: 35.92 kB / 485.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5401, allocations: 48.48 kB / 485.8 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/0.5402, allocations: 20 kB / 485.8 MB, free: 8.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007871/0.541, allocations: 366.9 kB / 486.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001453/0.5424, allocations: 251.6 kB / 486.4 MB, free: 7.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003206/0.5428, allocations: 127.1 kB / 486.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.5454, allocations: 1.035 MB / 487.5 MB, free: 6.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.5455, allocations: 4.125 kB / 487.5 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002169/0.5477, allocations: 0.6638 MB / 488.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.5492, allocations: 176 kB / 488.4 MB, free: 5.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.5538, allocations: 1.261 MB / 489.6 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.5549, allocations: 1.031 MB / 490.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.555, allocations: 4 kB / 490.7 MB, free: 3.176 MB / 378.7 MB Notification: Performance of Templates: time 0.1711/0.7261, allocations: 20.65 MB / 0.4993 GB, free: 161.7 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches