Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 94.44 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.348e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 50.42 MB / 387.5 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4591, allocations: 80.32 MB / 467.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4594, allocations: 75.95 kB / 467.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03989/0.4993, allocations: 15.71 MB / 483.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4993, allocations: 0 / 483.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.861e-05/0.4993, allocations: 19.94 kB / 483.6 MB, free: 14.64 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.001621/0.501, allocations: 1.038 MB / 484.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.501, allocations: 12.03 kB / 484.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.5012, allocations: 106.9 kB / 484.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007326/0.5019, allocations: 0.5154 MB / 485.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.5021, allocations: 122.4 kB / 485.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/0.5022, allocations: 36 kB / 485.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008032/0.503, allocations: 474.9 kB / 485.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009651/0.504, allocations: 0.7134 MB / 486.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.504, allocations: 0 / 486.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.5041, allocations: 0 / 486.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.5041, allocations: 16 kB / 486.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.5071, allocations: 1.977 MB / 488.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5084, allocations: 0.8605 MB / 489.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.5089, allocations: 325.7 kB / 489.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.509, allocations: 24.77 kB / 489.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.509, allocations: 47.84 kB / 489.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.144e-06/0.509, allocations: 0 / 489.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001897/0.5109, allocations: 0.8226 MB / 490.6 MB, free: 7.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002924/0.5112, allocations: 0.8235 MB / 491.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.5118, allocations: 470.5 kB / 491.9 MB, free: 5.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.5118, allocations: 33.64 kB / 492 MB, free: 5.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.5121, allocations: 336.8 kB / 492.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.5122, allocations: 252.2 kB / 492.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.5123, allocations: 0 / 492.5 MB, free: 5.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5124, allocations: 382.8 kB / 492.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.5128, allocations: 197.5 kB / 493.1 MB, free: 4.492 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.5133, allocations: 468.1 kB / 493.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.5137, allocations: 244.9 kB / 493.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5137, allocations: 4 kB / 493.8 MB, free: 3.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001932/0.5156, allocations: 0.8891 MB / 494.7 MB, free: 2.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.5157, allocations: 85.09 kB / 494.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.5157, allocations: 0 / 494.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.5163, allocations: 215.2 kB / 495 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.5169, allocations: 135.8 kB / 495.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/0.5228, allocations: 6.051 MB / 0.4894 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.5235, allocations: 79.42 kB / 0.4895 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.5235, allocations: 28 kB / 0.4895 GB, free: 11.71 MB / 378.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 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.0002287/0.5238, allocations: 134 kB / 0.4896 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5239, allocations: 83.11 kB / 0.4897 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.5241, allocations: 75.78 kB / 0.4898 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5241, allocations: 8 kB / 0.4898 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5241, allocations: 0 / 0.4898 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001751/0.5259, allocations: 1.115 MB / 0.4909 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.529, allocations: 1.731 MB / 0.4926 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.529, allocations: 0 / 0.4926 GB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.5296, allocations: 132.1 kB / 0.4927 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/0.53, allocations: 162.5 kB / 0.4929 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.5301, allocations: 12 kB / 0.4929 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.5352, allocations: 4.663 MB / 0.4974 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5352, allocations: 0 / 0.4974 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.5375, allocations: 1.237 MB / 0.4986 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.5378, allocations: 239.9 kB / 0.4989 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.5379, allocations: 4 kB / 0.4989 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.5384, allocations: 23.98 kB / 0.4989 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5386, allocations: 56.69 kB / 0.4989 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.5386, allocations: 31.98 kB / 0.499 GB, free: 1.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004317/0.539, allocations: 363 kB / 0.4993 GB, free: 1.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5391, allocations: 0 / 0.4993 GB, free: 1.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008646/0.5399, allocations: 267.5 kB / 0.4996 GB, free: 0.793 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.000204/0.5401, allocations: 119.1 kB / 0.4997 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.5417, allocations: 1.167 MB / 0.5008 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5417, allocations: 4 kB / 0.5008 GB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.5427, allocations: 0.6799 MB / 0.5015 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.5435, allocations: 172.9 kB / 0.5017 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.5456, allocations: 1.2 MB / 0.5028 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.546, allocations: 0.9519 MB / 0.5038 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000374/0.5464, allocations: 89.92 kB / 0.5039 GB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.5466, allocations: 59.42 kB / 0.5039 GB, free: 12.18 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5466, allocations: 0 / 0.5039 GB, free: 12.18 MB / 394.7 MB Notification: Performance of Templates: time 0.02108/0.5677, allocations: 14.2 MB / 0.5178 GB, free: 14.16 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches