Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009133, allocations: 102.3 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3004/0.3004, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009647/0.0009648, allocations: 51.92 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.107, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003766/0.1108, allocations: 2.708 MB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.1132, allocations: 1.567 MB / 491.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.1135, allocations: 4 kB / 491.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.1139, allocations: 107.4 kB / 491.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1144, allocations: 115 kB / 491.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.1149, allocations: 207.3 kB / 491.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.1153, allocations: 274.2 kB / 492 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.1154, allocations: 32.7 kB / 492 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1155, allocations: 103.3 kB / 492.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.1157, allocations: 119.2 kB / 492.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.1157, allocations: 4 kB / 492.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009205/0.1167, allocations: 0.5851 MB / 492.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.1168, allocations: 51.58 kB / 492.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1169, allocations: 131 kB / 493 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.1176, allocations: 0.5254 MB / 493.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1176, allocations: 0 / 493.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1176, allocations: 0 / 493.5 MB, free: 5.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1176, allocations: 0 / 493.5 MB, free: 5.977 MB / 378.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.0008217/0.1184, allocations: 0.6239 MB / 494.2 MB, free: 5.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1185, allocations: 15.97 kB / 494.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.1186, allocations: 44.47 kB / 494.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1188, allocations: 251.4 kB / 494.5 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1188, allocations: 33.31 kB / 494.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1189, allocations: 36.12 kB / 494.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1195, allocations: 0.5724 MB / 495.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1196, allocations: 7.938 kB / 495.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.1196, allocations: 20 kB / 495.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.1196, allocations: 19.97 kB / 495.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.1201, allocations: 325.1 kB / 495.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1224, allocations: 4.047 MB / 499.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1226, allocations: 86.53 kB / 499.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1228, allocations: 40.91 kB / 499.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.1228, allocations: 4 kB / 499.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1229, allocations: 38.56 kB / 499.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.1229, allocations: 0 / 499.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004934/0.1234, allocations: 169.4 kB / 499.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1234, allocations: 59.41 kB / 499.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.1238, allocations: 405.7 kB / 0.4886 GB, free: 14.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1238, allocations: 33.7 kB / 0.4886 GB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.124, allocations: 247 kB / 0.4888 GB, free: 14.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.124, allocations: 31.64 kB / 0.4889 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.1241, allocations: 69.88 kB / 0.4889 GB, free: 14.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1242, allocations: 350.7 kB / 0.4893 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1244, allocations: 60.55 kB / 0.4893 GB, free: 13.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.1246, allocations: 266.4 kB / 0.4896 GB, free: 13.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.1251, allocations: 355.9 kB / 0.4899 GB, free: 13.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1251, allocations: 4 kB / 0.4899 GB, free: 13.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000627/0.1258, allocations: 348.5 kB / 0.4903 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1258, allocations: 8.938 kB / 0.4903 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1258, allocations: 4 kB / 0.4903 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1258, allocations: 12 kB / 0.4903 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.1263, allocations: 111.9 kB / 0.4904 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006822/0.127, allocations: 1.215 MB / 0.4916 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.1273, allocations: 63.27 kB / 0.4916 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.1273, allocations: 28.19 kB / 0.4917 GB, free: 11.29 MB / 394.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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.1275, allocations: 150.2 kB / 0.4918 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.1276, allocations: 39.47 kB / 0.4919 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.128, allocations: 176.9 kB / 0.492 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.128, allocations: 0 / 0.492 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.128, allocations: 0 / 0.492 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.128, allocations: 0 / 0.492 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1283, allocations: 273.5 kB / 0.4923 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1283, allocations: 3.938 kB / 0.4923 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1286, allocations: 59.86 kB / 0.4923 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1286, allocations: 7.984 kB / 0.4924 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1286, allocations: 4 kB / 0.4924 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000603/0.1293, allocations: 1.207 MB / 0.4935 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1293, allocations: 0 / 0.4935 GB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.13, allocations: 0.8795 MB / 0.4944 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1301, allocations: 108.6 kB / 0.4945 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.1302, allocations: 0 / 0.4945 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1303, allocations: 11.98 kB / 0.4945 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1304, allocations: 11.98 kB / 0.4945 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1304, allocations: 7.984 kB / 0.4945 GB, free: 8.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.1307, allocations: 271.2 kB / 0.4948 GB, free: 7.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1307, allocations: 0 / 0.4948 GB, free: 7.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.1313, allocations: 108 kB / 0.4949 GB, free: 7.812 MB / 394.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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003926/0.1317, allocations: 175 kB / 0.4951 GB, free: 7.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.1322, allocations: 212.9 kB / 0.4953 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1323, allocations: 0 / 0.4953 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.1325, allocations: 79.89 kB / 0.4953 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.133, allocations: 50.36 kB / 0.4954 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.1339, allocations: 0.6986 MB / 0.4961 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1343, allocations: 0.7793 MB / 0.4968 GB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1344, allocations: 46.89 kB / 0.4969 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1345, allocations: 19.44 kB / 0.4969 GB, free: 5.695 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1345, allocations: 4 kB / 0.4969 GB, free: 5.691 MB / 394.7 MB Notification: Performance of Templates: time 0.1745/0.309, allocations: 6.034 MB / 0.5028 GB, free: 60.9 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches