Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.35/1.35, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001078/0.001078, allocations: 93.77 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 11.94 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2605, allocations: 50.41 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3671, allocations: 81.22 MB / 482.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.3674, allocations: 71.97 kB / 482.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0508/0.4182, allocations: 19.04 MB / 0.4901 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4183, allocations: 0 / 0.4901 GB, free: 12.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.422e-05/0.4183, allocations: 20 kB / 0.4901 GB, free: 12.01 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002491/0.4208, allocations: 1.302 MB / 0.4914 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4209, allocations: 8.031 kB / 0.4914 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.4211, allocations: 126.6 kB / 0.4915 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/0.422, allocations: 0.5947 MB / 0.4921 GB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.4222, allocations: 151.8 kB / 0.4922 GB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4223, allocations: 72 kB / 0.4923 GB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.4237, allocations: 0.9744 MB / 0.4932 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4237, allocations: 0 / 0.4932 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.4238, allocations: 40 kB / 0.4933 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4238, allocations: 16 kB / 0.4933 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.4251, allocations: 0.6442 MB / 0.4939 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.4291, allocations: 2.568 MB / 0.4964 GB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.4319, allocations: 0.9484 MB / 0.4973 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/0.432, allocations: 8.656 kB / 0.4974 GB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.432, allocations: 47.22 kB / 0.4974 GB, free: 4.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.825e-06/0.432, allocations: 0 / 0.4974 GB, free: 4.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002729/0.4347, allocations: 1.486 MB / 0.4989 GB, free: 2.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004041/0.4352, allocations: 0.9528 MB / 0.4998 GB, free: 1.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.436, allocations: 0.6841 MB / 0.5004 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.4361, allocations: 45.7 kB / 0.5005 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.4364, allocations: 416.5 kB / 0.5009 GB, free: 180 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.235/0.6714, allocations: 248.3 kB / 0.5011 GB, free: 93.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.6715, allocations: 14.56 kB / 0.5011 GB, free: 93.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6717, allocations: 334.2 kB / 0.5015 GB, free: 92.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.6725, allocations: 271.9 kB / 0.5017 GB, free: 92.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.6735, allocations: 0.5971 MB / 0.5023 GB, free: 92.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.6743, allocations: 411.9 kB / 0.5027 GB, free: 92.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6743, allocations: 0.8438 kB / 0.5027 GB, free: 92.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002164/0.6765, allocations: 0.9974 MB / 0.5037 GB, free: 92.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.6766, allocations: 84.98 kB / 0.5038 GB, free: 92.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6766, allocations: 4.75 kB / 0.5038 GB, free: 92.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.677, allocations: 128.2 kB / 0.5039 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.6779, allocations: 159.8 kB / 0.504 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004962/0.6828, allocations: 6.972 MB / 0.5108 GB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.684, allocations: 116.9 kB / 0.5109 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.24e-05/0.6841, allocations: 26.89 kB / 0.511 GB, free: 85.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (81): * Single equations (assignments): 73 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.6847, allocations: 238.5 kB / 0.5112 GB, free: 85.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.6849, allocations: 101.7 kB / 0.5113 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.6851, allocations: 112.2 kB / 0.5114 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.6851, allocations: 7.844 kB / 0.5114 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.6852, allocations: 0 / 0.5114 GB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/0.6865, allocations: 1.01 MB / 0.5124 GB, free: 85.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.6889, allocations: 1.803 MB / 0.5142 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6889, allocations: 0 / 0.5142 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.6897, allocations: 158.5 kB / 0.5143 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.6898, allocations: 31.38 kB / 0.5143 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.6899, allocations: 21.88 kB / 0.5144 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008025/0.6907, allocations: 1.448 MB / 0.5158 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6907, allocations: 5.344 kB / 0.5158 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.6925, allocations: 1.145 MB / 0.5169 GB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.6929, allocations: 258.1 kB / 0.5171 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.693, allocations: 20 kB / 0.5172 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.6935, allocations: 52.52 kB / 0.5172 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.6936, allocations: 44.58 kB / 0.5173 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.6937, allocations: 20.41 kB / 0.5173 GB, free: 83.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006388/0.6943, allocations: 0.5439 MB / 0.5178 GB, free: 82.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6943, allocations: 0 / 0.5178 GB, free: 82.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009623/0.6953, allocations: 307.8 kB / 0.5181 GB, free: 82.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002296/0.6955, allocations: 149 kB / 0.5182 GB, free: 82.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.6975, allocations: 1.435 MB / 0.5196 GB, free: 81.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.6975, allocations: 6.594 kB / 0.5197 GB, free: 81.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.6981, allocations: 450.9 kB / 0.5201 GB, free: 81.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6992, allocations: 252.9 kB / 0.5203 GB, free: 81.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.7022, allocations: 2.047 MB / 0.5223 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.7026, allocations: 1.002 MB / 0.5233 GB, free: 79.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005364/0.7031, allocations: 116.3 kB / 0.5234 GB, free: 79.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.7033, allocations: 84.97 kB / 0.5235 GB, free: 79.54 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7033, allocations: 0 / 0.5235 GB, free: 79.54 MB / 378.7 MB Notification: Performance of Templates: time 0.02427/0.7276, allocations: 15.76 MB / 0.5389 GB, free: 69.86 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches