Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00192/0.00192, allocations: 197.5 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008007/0.0008008, allocations: 103.5 kB / 297.5 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.0002301, allocations: 8 kB / 358.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2048, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09316/0.298, allocations: 81.97 MB / 491.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.2983, allocations: 71.97 kB / 491.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04937/0.3476, allocations: 19.11 MB / 0.4986 GB, free: 6.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3477, allocations: 0 / 0.4986 GB, free: 6.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.275e-05/0.3478, allocations: 27.94 kB / 0.4986 GB, free: 6.242 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.002742/0.3505, allocations: 1.279 MB / 0.4998 GB, free: 4.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3506, allocations: 12.03 kB / 0.4998 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.3511, allocations: 127.5 kB / 0.5 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.3524, allocations: 0.6226 MB / 0.5006 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.3526, allocations: 151.7 kB / 0.5007 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.3528, allocations: 68.38 kB / 0.5008 GB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.3547, allocations: 0.9827 MB / 0.5017 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.3548, allocations: 3.938 kB / 0.5017 GB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/0.3549, allocations: 36 kB / 0.5018 GB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3549, allocations: 16 kB / 0.5018 GB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.3564, allocations: 0.6442 MB / 0.5024 GB, free: 2.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1912/0.5476, allocations: 2.577 MB / 0.5049 GB, free: 88.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.5501, allocations: 0.8802 MB / 0.5058 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007387/0.5509, allocations: 370.6 kB / 0.5062 GB, free: 88.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.5509, allocations: 15.92 kB / 0.5062 GB, free: 88.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.551, allocations: 54.47 kB / 0.5062 GB, free: 88.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/0.551, allocations: 1.375 kB / 0.5062 GB, free: 88.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002452/0.5534, allocations: 1.46 MB / 0.5076 GB, free: 87.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.5536, allocations: 0.9527 MB / 0.5086 GB, free: 86.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.5546, allocations: 0.7834 MB / 0.5093 GB, free: 86.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.5547, allocations: 44.77 kB / 0.5094 GB, free: 86.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.5549, allocations: 408 kB / 0.5098 GB, free: 86.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.5551, allocations: 259.2 kB / 0.51 GB, free: 86.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.5552, allocations: 13.56 kB / 0.51 GB, free: 86.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.5552, allocations: 339.3 kB / 0.5104 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006479/0.5559, allocations: 274.2 kB / 0.5106 GB, free: 85.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.5568, allocations: 0.5965 MB / 0.5112 GB, free: 85.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5579, allocations: 0.7023 MB / 0.5119 GB, free: 85.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.558, allocations: 1.125 kB / 0.5119 GB, free: 85.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001493/0.5595, allocations: 0.9929 MB / 0.5129 GB, free: 85.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.5595, allocations: 87.3 kB / 0.5129 GB, free: 84.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5595, allocations: 0 / 0.5129 GB, free: 84.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.5598, allocations: 130.8 kB / 0.5131 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.5605, allocations: 161.4 kB / 0.5132 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.564, allocations: 6.783 MB / 0.5198 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.5646, allocations: 113.9 kB / 0.52 GB, free: 78.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.5647, allocations: 28.45 kB / 0.52 GB, free: 78.52 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 (82): * Single equations (assignments): 74 * 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%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.565, allocations: 236.2 kB / 0.5202 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5652, allocations: 107.2 kB / 0.5203 GB, free: 78.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.5653, allocations: 104.7 kB / 0.5204 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.5653, allocations: 6.5 kB / 0.5204 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.5654, allocations: 4.031 kB / 0.5204 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/0.5665, allocations: 1.008 MB / 0.5214 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.5688, allocations: 1.797 MB / 0.5232 GB, free: 76.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5688, allocations: 0 / 0.5232 GB, free: 76.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.5695, allocations: 169.8 kB / 0.5233 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/0.5696, allocations: 26.94 kB / 0.5233 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5696, allocations: 15.94 kB / 0.5234 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005896/0.5702, allocations: 1.316 MB / 0.5246 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5703, allocations: 0 / 0.5246 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.5719, allocations: 1.133 MB / 0.5257 GB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.5722, allocations: 257.3 kB / 0.526 GB, free: 74.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5723, allocations: 19.53 kB / 0.526 GB, free: 74.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.5728, allocations: 53.67 kB / 0.5261 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.5729, allocations: 42.89 kB / 0.5261 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.5729, allocations: 22.84 kB / 0.5261 GB, free: 74.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005481/0.5735, allocations: 0.5396 MB / 0.5267 GB, free: 74.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5735, allocations: 0 / 0.5267 GB, free: 74.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006768/0.5742, allocations: 304.3 kB / 0.5269 GB, free: 74.23 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 (72): * Single equations (assignments): 71 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.5744, allocations: 141.3 kB / 0.5271 GB, free: 74.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.576, allocations: 1.417 MB / 0.5285 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.576, allocations: 6.031 kB / 0.5285 GB, free: 73.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.5766, allocations: 448 kB / 0.5289 GB, free: 72.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5776, allocations: 264 kB / 0.5291 GB, free: 72.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.5803, allocations: 2.056 MB / 0.5312 GB, free: 71.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.5807, allocations: 0.9843 MB / 0.5321 GB, free: 70.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005021/0.5812, allocations: 121.7 kB / 0.5322 GB, free: 70.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.5814, allocations: 78.25 kB / 0.5323 GB, free: 70.95 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5814, allocations: 0 / 0.5323 GB, free: 70.95 MB / 378.7 MB Notification: Performance of Templates: time 0.02217/0.6035, allocations: 16.12 MB / 0.548 GB, free: 59.47 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches