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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 110.5 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 196 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2102/0.2102, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 61.77 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1003, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003078/0.1035, allocations: 2.668 MB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1051, allocations: 1.469 MB / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1052, allocations: 0 / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1055, allocations: 119.2 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1058, allocations: 142.8 kB / 446.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.1063, allocations: 251.1 kB / 446.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1065, allocations: 278.1 kB / 446.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.1066, allocations: 24.73 kB / 446.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.1066, allocations: 99.33 kB / 447 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1068, allocations: 131.2 kB / 447.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1068, allocations: 8 kB / 447.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000672/0.1075, allocations: 0.585 MB / 447.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.1076, allocations: 43.66 kB / 447.8 MB, free: 320 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.1077, allocations: 139 kB / 447.9 MB, free: 180 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.1083, allocations: 0.5371 MB / 448.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1083, allocations: 0 / 448.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1083, allocations: 0 / 448.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1083, allocations: 4 kB / 448.5 MB, free: 15.63 MB / 334.1 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.0007572/0.1091, allocations: 0.62 MB / 449.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1092, allocations: 11.89 kB / 449.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1092, allocations: 40.47 kB / 449.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1095, allocations: 247.4 kB / 449.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1095, allocations: 29.38 kB / 449.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.1096, allocations: 40.12 kB / 449.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.1102, allocations: 0.5763 MB / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1103, allocations: 15.94 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.1103, allocations: 16 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1103, allocations: 12 kB / 450.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.1108, allocations: 333 kB / 450.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.1133, allocations: 4.047 MB / 454.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1136, allocations: 90.53 kB / 454.5 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.1137, allocations: 36.95 kB / 454.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.1138, allocations: 0 / 454.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1138, allocations: 38.55 kB / 454.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1138, allocations: 0 / 454.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000512/0.1143, allocations: 173.1 kB / 454.8 MB, free: 8.879 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.1144, allocations: 55.41 kB / 454.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.1149, allocations: 409.7 kB / 455.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1149, allocations: 29.7 kB / 455.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1151, allocations: 247 kB / 455.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1151, allocations: 31.64 kB / 455.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1152, allocations: 69.92 kB / 455.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.1155, allocations: 350.7 kB / 455.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1156, allocations: 56.62 kB / 456 MB, free: 7.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1159, allocations: 266.3 kB / 456.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.1164, allocations: 356.2 kB / 456.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1164, allocations: 0 / 456.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005844/0.117, allocations: 357.3 kB / 456.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.117, allocations: 8 kB / 456.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.117, allocations: 8 kB / 457 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1171, allocations: 12.06 kB / 457 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.1175, allocations: 111.8 kB / 457.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006741/0.1182, allocations: 1.219 MB / 458.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1185, allocations: 67.5 kB / 458.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1185, allocations: 20 kB / 458.4 MB, free: 4.957 MB / 334.1 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.0001333/0.1187, allocations: 153.6 kB / 458.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.1187, allocations: 39.47 kB / 458.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.1192, allocations: 176.9 kB / 458.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1192, allocations: 0 / 458.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1192, allocations: 0 / 458.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1192, allocations: 0 / 458.7 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.1195, allocations: 273.5 kB / 459 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1195, allocations: 3.938 kB / 459 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.1198, allocations: 51.97 kB / 459.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1198, allocations: 4 kB / 459.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1198, allocations: 4 kB / 459.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006284/0.1204, allocations: 1.207 MB / 460.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1205, allocations: 192 / 460.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1208, allocations: 235 kB / 460.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.1209, allocations: 112.7 kB / 460.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.121, allocations: 3.938 kB / 460.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1211, allocations: 7.938 kB / 460.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1212, allocations: 7.984 kB / 460.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1212, allocations: 7.938 kB / 460.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.1215, allocations: 279.1 kB / 460.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1215, allocations: 4 kB / 460.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005164/0.122, allocations: 115.8 kB / 461 MB, free: 2.148 MB / 334.1 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.000366/0.1224, allocations: 169.2 kB / 461.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.123, allocations: 209.6 kB / 461.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.123, allocations: 4 kB / 461.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.1232, allocations: 67.97 kB / 461.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1237, allocations: 37.95 kB / 461.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.1245, allocations: 0.4942 MB / 462 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1249, allocations: 0.7678 MB / 462.8 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.125, allocations: 38.94 kB / 462.8 MB, free: 320 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1251, allocations: 31.38 kB / 462.8 MB, free: 288 kB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1251, allocations: 0 / 462.8 MB, free: 288 kB / 334.1 MB Notification: Performance of Templates: time 0.0105/0.1356, allocations: 6.154 MB / 469 MB, free: 10.17 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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