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.001599/0.001599, allocations: 117.6 kB / 17.08 MB, free: 5.965 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.001532/0.001532, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.479/1.479, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2199/0.2199, allocations: 43.53 MB / 314.8 MB, free: 452 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.001575/0.001576, allocations: 65.47 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, 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.003527/0.1093, allocations: 2.185 MB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1112, allocations: 1.095 MB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1114, allocations: 4 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.1118, allocations: 87.38 kB / 0.4919 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.1122, allocations: 91.33 kB / 0.492 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1126, allocations: 115.6 kB / 0.4921 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1128, allocations: 182.8 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.1129, allocations: 28.25 kB / 0.4923 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.1131, allocations: 71.53 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1132, allocations: 87.48 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1133, allocations: 8 kB / 0.4924 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.1137, allocations: 259.7 kB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1138, allocations: 31.77 kB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.1139, allocations: 87.36 kB / 0.4928 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.1144, allocations: 326.7 kB / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1144, allocations: 0 / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1144, allocations: 0 / 0.4931 GB, free: 7.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1144, allocations: 0 / 0.4931 GB, free: 7.098 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.000689/0.1151, allocations: 0.4912 MB / 0.4936 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1152, allocations: 15.89 kB / 0.4936 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.1152, allocations: 24.66 kB / 0.4936 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1155, allocations: 223.7 kB / 0.4938 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1155, allocations: 16.81 kB / 0.4938 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1156, allocations: 24.12 kB / 0.4939 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.116, allocations: 231.2 kB / 0.4941 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.116, allocations: 0 / 0.4941 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1161, allocations: 8 kB / 0.4941 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1161, allocations: 4 kB / 0.4941 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.1165, allocations: 249.6 kB / 0.4943 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009802/0.1175, allocations: 0.6156 MB / 0.4949 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1178, allocations: 110.5 kB / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.118, allocations: 40.91 kB / 0.4951 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.118, allocations: 4 kB / 0.4951 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.118, allocations: 34.55 kB / 0.4951 GB, free: 4.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.118, allocations: 0 / 0.4951 GB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005382/0.1186, allocations: 165.3 kB / 0.4953 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1186, allocations: 55.41 kB / 0.4953 GB, free: 4.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1189, allocations: 263 kB / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1189, allocations: 29.7 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.119, allocations: 175.1 kB / 0.4958 GB, free: 4.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.1191, allocations: 35.55 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.1192, allocations: 49.55 kB / 0.4959 GB, free: 4.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1193, allocations: 342.8 kB / 0.4962 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1195, allocations: 47.97 kB / 0.4962 GB, free: 3.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1197, allocations: 144.8 kB / 0.4964 GB, free: 3.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.1201, allocations: 204.7 kB / 0.4966 GB, free: 3.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1201, allocations: 4 kB / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005302/0.1206, allocations: 237 kB / 0.4968 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1206, allocations: 8.438 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1207, allocations: 8 kB / 0.4968 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1207, allocations: 11.92 kB / 0.4968 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.1211, allocations: 79.97 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000716/0.1218, allocations: 1.215 MB / 0.4981 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.122, allocations: 43.77 kB / 0.4981 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1221, allocations: 8 kB / 0.4981 GB, free: 1.578 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.0001316/0.1222, allocations: 145.6 kB / 0.4983 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.1222, allocations: 19.72 kB / 0.4983 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.1227, allocations: 171.6 kB / 0.4985 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1227, allocations: 0 / 0.4985 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1227, allocations: 4 kB / 0.4985 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1227, allocations: 0 / 0.4985 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.1234, allocations: 460 kB / 0.4989 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.1234, allocations: 96 / 0.4989 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.1236, allocations: 59.91 kB / 0.499 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1237, allocations: 4 kB / 0.499 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1237, allocations: 7.984 kB / 0.499 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006722/0.1244, allocations: 1.211 MB / 0.5001 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1244, allocations: 0 / 0.5001 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.1248, allocations: 256.8 kB / 0.5004 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.1249, allocations: 100.9 kB / 0.5005 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.1249, allocations: 4 kB / 0.5005 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1251, allocations: 11.98 kB / 0.5005 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1251, allocations: 7.984 kB / 0.5005 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1251, allocations: 4 kB / 0.5005 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1253, allocations: 186 kB / 0.5007 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.363e-06/0.1253, allocations: 0 / 0.5007 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1257, allocations: 67.94 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.0002733/0.126, allocations: 143.1 kB / 0.5009 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005629/0.1265, allocations: 175.7 kB / 0.5011 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1266, allocations: 0 / 0.5011 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.1269, allocations: 84.89 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.0003828/0.1272, allocations: 32.88 kB / 0.5012 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.128, allocations: 416.5 kB / 0.5016 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1283, allocations: 0.7285 MB / 0.5023 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.1284, allocations: 27.36 kB / 0.5023 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.134e-06/0.1284, allocations: 0 / 0.5023 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Templates: time 0.006589/0.135, allocations: 4.384 MB / 0.5066 GB, free: 8.676 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