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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001107/0.001107, allocations: 80.44 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005242/0.0005242, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3282, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4568, allocations: 81.78 MB / 456.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4571, allocations: 71.97 kB / 456.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06852/0.5256, allocations: 16.2 MB / 472.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5257, allocations: 0 / 472.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.165e-05/0.5257, allocations: 23.94 kB / 472.6 MB, free: 14.57 MB / 362.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.003107/0.5289, allocations: 1.169 MB / 473.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5289, allocations: 8.031 kB / 473.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.5292, allocations: 102.9 kB / 473.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.5305, allocations: 0.5119 MB / 474.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.5308, allocations: 154.3 kB / 474.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.531, allocations: 67.91 kB / 474.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.5331, allocations: 0.84 MB / 475.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.5332, allocations: 0 / 475.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.5333, allocations: 35.98 kB / 475.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.5334, allocations: 12 kB / 475.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.5355, allocations: 0.5829 MB / 476.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.541, allocations: 2.096 MB / 478.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/0.5444, allocations: 1.041 MB / 479.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.5445, allocations: 16.72 kB / 479.2 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.5446, allocations: 47.22 kB / 479.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.327e-06/0.5446, allocations: 0 / 479.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.008498/0.5531, allocations: 1.854 MB / 481.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003839/0.5535, allocations: 0.8234 MB / 482 MB, free: 4.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.5547, allocations: 0.5659 MB / 482.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.5549, allocations: 45.7 kB / 482.6 MB, free: 3.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.5552, allocations: 339.7 kB / 482.9 MB, free: 3.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.5555, allocations: 252.2 kB / 483.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.5556, allocations: 16 kB / 483.2 MB, free: 3.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5558, allocations: 338.8 kB / 483.5 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009995/0.5568, allocations: 257.9 kB / 483.7 MB, free: 2.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.5581, allocations: 0.5351 MB / 484.3 MB, free: 2.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5592, allocations: 390.4 kB / 484.7 MB, free: 1.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5592, allocations: 0 / 484.7 MB, free: 1.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004115/0.5633, allocations: 1.072 MB / 485.7 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/0.5635, allocations: 81.11 kB / 485.8 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5635, allocations: 4 kB / 485.8 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.5646, allocations: 251.2 kB / 486.1 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.5658, allocations: 131.8 kB / 486.2 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.5783, allocations: 6.591 MB / 492.8 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.5797, allocations: 103.3 kB / 492.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.5799, allocations: 27.95 kB / 492.9 MB, free: 8.828 MB / 378.7 MB 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 () * Number of clocked 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 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.5805, allocations: 221.7 kB / 493.1 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.5808, allocations: 87.06 kB / 493.2 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.5811, allocations: 92.05 kB / 493.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5811, allocations: 8 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5812, allocations: 3.938 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003976/0.5851, allocations: 1.261 MB / 494.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/0.5914, allocations: 1.929 MB / 496.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5914, allocations: 0 / 496.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.5927, allocations: 131.8 kB / 496.6 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009551/0.5937, allocations: 218.4 kB / 496.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.5938, allocations: 19.97 kB / 496.9 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2755/0.8692, allocations: 5.121 MB / 0.4902 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8693, allocations: 0.875 kB / 0.4902 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/0.8749, allocations: 1.398 MB / 0.4916 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.8755, allocations: 232.8 kB / 0.4918 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.8757, allocations: 19.59 kB / 0.4918 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/0.8765, allocations: 50.12 kB / 0.4919 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.8768, allocations: 57.52 kB / 0.4919 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.8769, allocations: 22.09 kB / 0.4919 GB, free: 104 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008232/0.8777, allocations: 450.3 kB / 0.4924 GB, free: 103.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8777, allocations: 0 / 0.4924 GB, free: 103.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001406/0.8791, allocations: 285.9 kB / 0.4926 GB, free: 103.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (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.0002868/0.8795, allocations: 136.8 kB / 0.4928 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003054/0.8825, allocations: 1.324 MB / 0.4941 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.8826, allocations: 2.156 kB / 0.4941 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.8847, allocations: 0.7699 MB / 0.4948 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.8863, allocations: 209.6 kB / 0.495 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.8905, allocations: 1.919 MB / 0.4969 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.891, allocations: 0.9495 MB / 0.4978 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.8914, allocations: 71.12 kB / 0.4979 GB, free: 101.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8915, allocations: 1.312 kB / 0.4979 GB, free: 101.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03261/0.9241, allocations: 20.76 MB / 0.5182 GB, free: 91.95 MB / 378.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