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.001697/0.001697, allocations: 120 kB / 17.09 MB, free: 5.988 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.001865/0.001865, allocations: 198.4 kB / 18.01 MB, free: 5.066 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.353/1.353, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2056/0.2056, allocations: 43.51 MB / 314.8 MB, free: 456 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.001539/0.001539, allocations: 63.89 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09678, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003305/0.1001, allocations: 2.197 MB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1018, allocations: 1.099 MB / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.102, allocations: 0 / 0.4918 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.1023, allocations: 91.38 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.1027, allocations: 87.33 kB / 0.492 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.103, allocations: 111.6 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1032, allocations: 186.8 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.1033, allocations: 28.31 kB / 0.4923 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1035, allocations: 71.53 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1036, allocations: 87.48 kB / 0.4924 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1036, allocations: 12 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004163/0.1041, allocations: 251.7 kB / 0.4927 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1041, allocations: 35.77 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.1042, allocations: 87.34 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.1046, allocations: 322.7 kB / 0.4931 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1047, allocations: 0 / 0.4931 GB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1047, allocations: 0 / 0.4931 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1047, allocations: 0 / 0.4931 GB, free: 7.086 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.0006074/0.1053, allocations: 0.4946 MB / 0.4936 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1053, allocations: 15.89 kB / 0.4936 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.1054, allocations: 24.66 kB / 0.4936 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1056, allocations: 223.7 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1056, allocations: 12.81 kB / 0.4938 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1057, allocations: 28.06 kB / 0.4939 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.1061, allocations: 227.2 kB / 0.4941 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1061, allocations: 0 / 0.4941 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1061, allocations: 12 kB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1061, allocations: 4 kB / 0.4941 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.1065, allocations: 249.6 kB / 0.4943 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.1075, allocations: 0.6195 MB / 0.4949 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.1078, allocations: 106.6 kB / 0.495 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1079, allocations: 36.84 kB / 0.4951 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1079, allocations: 11.98 kB / 0.4951 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.108, allocations: 30.56 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.108, allocations: 0 / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005128/0.1085, allocations: 165.3 kB / 0.4953 GB, free: 4.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1085, allocations: 55.41 kB / 0.4953 GB, free: 4.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1088, allocations: 263 kB / 0.4956 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1088, allocations: 29.7 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1089, allocations: 175.1 kB / 0.4958 GB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1089, allocations: 31.55 kB / 0.4958 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.109, allocations: 49.61 kB / 0.4959 GB, free: 4.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1092, allocations: 338.8 kB / 0.4962 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1093, allocations: 51.91 kB / 0.4962 GB, free: 3.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1095, allocations: 148.8 kB / 0.4964 GB, free: 3.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.1099, allocations: 204.7 kB / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1099, allocations: 4 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004687/0.1104, allocations: 233 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1104, allocations: 12.42 kB / 0.4968 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1104, allocations: 8 kB / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1104, allocations: 4 kB / 0.4968 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.1108, allocations: 83.91 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006615/0.1115, allocations: 1.215 MB / 0.4981 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1117, allocations: 43.64 kB / 0.4981 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.1118, allocations: 16 kB / 0.4981 GB, free: 1.562 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.000117/0.1119, allocations: 137.6 kB / 0.4983 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1119, allocations: 23.7 kB / 0.4983 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.1124, allocations: 167.6 kB / 0.4985 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1124, allocations: 0 / 0.4985 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1124, allocations: 4 kB / 0.4985 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1124, allocations: 0 / 0.4985 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.113, allocations: 456.1 kB / 0.4989 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.113, allocations: 3.938 kB / 0.4989 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.1133, allocations: 63.97 kB / 0.499 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1133, allocations: 3.984 kB / 0.499 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1133, allocations: 4 kB / 0.499 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006239/0.114, allocations: 1.207 MB / 0.5001 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.114, allocations: 7.969 kB / 0.5002 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.1143, allocations: 252.9 kB / 0.5004 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.1144, allocations: 100.8 kB / 0.5005 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1145, allocations: 4 kB / 0.5005 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1146, allocations: 7.984 kB / 0.5005 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1147, allocations: 7.984 kB / 0.5005 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1147, allocations: 4 kB / 0.5005 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1149, allocations: 190 kB / 0.5007 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1149, allocations: 0 / 0.5007 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.1153, allocations: 64 kB / 0.5008 GB, free: 14.72 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.0002614/0.1155, allocations: 143.1 kB / 0.5009 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.1161, allocations: 179.7 kB / 0.5011 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1161, allocations: 0 / 0.5011 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.1164, allocations: 76.95 kB / 0.5011 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1168, allocations: 36.81 kB / 0.5012 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.1176, allocations: 427.6 kB / 0.5016 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.1178, allocations: 0.7284 MB / 0.5023 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.1179, allocations: 31.42 kB / 0.5023 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1179, allocations: 3.938 kB / 0.5023 GB, free: 13.04 MB / 398.1 MB Notification: Performance of Templates: time 0.006141/0.1241, allocations: 4.343 MB / 0.5066 GB, free: 8.691 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/jenkins1/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/jenkins1/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