Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001308/0.001308, allocations: 178 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0009086/0.0009089, allocations: 90.36 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.743e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09112, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/0.4218, allocations: 81.26 MB / 444.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4221, allocations: 81.19 kB / 444.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04023/0.4624, allocations: 16 MB / 460.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4624, allocations: 0 / 460.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.4625, allocations: 23.94 kB / 460.4 MB, free: 1.207 MB / 330.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.001714/0.4642, allocations: 1.034 MB / 461.5 MB, free: 168 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4643, allocations: 16.03 kB / 461.5 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.4645, allocations: 102.9 kB / 461.6 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.4652, allocations: 0.5172 MB / 462.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.4654, allocations: 134.2 kB / 462.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.4655, allocations: 36 kB / 462.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000792/0.4663, allocations: 470.5 kB / 462.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/0.4673, allocations: 0.7101 MB / 463.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.4673, allocations: 3.984 kB / 463.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.4674, allocations: 11.88 kB / 463.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.4674, allocations: 12 kB / 463.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.4703, allocations: 1.978 MB / 465.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.4716, allocations: 0.8599 MB / 466.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.4721, allocations: 319.3 kB / 466.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.4721, allocations: 16.7 kB / 466.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.4722, allocations: 49.66 kB / 466.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 2.124e-06/0.4722, allocations: 0 / 466.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.001932/0.4741, allocations: 0.8271 MB / 467.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00042/0.4746, allocations: 0.823 MB / 468.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.4751, allocations: 468.3 kB / 468.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.4752, allocations: 29.7 kB / 468.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.4754, allocations: 331.8 kB / 469.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.4756, allocations: 252.8 kB / 469.4 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.4756, allocations: 4 kB / 469.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4758, allocations: 384.9 kB / 469.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.4761, allocations: 199.4 kB / 470 MB, free: 8.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.4767, allocations: 459.4 kB / 470.4 MB, free: 8.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.4771, allocations: 255 kB / 470.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4771, allocations: 7.953 kB / 470.7 MB, free: 8.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001868/0.479, allocations: 0.8867 MB / 471.6 MB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.4791, allocations: 89.09 kB / 471.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.4791, allocations: 0 / 471.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/0.4797, allocations: 216.4 kB / 471.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.4804, allocations: 131.2 kB / 472 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/0.4863, allocations: 6.037 MB / 478 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.487, allocations: 83.33 kB / 478.1 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.4871, allocations: 19.75 kB / 478.1 MB, free: 1.234 MB / 346.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.0002495/0.4873, allocations: 144.8 kB / 478.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4875, allocations: 79.03 kB / 478.3 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.4877, allocations: 75.34 kB / 478.4 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4877, allocations: 8 kB / 478.4 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4877, allocations: 0 / 478.4 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/0.4895, allocations: 1.117 MB / 479.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.4927, allocations: 1.727 MB / 481.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4927, allocations: 0 / 481.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.4933, allocations: 131.9 kB / 481.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004095/0.4937, allocations: 166.5 kB / 481.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.4938, allocations: 7.984 kB / 481.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.4988, allocations: 4.658 MB / 486.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4988, allocations: 3.984 kB / 486.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.5011, allocations: 1.229 MB / 487.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.5015, allocations: 231.9 kB / 487.7 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.5016, allocations: 7.938 kB / 487.7 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.502, allocations: 23.98 kB / 487.7 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.5022, allocations: 60.64 kB / 487.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.5022, allocations: 31.98 kB / 487.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004829/0.5027, allocations: 366.9 kB / 488.2 MB, free: 6.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5027, allocations: 3.938 kB / 488.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009523/0.5037, allocations: 259.6 kB / 488.4 MB, free: 6.426 MB / 362.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.0002982/0.504, allocations: 123.2 kB / 488.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.5058, allocations: 1.163 MB / 489.7 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5058, allocations: 4 kB / 489.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.5069, allocations: 0.6837 MB / 490.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.5078, allocations: 181 kB / 490.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.5099, allocations: 1.192 MB / 491.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.5105, allocations: 0.9558 MB / 492.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.5109, allocations: 85.92 kB / 492.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.511, allocations: 63.42 kB / 492.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.511, allocations: 0 / 492.9 MB, free: 1.809 MB / 362.7 MB Notification: Performance of Templates: time 0.021/0.532, allocations: 14.19 MB / 0.4952 GB, free: 3.602 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches