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_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009634/0.0009636, allocations: 180.6 kB / 14.15 MB, free: 1.176 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.255/1.255, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008739/0.0008739, allocations: 95.59 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1666/0.1666, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.412e-05/2.413e-05, allocations: 4 kB / 451.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3548/0.4669, allocations: 99.79 MB / 0.5992 GB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4672, allocations: 95.94 kB / 0.5993 GB, free: 5.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03271/0.4999, allocations: 11.54 MB / 0.6105 GB, free: 9.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5, allocations: 0 / 0.6105 GB, free: 9.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.5, allocations: 4 kB / 0.6105 GB, free: 9.836 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006849/0.5007, allocations: 0.5723 MB / 0.6111 GB, free: 9.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5007, allocations: 8.031 kB / 0.6111 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.5008, allocations: 43.52 kB / 0.6111 GB, free: 9.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.5011, allocations: 234.5 kB / 0.6114 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5011, allocations: 36.67 kB / 0.6114 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.5012, allocations: 32 kB / 0.6114 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.5018, allocations: 0.5547 MB / 0.612 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5018, allocations: 7.938 kB / 0.612 GB, free: 8.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.5018, allocations: 16 kB / 0.612 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5018, allocations: 8 kB / 0.612 GB, free: 8.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.5022, allocations: 313.1 kB / 0.6123 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.5046, allocations: 4.039 MB / 0.6162 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5049, allocations: 82.55 kB / 0.6163 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.5049, allocations: 36.97 kB / 0.6164 GB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.505, allocations: 0 / 0.6164 GB, free: 3.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.505, allocations: 34.56 kB / 0.6164 GB, free: 3.395 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.505, allocations: 0 / 0.6164 GB, free: 3.395 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002658/0.5053, allocations: 117.2 kB / 0.6165 GB, free: 3.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5053, allocations: 51.41 kB / 0.6166 GB, free: 3.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.5056, allocations: 359 kB / 0.6169 GB, free: 2.852 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.5057, allocations: 25.7 kB / 0.6169 GB, free: 2.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.5058, allocations: 247.1 kB / 0.6172 GB, free: 2.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.5059, allocations: 30.39 kB / 0.6172 GB, free: 2.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.5059, allocations: 8 kB / 0.6172 GB, free: 2.539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.506, allocations: 346.8 kB / 0.6175 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.5061, allocations: 40.66 kB / 0.6176 GB, free: 2.148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5063, allocations: 250.4 kB / 0.6178 GB, free: 1.801 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5065, allocations: 88.53 kB / 0.6179 GB, free: 1.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5065, allocations: 0 / 0.6179 GB, free: 1.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004611/0.5069, allocations: 320.8 kB / 0.6182 GB, free: 1.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.507, allocations: 8 kB / 0.6182 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.507, allocations: 8 kB / 0.6182 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.507, allocations: 15.95 kB / 0.6182 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.5075, allocations: 116.5 kB / 0.6183 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006975/0.5082, allocations: 1.211 MB / 0.6195 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5085, allocations: 63.28 kB / 0.6196 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.5085, allocations: 32.11 kB / 0.6196 GB, free: 15.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001072/0.5086, allocations: 136.7 kB / 0.6197 GB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.5087, allocations: 35.53 kB / 0.6198 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.509, allocations: 149 kB / 0.6199 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.509, allocations: 0 / 0.6199 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.509, allocations: 0 / 0.6199 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.509, allocations: 7.938 kB / 0.6199 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.5094, allocations: 285.4 kB / 0.6202 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5094, allocations: 0 / 0.6202 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5096, allocations: 55.97 kB / 0.6202 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5097, allocations: 0 / 0.6202 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5097, allocations: 4 kB / 0.6203 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006834/0.5104, allocations: 1.203 MB / 0.6214 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5104, allocations: 192 / 0.6214 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.5106, allocations: 211.1 kB / 0.6216 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.5107, allocations: 104.6 kB / 0.6217 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.5108, allocations: 3.953 kB / 0.6217 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.5109, allocations: 11.98 kB / 0.6217 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.511, allocations: 11.98 kB / 0.6218 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.511, allocations: 7.984 kB / 0.6218 GB, free: 13.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002677/0.5113, allocations: 265.2 kB / 0.622 GB, free: 13.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5113, allocations: 0 / 0.622 GB, free: 13.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000614/0.5119, allocations: 131.9 kB / 0.6221 GB, free: 13.16 MB / 442.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 (7): * Single equations (assignments): 5 * 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.0004482/0.5124, allocations: 244.1 kB / 0.6224 GB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.5128, allocations: 167.8 kB / 0.6225 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5128, allocations: 1.812 kB / 0.6225 GB, free: 12.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.513, allocations: 51.97 kB / 0.6226 GB, free: 12.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.5133, allocations: 46.02 kB / 0.6226 GB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005468/0.5138, allocations: 300.6 kB / 0.6229 GB, free: 12.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5142, allocations: 0.7836 MB / 0.6237 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.5143, allocations: 34.95 kB / 0.6237 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.5144, allocations: 23.44 kB / 0.6237 GB, free: 11.48 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5144, allocations: 4 kB / 0.6237 GB, free: 11.48 MB / 442.7 MB Notification: Performance of Templates: time 0.01085/0.5252, allocations: 6.923 MB / 0.6305 GB, free: 4.59 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches