Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009311/0.0009312, allocations: 105.2 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.875e-05, allocations: 0 / 343.7 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 51.48 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4677, allocations: 81.13 MB / 476.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.468, allocations: 73.45 kB / 476.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0358/0.5038, allocations: 15.76 MB / 492.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5038, allocations: 0 / 492.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.674e-05/0.5039, allocations: 16 kB / 492.1 MB, free: 15.15 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.001695/0.5056, allocations: 1.044 MB / 493.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5056, allocations: 11.2 kB / 493.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.5058, allocations: 110.9 kB / 493.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007448/0.5066, allocations: 0.5154 MB / 493.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.5068, allocations: 133.8 kB / 494 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.5069, allocations: 36 kB / 494 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007809/0.5077, allocations: 474.1 kB / 494.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.5087, allocations: 0.7154 MB / 495.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5087, allocations: 0 / 495.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.5087, allocations: 4 kB / 495.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5088, allocations: 12 kB / 495.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.5118, allocations: 1.966 MB / 497.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.5131, allocations: 0.8716 MB / 498 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.5135, allocations: 316.4 kB / 498.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.5136, allocations: 20.28 kB / 498.3 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.5136, allocations: 42.41 kB / 498.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.606e-06/0.5137, allocations: 0 / 498.4 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001858/0.5155, allocations: 0.8387 MB / 499.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003317/0.5159, allocations: 0.8195 MB / 0.4883 GB, free: 8.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.5164, allocations: 467.1 kB / 0.4888 GB, free: 7.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/0.5165, allocations: 29.7 kB / 0.4888 GB, free: 7.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.5167, allocations: 343.2 kB / 0.4891 GB, free: 7.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.5169, allocations: 247 kB / 0.4894 GB, free: 7.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.5169, allocations: 0 / 0.4894 GB, free: 7.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5171, allocations: 383.6 kB / 0.4897 GB, free: 7.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.5174, allocations: 198.4 kB / 0.4899 GB, free: 6.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004955/0.5179, allocations: 469.2 kB / 0.4904 GB, free: 6.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.5183, allocations: 242.2 kB / 0.4906 GB, free: 6.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5183, allocations: 0 / 0.4906 GB, free: 6.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00193/0.5203, allocations: 0.8901 MB / 0.4915 GB, free: 5.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.422e-05/0.5204, allocations: 89.11 kB / 0.4916 GB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5204, allocations: 0 / 0.4916 GB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000634/0.521, allocations: 215.2 kB / 0.4918 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.5216, allocations: 127.9 kB / 0.4919 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.528, allocations: 6.049 MB / 0.4978 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.5289, allocations: 79.53 kB / 0.4979 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/0.529, allocations: 23.98 kB / 0.4979 GB, free: 14.51 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.0003912/0.5294, allocations: 143.4 kB / 0.498 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5296, allocations: 75.16 kB / 0.4981 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.5298, allocations: 83.78 kB / 0.4982 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5298, allocations: 4 kB / 0.4982 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5299, allocations: 4 kB / 0.4982 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001905/0.5318, allocations: 1.119 MB / 0.4993 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.535, allocations: 1.716 MB / 0.5009 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5351, allocations: 3.984 kB / 0.501 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.5357, allocations: 135.7 kB / 0.5011 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/0.5361, allocations: 166.6 kB / 0.5012 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.5361, allocations: 7.984 kB / 0.5012 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/0.5414, allocations: 4.67 MB / 0.5058 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5415, allocations: 0 / 0.5058 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.5441, allocations: 1.225 MB / 0.507 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.5445, allocations: 228 kB / 0.5072 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.5446, allocations: 4 kB / 0.5072 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.5451, allocations: 27.97 kB / 0.5073 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.5452, allocations: 68.64 kB / 0.5073 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.5453, allocations: 16 kB / 0.5073 GB, free: 4.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005406/0.5458, allocations: 370.9 kB / 0.5077 GB, free: 3.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5458, allocations: 0 / 0.5077 GB, free: 3.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009627/0.5468, allocations: 267.5 kB / 0.5079 GB, free: 3.609 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.0002771/0.5471, allocations: 129.6 kB / 0.5081 GB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.5488, allocations: 1.164 MB / 0.5092 GB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.5489, allocations: 4 kB / 0.5092 GB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.5499, allocations: 0.6798 MB / 0.5099 GB, free: 1.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.5508, allocations: 180.2 kB / 0.51 GB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.5531, allocations: 1.198 MB / 0.5112 GB, free: 132 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.5536, allocations: 0.952 MB / 0.5121 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004202/0.5541, allocations: 85.92 kB / 0.5122 GB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.5542, allocations: 55.44 kB / 0.5123 GB, free: 15.01 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5542, allocations: 0 / 0.5123 GB, free: 15.01 MB / 394.7 MB Notification: Performance of Templates: time 0.02625/0.5805, allocations: 14.19 MB / 0.5261 GB, free: 1.109 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches