Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 180.4 kB / 17.06 MB, free: 5.094 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.224/1.224, allocations: 223.2 MB / 241 MB, free: 11.87 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.0007567/0.0007568, allocations: 103.7 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3062/0.3062, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 12 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3261, allocations: 61.9 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.4341, allocations: 93.6 MB / 0.601 GB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.4345, allocations: 99.72 kB / 0.6011 GB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01871/0.4532, allocations: 6.994 MB / 0.6079 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4533, allocations: 0 / 0.6079 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.4533, allocations: 4 kB / 0.6079 GB, free: 10.37 MB / 426.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.0005666/0.4539, allocations: 482.8 kB / 0.6084 GB, free: 9.852 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4539, allocations: 16.02 kB / 0.6084 GB, free: 9.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.454, allocations: 23.72 kB / 0.6084 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.4542, allocations: 210.7 kB / 0.6086 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4542, allocations: 16.44 kB / 0.6086 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.4543, allocations: 16 kB / 0.6086 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.4547, allocations: 235.1 kB / 0.6089 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4547, allocations: 0 / 0.6089 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.4547, allocations: 12 kB / 0.6089 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4548, allocations: 4 kB / 0.6089 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.4552, allocations: 265.5 kB / 0.6091 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.4562, allocations: 0.6196 MB / 0.6097 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.4565, allocations: 114.6 kB / 0.6099 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4566, allocations: 3.953 kB / 0.6099 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4566, allocations: 38.62 kB / 0.6099 GB, free: 8.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.4566, allocations: 4.188 kB / 0.6099 GB, free: 8.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005042/0.4571, allocations: 177.3 kB / 0.6101 GB, free: 8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4572, allocations: 55.34 kB / 0.6101 GB, free: 7.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4574, allocations: 238.1 kB / 0.6103 GB, free: 7.699 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4574, allocations: 33.7 kB / 0.6104 GB, free: 7.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.4575, allocations: 163.4 kB / 0.6105 GB, free: 7.496 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.4576, allocations: 35.48 kB / 0.6106 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.4576, allocations: 4 kB / 0.6106 GB, free: 7.457 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4577, allocations: 334.8 kB / 0.6109 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4579, allocations: 55.95 kB / 0.6109 GB, free: 7.066 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.4581, allocations: 149.9 kB / 0.6111 GB, free: 6.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.4582, allocations: 71.92 kB / 0.6112 GB, free: 6.805 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4582, allocations: 0 / 0.6112 GB, free: 6.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004523/0.4587, allocations: 248.9 kB / 0.6114 GB, free: 6.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4587, allocations: 13.52 kB / 0.6114 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4587, allocations: 4 kB / 0.6114 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4588, allocations: 4.438 kB / 0.6114 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.4592, allocations: 91.89 kB / 0.6115 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/0.4598, allocations: 1.215 MB / 0.6127 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.4601, allocations: 39.83 kB / 0.6127 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.4601, allocations: 15.98 kB / 0.6127 GB, free: 5.129 MB / 426.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 () * Number of clocked 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 0.0001154/0.4602, allocations: 127.7 kB / 0.6129 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.4603, allocations: 23.72 kB / 0.6129 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.4607, allocations: 183.5 kB / 0.6131 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4607, allocations: 4 kB / 0.6131 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4607, allocations: 4 kB / 0.6131 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4607, allocations: 0 / 0.6131 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.4613, allocations: 463.9 kB / 0.6135 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4614, allocations: 12.05 kB / 0.6135 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4616, allocations: 59.95 kB / 0.6136 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4616, allocations: 0 / 0.6136 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.4617, allocations: 8 kB / 0.6136 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005736/0.4622, allocations: 1.211 MB / 0.6148 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4622, allocations: 0 / 0.6148 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.4626, allocations: 284.4 kB / 0.615 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.4627, allocations: 92.83 kB / 0.6151 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.4628, allocations: 7.938 kB / 0.6151 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4629, allocations: 7.984 kB / 0.6151 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.463, allocations: 19.94 kB / 0.6152 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.463, allocations: 8 kB / 0.6152 GB, free: 2.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.4632, allocations: 182 kB / 0.6153 GB, free: 2.285 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4632, allocations: 0 / 0.6153 GB, free: 2.285 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004154/0.4636, allocations: 71.94 kB / 0.6154 GB, free: 2.215 MB / 426.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 () * Number of clocked 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.0003176/0.4639, allocations: 179.2 kB / 0.6156 GB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.4644, allocations: 167.8 kB / 0.6157 GB, free: 1.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4644, allocations: 0 / 0.6157 GB, free: 1.867 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.4647, allocations: 84.95 kB / 0.6158 GB, free: 1.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.465, allocations: 28.53 kB / 0.6159 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.4657, allocations: 461.2 kB / 0.6163 GB, free: 1.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.466, allocations: 0.7365 MB / 0.617 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.795e-05/0.4661, allocations: 25.94 kB / 0.617 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.4661, allocations: 19.38 kB / 0.6171 GB, free: 472 kB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4661, allocations: 4 kB / 0.6171 GB, free: 468 kB / 426.7 MB Notification: Performance of Templates: time 0.007035/0.4732, allocations: 3.61 MB / 0.6206 GB, free: 12.88 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches