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.002042/0.002042, allocations: 179.2 kB / 8.363 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 1.969/1.969, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001098/0.001098, allocations: 97.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.07e-05, allocations: 0 / 314.8 MB, free: 9.16 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3344, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4657, allocations: 81.03 MB / 443.4 MB, free: 5.285 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.466, allocations: 75.95 kB / 443.4 MB, free: 5.211 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0684/0.5344, allocations: 16.01 MB / 459.4 MB, free: 5.184 MB / 347.1 MB Notification: Performance of FrontEnd: time 4.83e-06/0.5345, allocations: 4 kB / 459.4 MB, free: 5.18 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.387e-05/0.5346, allocations: 19.94 kB / 459.5 MB, free: 5.16 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002666/0.5373, allocations: 1.036 MB / 460.5 MB, free: 4.062 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5373, allocations: 8.031 kB / 460.5 MB, free: 4.055 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.5376, allocations: 110.9 kB / 460.6 MB, free: 3.945 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5389, allocations: 0.5196 MB / 461.1 MB, free: 3.379 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.5392, allocations: 126.4 kB / 461.3 MB, free: 3.238 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5393, allocations: 43.98 kB / 461.3 MB, free: 3.195 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/0.5407, allocations: 470.5 kB / 461.8 MB, free: 2.734 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.5423, allocations: 0.7079 MB / 462.5 MB, free: 1.93 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.5423, allocations: 0 / 462.5 MB, free: 1.93 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.5424, allocations: 4 kB / 462.5 MB, free: 1.926 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.5425, allocations: 15.94 kB / 462.5 MB, free: 1.91 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.5478, allocations: 1.973 MB / 464.5 MB, free: 15.85 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.5502, allocations: 0.8669 MB / 465.3 MB, free: 14.91 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.5511, allocations: 311.8 kB / 465.6 MB, free: 14.61 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-05/0.5512, allocations: 20.83 kB / 465.7 MB, free: 14.59 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.5513, allocations: 43.34 kB / 465.7 MB, free: 14.54 MB / 363.1 MB Notification: Performance of pre-optimization done (n=74): time 4.348e-06/0.5513, allocations: 0 / 465.7 MB, free: 14.54 MB / 363.1 MB Notification: Performance of matching and sorting (n=74): time 0.003559/0.5549, allocations: 0.8265 MB / 466.5 MB, free: 13.69 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000433/0.5554, allocations: 0.8251 MB / 467.3 MB, free: 12.67 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5564, allocations: 466.5 kB / 467.8 MB, free: 12.21 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.5567, allocations: 30.45 kB / 467.8 MB, free: 12.17 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.557, allocations: 359.2 kB / 468.2 MB, free: 11.82 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.5573, allocations: 248.2 kB / 468.4 MB, free: 11.57 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.5574, allocations: 4 kB / 468.4 MB, free: 11.57 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5576, allocations: 339.6 kB / 468.8 MB, free: 11.23 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/0.5582, allocations: 205.5 kB / 469 MB, free: 11.03 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.5591, allocations: 465.9 kB / 469.4 MB, free: 10.47 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.5598, allocations: 250.7 kB / 469.7 MB, free: 10.23 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5598, allocations: 5.547 kB / 469.7 MB, free: 10.23 MB / 363.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003444/0.5633, allocations: 0.8428 MB / 470.5 MB, free: 9.363 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.5634, allocations: 85.09 kB / 470.6 MB, free: 9.262 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5634, allocations: 4 kB / 470.6 MB, free: 9.258 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5645, allocations: 219.3 kB / 470.8 MB, free: 9.031 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.5657, allocations: 135.7 kB / 470.9 MB, free: 8.898 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/0.5757, allocations: 6.029 MB / 477 MB, free: 2.406 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.577, allocations: 83.39 kB / 477.1 MB, free: 2.324 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.81e-05/0.5772, allocations: 31.94 kB / 477.1 MB, free: 2.293 MB / 363.1 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 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003379/0.5775, allocations: 133.7 kB / 477.2 MB, free: 2.16 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5777, allocations: 79.16 kB / 477.3 MB, free: 2.082 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.578, allocations: 75.78 kB / 477.4 MB, free: 2.004 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.578, allocations: 8 kB / 477.4 MB, free: 1.996 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.578, allocations: 0 / 477.4 MB, free: 1.996 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003175/0.5812, allocations: 1.119 MB / 478.5 MB, free: 0.7617 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00561/0.5869, allocations: 1.731 MB / 480.2 MB, free: 14.97 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.587, allocations: 4 kB / 480.2 MB, free: 14.96 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.5882, allocations: 131.9 kB / 480.4 MB, free: 14.84 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007702/0.589, allocations: 162.5 kB / 480.5 MB, free: 14.67 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.5891, allocations: 4 kB / 480.5 MB, free: 14.66 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008193/0.5973, allocations: 4.66 MB / 485.2 MB, free: 9.664 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.5974, allocations: 0 / 485.2 MB, free: 9.664 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.6016, allocations: 1.242 MB / 486.4 MB, free: 8.375 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/0.6023, allocations: 235.9 kB / 486.7 MB, free: 8.125 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.6025, allocations: 4 kB / 486.7 MB, free: 8.121 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008342/0.6033, allocations: 23.98 kB / 486.7 MB, free: 8.098 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.6036, allocations: 64.62 kB / 486.7 MB, free: 8.035 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.6036, allocations: 27.98 kB / 486.8 MB, free: 8.008 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0007008/0.6044, allocations: 363 kB / 487.1 MB, free: 7.656 MB / 379.1 MB Notification: Performance of sort global known variables: time 2.455e-06/0.6044, allocations: 0 / 487.1 MB, free: 7.656 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001375/0.6058, allocations: 267.5 kB / 487.4 MB, free: 7.395 MB / 379.1 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.0002933/0.6061, allocations: 123.1 kB / 487.5 MB, free: 7.266 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.609, allocations: 1.163 MB / 488.7 MB, free: 6.027 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.609, allocations: 4 kB / 488.7 MB, free: 6.023 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.6109, allocations: 0.6759 MB / 489.3 MB, free: 5.32 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.6125, allocations: 176.9 kB / 489.5 MB, free: 5.152 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.6164, allocations: 1.233 MB / 490.8 MB, free: 3.875 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.6172, allocations: 0.9519 MB / 491.7 MB, free: 2.898 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.6177, allocations: 63.42 kB / 491.8 MB, free: 2.836 MB / 379.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6177, allocations: 0 / 491.8 MB, free: 2.836 MB / 379.1 MB Notification: Performance of Templates: time 0.3003/0.918, allocations: 20.41 MB / 0.5002 GB, free: 118.6 MB / 395.1 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