Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 197.2 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.248/1.248, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008139/0.0008139, allocations: 90.41 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1719/0.1719, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.607e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09081, allocations: 63.24 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4372, allocations: 94.69 MB / 0.6038 GB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.4375, allocations: 102.3 kB / 0.6039 GB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.4551, allocations: 7.095 MB / 0.6109 GB, free: 9.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4551, allocations: 0 / 0.6109 GB, free: 9.098 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4551, allocations: 0 / 0.6109 GB, free: 9.098 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004407/0.4556, allocations: 464.3 kB / 0.6113 GB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4556, allocations: 15.97 kB / 0.6113 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.4557, allocations: 27.72 kB / 0.6114 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4559, allocations: 217.8 kB / 0.6116 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4559, allocations: 16.38 kB / 0.6116 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4559, allocations: 19.44 kB / 0.6116 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.4562, allocations: 216.3 kB / 0.6118 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.4563, allocations: 0 / 0.6118 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4563, allocations: 10.12 kB / 0.6118 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4563, allocations: 4 kB / 0.6118 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.4565, allocations: 215.9 kB / 0.612 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.4573, allocations: 0.6267 MB / 0.6126 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.4576, allocations: 104.6 kB / 0.6127 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.4577, allocations: 28.48 kB / 0.6128 GB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4577, allocations: 11.98 kB / 0.6128 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4577, allocations: 30.56 kB / 0.6128 GB, free: 7.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.274e-06/0.4577, allocations: 3.984 kB / 0.6128 GB, free: 7.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002325/0.458, allocations: 107.5 kB / 0.6129 GB, free: 7.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.458, allocations: 55.41 kB / 0.613 GB, free: 7.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.4582, allocations: 230 kB / 0.6132 GB, free: 6.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4583, allocations: 33.64 kB / 0.6132 GB, free: 6.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4584, allocations: 175.2 kB / 0.6134 GB, free: 6.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4584, allocations: 31 kB / 0.6134 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.4584, allocations: 3.125 kB / 0.6134 GB, free: 6.676 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.4585, allocations: 336.7 kB / 0.6137 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.4586, allocations: 41.42 kB / 0.6138 GB, free: 6.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4587, allocations: 132.9 kB / 0.6139 GB, free: 6.156 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.4588, allocations: 54.92 kB / 0.614 GB, free: 6.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4588, allocations: 0 / 0.614 GB, free: 6.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002996/0.4591, allocations: 205.6 kB / 0.6142 GB, free: 5.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4592, allocations: 8 kB / 0.6142 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4592, allocations: 4 kB / 0.6142 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4592, allocations: 7.938 kB / 0.6142 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.4595, allocations: 91.81 kB / 0.6143 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005962/0.4602, allocations: 1.22 MB / 0.6154 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.4603, allocations: 39.17 kB / 0.6155 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4604, allocations: 8 kB / 0.6155 GB, free: 4.535 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.821e-05/0.4605, allocations: 123.9 kB / 0.6156 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.4605, allocations: 27.67 kB / 0.6156 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.4608, allocations: 148.7 kB / 0.6158 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4608, allocations: 4 kB / 0.6158 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4608, allocations: 0 / 0.6158 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4608, allocations: 4 kB / 0.6158 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.4612, allocations: 420.4 kB / 0.6162 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4613, allocations: 0 / 0.6162 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.4615, allocations: 63.78 kB / 0.6162 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4615, allocations: 0 / 0.6162 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4616, allocations: 12.05 kB / 0.6163 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005431/0.4621, allocations: 1.211 MB / 0.6174 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4621, allocations: 4.031 kB / 0.6174 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4624, allocations: 240.1 kB / 0.6177 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.4624, allocations: 100.8 kB / 0.6178 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.4625, allocations: 7 kB / 0.6178 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.4626, allocations: 11.98 kB / 0.6178 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4627, allocations: 12 kB / 0.6178 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4627, allocations: 7.5 kB / 0.6178 GB, free: 2.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.4628, allocations: 181.7 kB / 0.618 GB, free: 1.941 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4628, allocations: 0 / 0.618 GB, free: 1.941 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.4631, allocations: 74.19 kB / 0.6181 GB, free: 1.875 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002646/0.4634, allocations: 182.2 kB / 0.6182 GB, free: 1.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.4638, allocations: 135.2 kB / 0.6184 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4638, allocations: 0 / 0.6184 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.464, allocations: 62.91 kB / 0.6184 GB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4642, allocations: 33.73 kB / 0.6184 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.4647, allocations: 236.1 kB / 0.6187 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.465, allocations: 0.7402 MB / 0.6194 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.4651, allocations: 14.08 kB / 0.6194 GB, free: 492 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.4651, allocations: 23.44 kB / 0.6194 GB, free: 468 kB / 410.7 MB Notification: Performance of SimCode: time 5.42e-07/0.4651, allocations: 0 / 0.6194 GB, free: 468 kB / 410.7 MB Notification: Performance of Templates: time 0.00729/0.4724, allocations: 3.829 MB / 0.6232 GB, free: 12.68 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches