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.00128/0.00128, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.00132/0.00132, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.334/1.334, allocations: 205.1 MB / 223.9 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.2165/0.2165, allocations: 43.52 MB / 314.8 MB, free: 472 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.001554/0.001554, allocations: 71.83 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1067, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003968/0.1107, allocations: 2.673 MB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1131, allocations: 1.473 MB / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.1134, allocations: 0 / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1137, allocations: 115.2 kB / 0.4927 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.1142, allocations: 134.8 kB / 0.4929 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.1148, allocations: 259.1 kB / 0.4931 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1152, allocations: 270.2 kB / 0.4934 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.909e-05/0.1153, allocations: 32.7 kB / 0.4934 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1154, allocations: 103.3 kB / 0.4935 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1156, allocations: 119.2 kB / 0.4936 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1156, allocations: 8 kB / 0.4936 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.1166, allocations: 0.589 MB / 0.4942 GB, free: 5.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.1167, allocations: 47.59 kB / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1168, allocations: 131 kB / 0.4944 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.1175, allocations: 0.5371 MB / 0.4949 GB, free: 5.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1175, allocations: 0 / 0.4949 GB, free: 5.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1175, allocations: 0 / 0.4949 GB, free: 5.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1175, allocations: 0 / 0.4949 GB, free: 5.262 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007959/0.1183, allocations: 0.6234 MB / 0.4955 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1184, allocations: 15.89 kB / 0.4955 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.1184, allocations: 36.47 kB / 0.4956 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1187, allocations: 259.3 kB / 0.4958 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1187, allocations: 33.31 kB / 0.4958 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.1188, allocations: 40.12 kB / 0.4959 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.1195, allocations: 0.5726 MB / 0.4964 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1195, allocations: 7.938 kB / 0.4964 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.1195, allocations: 20 kB / 0.4965 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1196, allocations: 12 kB / 0.4965 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.1201, allocations: 325.1 kB / 0.4968 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.1226, allocations: 4.047 MB / 0.5007 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.1228, allocations: 90.52 kB / 0.5008 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.123, allocations: 40.89 kB / 0.5009 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.123, allocations: 4 kB / 0.5009 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.123, allocations: 38.55 kB / 0.5009 GB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1231, allocations: 4 kB / 0.5009 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005326/0.1236, allocations: 161.4 kB / 0.5011 GB, free: 14.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1236, allocations: 55.41 kB / 0.5011 GB, free: 14.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.124, allocations: 401.8 kB / 0.5015 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1241, allocations: 29.7 kB / 0.5015 GB, free: 14.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1243, allocations: 251 kB / 0.5018 GB, free: 13.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1243, allocations: 31.64 kB / 0.5018 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.1244, allocations: 69.92 kB / 0.5019 GB, free: 13.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1246, allocations: 354.7 kB / 0.5022 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.1247, allocations: 56.56 kB / 0.5023 GB, free: 13.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.125, allocations: 274.4 kB / 0.5025 GB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.1256, allocations: 351.9 kB / 0.5028 GB, free: 12.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1256, allocations: 4 kB / 0.5029 GB, free: 12.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006673/0.1262, allocations: 353.2 kB / 0.5032 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1263, allocations: 8 kB / 0.5032 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.1263, allocations: 8 kB / 0.5032 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.1263, allocations: 12 kB / 0.5032 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004954/0.1268, allocations: 103.9 kB / 0.5033 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007695/0.1276, allocations: 1.231 MB / 0.5045 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.1279, allocations: 55.38 kB / 0.5046 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.128, allocations: 24 kB / 0.5046 GB, free: 10.59 MB / 398.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.0001633/0.1281, allocations: 157.4 kB / 0.5047 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1282, allocations: 39.47 kB / 0.5048 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.1287, allocations: 169 kB / 0.5049 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1287, allocations: 4 kB / 0.5049 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1287, allocations: 4 kB / 0.5049 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1287, allocations: 4 kB / 0.505 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.129, allocations: 269.5 kB / 0.5052 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.129, allocations: 3.938 kB / 0.5052 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.1293, allocations: 59.91 kB / 0.5053 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1293, allocations: 0 / 0.5053 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1294, allocations: 3.938 kB / 0.5053 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006329/0.13, allocations: 1.207 MB / 0.5065 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.13, allocations: 0 / 0.5065 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1304, allocations: 243 kB / 0.5067 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.181e-05/0.1305, allocations: 104.7 kB / 0.5068 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.1305, allocations: 8.031 kB / 0.5068 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1307, allocations: 4 kB / 0.5068 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.1308, allocations: 7.984 kB / 0.5068 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1308, allocations: 8 kB / 0.5068 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002696/0.1311, allocations: 271.1 kB / 0.5071 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1311, allocations: 0 / 0.5071 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.1316, allocations: 115.8 kB / 0.5072 GB, free: 7.781 MB / 398.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.0004411/0.1321, allocations: 183.1 kB / 0.5074 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006077/0.1327, allocations: 204.1 kB / 0.5075 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1327, allocations: 0 / 0.5075 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.133, allocations: 77.41 kB / 0.5076 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1334, allocations: 42.48 kB / 0.5077 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.1343, allocations: 0.5175 MB / 0.5082 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1346, allocations: 0.7717 MB / 0.5089 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.1347, allocations: 31.42 kB / 0.509 GB, free: 5.895 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1347, allocations: 0 / 0.509 GB, free: 5.895 MB / 398.1 MB Notification: Performance of Templates: time 0.009922/0.1446, allocations: 6.66 MB / 0.5155 GB, free: 15.23 MB / 414.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 -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