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.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,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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001033, 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.274/1.274, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009535/0.0009535, allocations: 95.84 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.1805/0.1805, allocations: 44.16 MB / 382.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.384e-05, allocations: 8.203 kB / 451.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4759, allocations: 95.51 MB / 0.595 GB, free: 9.805 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4762, allocations: 99.92 kB / 0.5951 GB, free: 9.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.4967, allocations: 8.053 MB / 0.6029 GB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4967, allocations: 0 / 0.6029 GB, free: 1.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4968, allocations: 4 kB / 0.603 GB, free: 1.641 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.0007084/0.4975, allocations: 465.9 kB / 0.6034 GB, free: 1.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.4975, allocations: 11.97 kB / 0.6034 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.4976, allocations: 23.72 kB / 0.6034 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.4979, allocations: 213.9 kB / 0.6036 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.498, allocations: 8 kB / 0.6036 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.498, allocations: 23.95 kB / 0.6037 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.4983, allocations: 182.8 kB / 0.6038 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4983, allocations: 3.984 kB / 0.6038 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.4984, allocations: 8 kB / 0.6039 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4984, allocations: 4 kB / 0.6039 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.4986, allocations: 120.3 kB / 0.604 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.4995, allocations: 0.5792 MB / 0.6045 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4996, allocations: 54.5 kB / 0.6046 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.4997, allocations: 16.92 kB / 0.6046 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.4997, allocations: 7.953 kB / 0.6046 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4997, allocations: 30.56 kB / 0.6046 GB, free: 15.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4997, allocations: 0 / 0.6046 GB, free: 15.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002383/0.5, allocations: 89.39 kB / 0.6047 GB, free: 15.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.5, allocations: 55.41 kB / 0.6048 GB, free: 15.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.5003, allocations: 231.1 kB / 0.605 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5003, allocations: 25.7 kB / 0.605 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5004, allocations: 167.6 kB / 0.6052 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.5005, allocations: 11.81 kB / 0.6052 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.5005, allocations: 4 kB / 0.6052 GB, free: 15.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5006, allocations: 334.8 kB / 0.6055 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.5007, allocations: 24 kB / 0.6055 GB, free: 14.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.5008, allocations: 114.9 kB / 0.6057 GB, free: 14.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.5009, allocations: 51.91 kB / 0.6057 GB, free: 14.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5009, allocations: 0 / 0.6057 GB, free: 14.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000268/0.5012, allocations: 173 kB / 0.6059 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5012, allocations: 8.938 kB / 0.6059 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.5013, allocations: 12.44 kB / 0.6059 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5013, allocations: 8 kB / 0.6059 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5014, allocations: 39.91 kB / 0.6059 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.5015, allocations: 11.98 kB / 0.6059 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5016, allocations: 31.62 kB / 0.606 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.5016, allocations: 11.98 kB / 0.606 GB, free: 14.27 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 (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 8.036e-05/0.5017, allocations: 116.9 kB / 0.6061 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.5018, allocations: 23.77 kB / 0.6061 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.5021, allocations: 118.8 kB / 0.6062 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5021, allocations: 4 kB / 0.6062 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5021, allocations: 0 / 0.6062 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5021, allocations: 4 kB / 0.6062 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.5023, allocations: 221.6 kB / 0.6065 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5024, allocations: 8 kB / 0.6065 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.5024, allocations: 11.98 kB / 0.6065 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.5024, allocations: 3.953 kB / 0.6065 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.5024, allocations: 0 / 0.6065 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5025, allocations: 0 / 0.6065 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5025, allocations: 3.938 kB / 0.6065 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.5026, allocations: 191.2 kB / 0.6067 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.5027, allocations: 92.92 kB / 0.6067 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.5027, allocations: 3.953 kB / 0.6068 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5028, allocations: 7.984 kB / 0.6068 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.5029, allocations: 7.938 kB / 0.6068 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.5029, allocations: 7.984 kB / 0.6068 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.503, allocations: 175.1 kB / 0.6069 GB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.503, allocations: 8 kB / 0.6069 GB, free: 13.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.5034, allocations: 79.94 kB / 0.607 GB, free: 13.11 MB / 426.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.0003536/0.5038, allocations: 202 kB / 0.6072 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.5042, allocations: 144.1 kB / 0.6074 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5042, allocations: 0 / 0.6074 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.5043, allocations: 91.33 kB / 0.6074 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5046, allocations: 24.81 kB / 0.6075 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.505, allocations: 215.8 kB / 0.6077 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5053, allocations: 0.7324 MB / 0.6084 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.5054, allocations: 17.55 kB / 0.6084 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.5054, allocations: 15.44 kB / 0.6084 GB, free: 11.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5054, allocations: 0 / 0.6084 GB, free: 11.61 MB / 426.7 MB Notification: Performance of Templates: time 0.008191/0.5136, allocations: 4.369 MB / 0.6127 GB, free: 7.262 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches