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.001281/0.001281, allocations: 181.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 92.98 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003164, allocations: 11.94 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2934, allocations: 50.39 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4043, allocations: 81.06 MB / 482.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4046, allocations: 71.95 kB / 482.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04279/0.4474, allocations: 15.9 MB / 498.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4475, allocations: 0 / 498.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.159e-05/0.4475, allocations: 19.98 kB / 498.5 MB, free: 15.32 MB / 378.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.002142/0.4497, allocations: 1.158 MB / 499.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4498, allocations: 8.031 kB / 499.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.45, allocations: 110.8 kB / 499.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.4508, allocations: 0.5155 MB / 0.4886 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4511, allocations: 154.3 kB / 0.4887 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.4512, allocations: 63.91 kB / 0.4888 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.4526, allocations: 0.845 MB / 0.4896 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.4526, allocations: 4 kB / 0.4896 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.4527, allocations: 24 kB / 0.4897 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4527, allocations: 16 kB / 0.4897 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4539, allocations: 0.5868 MB / 0.4902 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.4574, allocations: 2.088 MB / 0.4923 GB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.4593, allocations: 1.045 MB / 0.4933 GB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.857e-05/0.4594, allocations: 16.7 kB / 0.4933 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4594, allocations: 51.22 kB / 0.4934 GB, free: 8.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.4594, allocations: 4 kB / 0.4934 GB, free: 8.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004825/0.4643, allocations: 1.854 MB / 0.4952 GB, free: 6.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004094/0.4647, allocations: 0.8234 MB / 0.496 GB, free: 5.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.4655, allocations: 0.5582 MB / 0.4965 GB, free: 4.715 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.4656, allocations: 45.7 kB / 0.4966 GB, free: 4.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.4659, allocations: 317.2 kB / 0.4969 GB, free: 4.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.4661, allocations: 264.2 kB / 0.4971 GB, free: 4.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.4662, allocations: 16 kB / 0.4971 GB, free: 4.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4664, allocations: 386.8 kB / 0.4975 GB, free: 3.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.4669, allocations: 257.9 kB / 0.4978 GB, free: 3.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007684/0.4677, allocations: 0.5312 MB / 0.4983 GB, free: 2.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.4683, allocations: 390.7 kB / 0.4986 GB, free: 2.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4683, allocations: 3.938 kB / 0.4987 GB, free: 2.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00259/0.4709, allocations: 1.122 MB / 0.4997 GB, free: 1.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.471, allocations: 85.09 kB / 0.4998 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.471, allocations: 4 kB / 0.4998 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.4717, allocations: 251.3 kB / 0.5001 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.4723, allocations: 131.8 kB / 0.5002 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2525/0.7248, allocations: 6.579 MB / 0.5066 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.726, allocations: 104.5 kB / 0.5067 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.7262, allocations: 29.61 kB / 0.5068 GB, free: 90.21 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.0006406/0.7268, allocations: 213.8 kB / 0.507 GB, free: 90.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.7272, allocations: 89.28 kB / 0.507 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.7275, allocations: 92.64 kB / 0.5071 GB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7275, allocations: 10.91 kB / 0.5071 GB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7275, allocations: 3.75 kB / 0.5071 GB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002636/0.7301, allocations: 1.258 MB / 0.5084 GB, free: 89.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.7342, allocations: 1.929 MB / 0.5103 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.7343, allocations: 0 / 0.5103 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.7349, allocations: 127.1 kB / 0.5104 GB, free: 89.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.7354, allocations: 212.3 kB / 0.5106 GB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.7355, allocations: 16.58 kB / 0.5106 GB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.741, allocations: 5.14 MB / 0.5156 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.741, allocations: 0 / 0.5156 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.7438, allocations: 1.392 MB / 0.517 GB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/0.7443, allocations: 235.7 kB / 0.5172 GB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.7445, allocations: 22.09 kB / 0.5172 GB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006212/0.7452, allocations: 46.2 kB / 0.5173 GB, free: 84.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.7453, allocations: 62.94 kB / 0.5173 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.7454, allocations: 18.31 kB / 0.5173 GB, free: 84.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006026/0.746, allocations: 454 kB / 0.5178 GB, free: 84.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.746, allocations: 2.531 kB / 0.5178 GB, free: 84.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001077/0.7471, allocations: 288.5 kB / 0.5181 GB, free: 84.39 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.0002423/0.7473, allocations: 137.3 kB / 0.5182 GB, free: 84.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.7492, allocations: 1.328 MB / 0.5195 GB, free: 83.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7493, allocations: 3.219 kB / 0.5195 GB, free: 83.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.7504, allocations: 0.7634 MB / 0.5202 GB, free: 82.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.7514, allocations: 202.5 kB / 0.5204 GB, free: 82.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.754, allocations: 1.895 MB / 0.5223 GB, free: 81.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.7544, allocations: 0.9599 MB / 0.5232 GB, free: 81.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.7549, allocations: 94.58 kB / 0.5233 GB, free: 81.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.7551, allocations: 61.91 kB / 0.5234 GB, free: 81.06 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.7551, allocations: 2.906 kB / 0.5234 GB, free: 81.06 MB / 378.7 MB Notification: Performance of Templates: time 0.02454/0.7797, allocations: 15.72 MB / 0.5387 GB, free: 69.85 MB / 378.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