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.001595/0.001595, allocations: 180.5 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.32/1.32, allocations: 221.3 MB / 236 MB, free: 2.984 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.0008751/0.0008751, allocations: 87.67 kB / 287 MB, free: 256 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.1787/0.1787, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.81e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5095, allocations: 93.52 MB / 0.593 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5098, allocations: 99.81 kB / 0.5931 GB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01845/0.5283, allocations: 6.987 MB / 0.6 GB, free: 4.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5283, allocations: 0 / 0.6 GB, free: 4.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5283, allocations: 4 kB / 0.6 GB, free: 4.703 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.0004819/0.5288, allocations: 474.2 kB / 0.6004 GB, free: 4.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5289, allocations: 8.031 kB / 0.6004 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.5289, allocations: 23.72 kB / 0.6005 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.5292, allocations: 213.9 kB / 0.6007 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.5292, allocations: 16.38 kB / 0.6007 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.5292, allocations: 24 kB / 0.6007 GB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.5296, allocations: 215.4 kB / 0.6009 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.5296, allocations: 0 / 0.6009 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.5296, allocations: 12 kB / 0.6009 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5296, allocations: 4 kB / 0.6009 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.5299, allocations: 221.7 kB / 0.6011 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.5308, allocations: 0.608 MB / 0.6017 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.5311, allocations: 106.6 kB / 0.6018 GB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.531e-05/0.5312, allocations: 36.88 kB / 0.6019 GB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.5312, allocations: 3.984 kB / 0.6019 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5313, allocations: 34.56 kB / 0.6019 GB, free: 2.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.5313, allocations: 0 / 0.6019 GB, free: 2.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000257/0.5315, allocations: 117.4 kB / 0.602 GB, free: 2.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.5316, allocations: 51.41 kB / 0.6021 GB, free: 2.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.5318, allocations: 239.3 kB / 0.6023 GB, free: 2.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.5318, allocations: 29.7 kB / 0.6023 GB, free: 2.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.449e-05/0.5319, allocations: 171.3 kB / 0.6025 GB, free: 1.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.532, allocations: 27.56 kB / 0.6025 GB, free: 1.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.532, allocations: 4 kB / 0.6025 GB, free: 1.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5321, allocations: 334.8 kB / 0.6028 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.5322, allocations: 35.98 kB / 0.6029 GB, free: 1.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.5324, allocations: 136.8 kB / 0.603 GB, free: 1.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.5325, allocations: 55.86 kB / 0.603 GB, free: 1.305 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5325, allocations: 0 / 0.603 GB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003244/0.5328, allocations: 213 kB / 0.6032 GB, free: 1.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5328, allocations: 8.891 kB / 0.6033 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5328, allocations: 4 kB / 0.6033 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5329, allocations: 4.438 kB / 0.6033 GB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.5333, allocations: 91.88 kB / 0.6033 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006802/0.5339, allocations: 1.211 MB / 0.6045 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.5342, allocations: 43.86 kB / 0.6046 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.5342, allocations: 16 kB / 0.6046 GB, free: 15.67 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 () * 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 8.264e-05/0.5343, allocations: 116.9 kB / 0.6047 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.5343, allocations: 19.72 kB / 0.6047 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.5346, allocations: 151.4 kB / 0.6049 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5346, allocations: 4 kB / 0.6049 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5347, allocations: 4 kB / 0.6049 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5347, allocations: 3.953 kB / 0.6049 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.5351, allocations: 424.2 kB / 0.6053 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5352, allocations: 8 kB / 0.6053 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.5354, allocations: 51.97 kB / 0.6053 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5354, allocations: 4 kB / 0.6053 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.5355, allocations: 7.984 kB / 0.6053 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005783/0.5361, allocations: 1.211 MB / 0.6065 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5361, allocations: 0 / 0.6065 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.5363, allocations: 244.3 kB / 0.6068 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.5364, allocations: 104.9 kB / 0.6069 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.5364, allocations: 0 / 0.6069 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.5366, allocations: 15.94 kB / 0.6069 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.5367, allocations: 11.94 kB / 0.6069 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5367, allocations: 7.984 kB / 0.6069 GB, free: 13.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.5368, allocations: 183.1 kB / 0.6071 GB, free: 12.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5369, allocations: 0 / 0.6071 GB, free: 12.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.5372, allocations: 67.94 kB / 0.6071 GB, free: 12.88 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 () * 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.0002942/0.5375, allocations: 179.8 kB / 0.6073 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.5379, allocations: 127.8 kB / 0.6074 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5379, allocations: 0 / 0.6074 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.5382, allocations: 68.78 kB / 0.6075 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.5384, allocations: 21.02 kB / 0.6075 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.5389, allocations: 238.2 kB / 0.6077 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.5392, allocations: 0.744 MB / 0.6085 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.5392, allocations: 22.08 kB / 0.6085 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.5393, allocations: 15.44 kB / 0.6085 GB, free: 11.42 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5393, allocations: 0 / 0.6085 GB, free: 11.42 MB / 426.7 MB Notification: Performance of Templates: time 0.006903/0.5462, allocations: 3.808 MB / 0.6122 GB, free: 7.645 MB / 426.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