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.0009925/0.0009925, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.5 MB / 230.7 MB, free: 7.551 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.0008804/0.0008804, allocations: 104.8 kB / 281.6 MB, free: 5.312 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.1922/0.1922, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.551e-05/1.553e-05, allocations: 4.219 kB / 444.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 61.9 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5163, allocations: 94.86 MB / 0.5873 GB, free: 1.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5166, allocations: 95.62 kB / 0.5874 GB, free: 1.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02053/0.5371, allocations: 7.901 MB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5372, allocations: 4 kB / 0.5951 GB, free: 9.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.5372, allocations: 4 kB / 0.5951 GB, free: 9.594 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.0005645/0.5378, allocations: 453.9 kB / 0.5956 GB, free: 9.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5378, allocations: 12.03 kB / 0.5956 GB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.5379, allocations: 23.66 kB / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.5381, allocations: 206.8 kB / 0.5958 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.5381, allocations: 8 kB / 0.5958 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.5382, allocations: 15.89 kB / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000194/0.5384, allocations: 120.3 kB / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.5386, allocations: 158.8 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5386, allocations: 0 / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.5386, allocations: 0 / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.5386, allocations: 4 kB / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.5394, allocations: 0.5133 MB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.5396, allocations: 50.56 kB / 0.5966 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.5396, allocations: 16.92 kB / 0.5967 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.5397, allocations: 7.953 kB / 0.5967 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.5397, allocations: 34.5 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.5397, allocations: 0 / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002089/0.5399, allocations: 77.55 kB / 0.5968 GB, free: 7.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.54, allocations: 55.41 kB / 0.5968 GB, free: 7.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5401, allocations: 165.8 kB / 0.597 GB, free: 7.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5401, allocations: 25.7 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.5402, allocations: 171.5 kB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.5403, allocations: 19.8 kB / 0.5972 GB, free: 7.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5403, allocations: 0 / 0.5972 GB, free: 7.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5404, allocations: 322.8 kB / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.5404, allocations: 20 kB / 0.5975 GB, free: 6.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.5405, allocations: 115.4 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.626e-05/0.5406, allocations: 39.98 kB / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5406, allocations: 0 / 0.5977 GB, free: 6.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002307/0.5409, allocations: 157.2 kB / 0.5978 GB, free: 6.602 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5409, allocations: 8 kB / 0.5978 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.5409, allocations: 15.97 kB / 0.5978 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.541, allocations: 8 kB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.5411, allocations: 36.36 kB / 0.5979 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5411, allocations: 7.938 kB / 0.5979 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.5412, allocations: 23.83 kB / 0.5979 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.5413, allocations: 11.94 kB / 0.5979 GB, free: 6.492 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 (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 7.633e-05/0.5413, allocations: 112.9 kB / 0.598 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.5414, allocations: 11.86 kB / 0.598 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.5416, allocations: 119 kB / 0.5982 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5416, allocations: 4 kB / 0.5982 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5416, allocations: 0 / 0.5982 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5417, allocations: 0 / 0.5982 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.5419, allocations: 190.2 kB / 0.5983 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.5419, allocations: 15.98 kB / 0.5984 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.5419, allocations: 4 kB / 0.5984 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5419, allocations: 4 kB / 0.5984 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.542, allocations: 3.984 kB / 0.5984 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.542, allocations: 3.953 kB / 0.5984 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.542, allocations: 0 / 0.5984 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.5422, allocations: 175.3 kB / 0.5985 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.5422, allocations: 89.2 kB / 0.5986 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.5422, allocations: 4 kB / 0.5986 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.5423, allocations: 15.97 kB / 0.5986 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.5424, allocations: 7.953 kB / 0.5987 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.5424, allocations: 0 / 0.5987 GB, free: 5.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.347e-05/0.5425, allocations: 132 kB / 0.5988 GB, free: 5.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5425, allocations: 0 / 0.5988 GB, free: 5.531 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.5429, allocations: 87.69 kB / 0.5989 GB, free: 5.445 MB / 410.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.0003589/0.5433, allocations: 208.5 kB / 0.5991 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.5436, allocations: 132.1 kB / 0.5992 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5436, allocations: 0 / 0.5992 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.5438, allocations: 95.27 kB / 0.5993 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.544, allocations: 11.98 kB / 0.5993 GB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.5444, allocations: 201.2 kB / 0.5995 GB, free: 4.758 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.5447, allocations: 0.7357 MB / 0.6002 GB, free: 3.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5e-05/0.5448, allocations: 8.891 kB / 0.6002 GB, free: 3.984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.5448, allocations: 11.44 kB / 0.6002 GB, free: 3.973 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5448, allocations: 0 / 0.6002 GB, free: 3.973 MB / 410.7 MB Notification: Performance of Templates: time 0.006375/0.5512, allocations: 3.222 MB / 0.6034 GB, free: 0.7734 MB / 410.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