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_flatTube_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_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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.001215, allocations: 109.6 kB / 16.41 MB, free: 6.488 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.001301/0.001301, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.421/1.421, allocations: 205.1 MB / 223.2 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.1981/0.1981, allocations: 43.52 MB / 314.1 MB, free: 468 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.001348/0.001348, allocations: 67.91 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002963/0.1138, allocations: 2.184 MB / 0.4901 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1152, allocations: 1.095 MB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.1152, allocations: 0 / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1155, allocations: 91.38 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1158, allocations: 87.33 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1161, allocations: 115.5 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.1163, allocations: 182.8 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.1164, allocations: 32.25 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1165, allocations: 67.59 kB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1166, allocations: 91.48 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1167, allocations: 8 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.1171, allocations: 255.6 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.1171, allocations: 35.83 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.1172, allocations: 79.36 kB / 0.4921 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1176, allocations: 326.7 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1176, allocations: 4 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1176, allocations: 0 / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1176, allocations: 0 / 0.4924 GB, free: 7.117 MB / 382.1 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.0005425/0.1181, allocations: 0.4946 MB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1182, allocations: 11.89 kB / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.1182, allocations: 24.66 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1184, allocations: 223.7 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1184, allocations: 16.81 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1185, allocations: 24.12 kB / 0.4932 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.1189, allocations: 231.2 kB / 0.4934 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1189, allocations: 0 / 0.4934 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1189, allocations: 12 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1189, allocations: 8 kB / 0.4934 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.1193, allocations: 249.6 kB / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.1202, allocations: 0.6195 MB / 0.4943 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1205, allocations: 102.7 kB / 0.4944 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1206, allocations: 44.78 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1206, allocations: 0 / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1207, allocations: 34.55 kB / 0.4945 GB, free: 4.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1207, allocations: 3.938 kB / 0.4945 GB, free: 4.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004741/0.1211, allocations: 165.3 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.1212, allocations: 55.34 kB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1214, allocations: 267 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1214, allocations: 25.7 kB / 0.495 GB, free: 4.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1216, allocations: 175.1 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1216, allocations: 35.55 kB / 0.4952 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.1217, allocations: 49.61 kB / 0.4952 GB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1218, allocations: 334.8 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1219, allocations: 51.97 kB / 0.4956 GB, free: 3.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.1221, allocations: 144.8 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.1225, allocations: 216.5 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1225, allocations: 0 / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004224/0.1229, allocations: 245.4 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1229, allocations: 8 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1229, allocations: 4 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.123, allocations: 7.984 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.1233, allocations: 79.91 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.1242, allocations: 1.219 MB / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1244, allocations: 35.58 kB / 0.4975 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.1244, allocations: 16 kB / 0.4975 GB, free: 1.586 MB / 382.1 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 () * Number of clocked 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 (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.0001468/0.1246, allocations: 141.6 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.1246, allocations: 23.72 kB / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.1251, allocations: 171.7 kB / 0.4978 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1251, allocations: 4 kB / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1251, allocations: 0 / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1251, allocations: 0 / 0.4978 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.1257, allocations: 452 kB / 0.4982 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1257, allocations: 4 kB / 0.4982 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.126, allocations: 55.97 kB / 0.4983 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.126, allocations: 96 / 0.4983 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.126, allocations: 7.938 kB / 0.4983 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000632/0.1266, allocations: 1.215 MB / 0.4995 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1267, allocations: 0 / 0.4995 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.127, allocations: 252.9 kB / 0.4997 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.1271, allocations: 100.8 kB / 0.4998 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.1271, allocations: 8 kB / 0.4998 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1273, allocations: 7.984 kB / 0.4998 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1273, allocations: 15.92 kB / 0.4999 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.1273, allocations: 4 kB / 0.4999 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1275, allocations: 190 kB / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1275, allocations: 0 / 0.5 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.1278, allocations: 64 kB / 0.5001 GB, free: 14.73 MB / 398.1 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 () * Number of clocked 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 (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.0002385/0.1281, allocations: 143.1 kB / 0.5002 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.1286, allocations: 171.7 kB / 0.5004 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1286, allocations: 0 / 0.5004 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.1289, allocations: 88.83 kB / 0.5005 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1292, allocations: 24.94 kB / 0.5005 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006586/0.1299, allocations: 397.5 kB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1302, allocations: 0.7324 MB / 0.5016 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.1302, allocations: 21.97 kB / 0.5016 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.1303, allocations: 19.44 kB / 0.5016 GB, free: 13.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1303, allocations: 3.938 kB / 0.5017 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Templates: time 0.006491/0.1368, allocations: 3.528 MB / 0.5051 GB, free: 9.559 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches