Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008096/0.0008097, allocations: 89.61 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1758/0.1758, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.777e-05, allocations: 3.984 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.09875, allocations: 63.25 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4427, allocations: 96.78 MB / 0.6059 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4429, allocations: 94.48 kB / 0.606 GB, free: 13.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01982/0.4628, allocations: 8.203 MB / 0.614 GB, free: 6.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4628, allocations: 0 / 0.614 GB, free: 6.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4628, allocations: 7.938 kB / 0.614 GB, free: 6.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004656/0.4633, allocations: 467.5 kB / 0.6145 GB, free: 5.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4633, allocations: 11.97 kB / 0.6145 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.4634, allocations: 23.72 kB / 0.6145 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.4636, allocations: 209.9 kB / 0.6147 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4636, allocations: 14.5 kB / 0.6147 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.4636, allocations: 14.75 kB / 0.6147 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.4639, allocations: 193.6 kB / 0.6149 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4639, allocations: 0 / 0.6149 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.464, allocations: 10.75 kB / 0.6149 GB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.464, allocations: 8 kB / 0.6149 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.4641, allocations: 120.7 kB / 0.615 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.4649, allocations: 0.576 MB / 0.6156 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.465, allocations: 49.94 kB / 0.6156 GB, free: 4.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.465, allocations: 22.92 kB / 0.6157 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4651, allocations: 3.938 kB / 0.6157 GB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4651, allocations: 30.56 kB / 0.6157 GB, free: 4.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4651, allocations: 0 / 0.6157 GB, free: 4.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001973/0.4653, allocations: 85.02 kB / 0.6158 GB, free: 4.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.4653, allocations: 51.41 kB / 0.6158 GB, free: 4.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.4656, allocations: 233.6 kB / 0.6161 GB, free: 4.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4656, allocations: 29.7 kB / 0.6161 GB, free: 4.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.4657, allocations: 160.7 kB / 0.6162 GB, free: 3.891 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.4657, allocations: 15.75 kB / 0.6163 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.4657, allocations: 3.375 kB / 0.6163 GB, free: 3.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4658, allocations: 337.5 kB / 0.6166 GB, free: 3.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.4659, allocations: 23.75 kB / 0.6166 GB, free: 3.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.466, allocations: 114.4 kB / 0.6167 GB, free: 3.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.4661, allocations: 49.67 kB / 0.6168 GB, free: 3.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4661, allocations: 0 / 0.6168 GB, free: 3.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002445/0.4663, allocations: 180.3 kB / 0.6169 GB, free: 3.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4663, allocations: 8 kB / 0.6169 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.4664, allocations: 11.94 kB / 0.6169 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4664, allocations: 8 kB / 0.617 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4665, allocations: 39.55 kB / 0.617 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.4665, allocations: 7.984 kB / 0.617 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.4667, allocations: 31.69 kB / 0.617 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4667, allocations: 11.31 kB / 0.617 GB, free: 3.066 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.733e-05/0.4668, allocations: 120.3 kB / 0.6172 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.4668, allocations: 19.89 kB / 0.6172 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.4671, allocations: 115.8 kB / 0.6173 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4671, allocations: 0 / 0.6173 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4671, allocations: 0 / 0.6173 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4671, allocations: 0 / 0.6173 GB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.4673, allocations: 230.8 kB / 0.6175 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.4673, allocations: 12 kB / 0.6175 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.4674, allocations: 11.98 kB / 0.6175 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4674, allocations: 0 / 0.6175 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.4674, allocations: 11.94 kB / 0.6175 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4674, allocations: 0 / 0.6175 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4674, allocations: 0 / 0.6175 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.4676, allocations: 186 kB / 0.6177 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.4677, allocations: 92.92 kB / 0.6178 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4677, allocations: 0 / 0.6178 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4678, allocations: 11.98 kB / 0.6178 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.4678, allocations: 7.375 kB / 0.6178 GB, free: 2.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4679, allocations: 0 / 0.6178 GB, free: 2.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.468, allocations: 180.2 kB / 0.618 GB, free: 2.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.468, allocations: 0 / 0.618 GB, free: 2.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.4683, allocations: 79.56 kB / 0.6181 GB, free: 1.996 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003206/0.4687, allocations: 202.4 kB / 0.6183 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.469, allocations: 145.3 kB / 0.6184 GB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.469, allocations: 4 kB / 0.6184 GB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.4691, allocations: 90.27 kB / 0.6185 GB, free: 1.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.4693, allocations: 28.08 kB / 0.6185 GB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.4697, allocations: 213 kB / 0.6187 GB, free: 1.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.47, allocations: 0.7363 MB / 0.6194 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.4701, allocations: 21.77 kB / 0.6195 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.4701, allocations: 15.44 kB / 0.6195 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4701, allocations: 0 / 0.6195 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of Templates: time 0.007189/0.4773, allocations: 4.402 MB / 0.6238 GB, free: 12.16 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches