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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.6 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.001035/0.001035, allocations: 195 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.385/1.385, 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.2526/0.2526, allocations: 43.53 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.001474/0.001474, allocations: 62.88 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1173, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003026/0.1204, allocations: 2.109 MB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1219, allocations: 1.414 MB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.122, allocations: 4 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1223, allocations: 87.44 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1225, allocations: 67.38 kB / 445.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.1229, allocations: 207.1 kB / 445.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1231, allocations: 150.9 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.1231, allocations: 20.3 kB / 446 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1232, allocations: 55.67 kB / 446.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.1233, allocations: 63.58 kB / 446.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1233, allocations: 4 kB / 446.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.1238, allocations: 427.3 kB / 446.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.1239, allocations: 23.8 kB / 446.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.124, allocations: 71.48 kB / 446.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.1244, allocations: 442.4 kB / 447.1 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1244, allocations: 0 / 447.1 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1244, allocations: 0 / 447.1 MB, free: 1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1244, allocations: 4 kB / 447.1 MB, free: 0.9961 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000521/0.1249, allocations: 0.4908 MB / 447.6 MB, free: 468 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.125, allocations: 11.89 kB / 447.6 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.125, allocations: 24.66 kB / 447.6 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1252, allocations: 214 kB / 447.8 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1253, allocations: 12.38 kB / 447.9 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1253, allocations: 20.12 kB / 447.9 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1256, allocations: 207 kB / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1256, allocations: 0 / 448.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.1257, allocations: 12 kB / 448.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1257, allocations: 4 kB / 448.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.126, allocations: 152.2 kB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.1269, allocations: 0.5675 MB / 448.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1271, allocations: 62.55 kB / 448.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1272, allocations: 36.94 kB / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1272, allocations: 0 / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1272, allocations: 30.56 kB / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.1273, allocations: 0 / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004454/0.1277, allocations: 137.3 kB / 449.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.1278, allocations: 59.39 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.128, allocations: 258.6 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.128, allocations: 25.7 kB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.1281, allocations: 163.7 kB / 449.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1282, allocations: 27.64 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.1282, allocations: 33.72 kB / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1284, allocations: 334.8 kB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1285, allocations: 39.97 kB / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.1287, allocations: 134 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.129, allocations: 180.7 kB / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.129, allocations: 0 / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003634/0.1294, allocations: 201.5 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1294, allocations: 11.98 kB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.1294, allocations: 12 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1294, allocations: 8 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1296, allocations: 27.92 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1296, allocations: 4 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1297, allocations: 35.67 kB / 450.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1298, allocations: 12 kB / 450.6 MB, free: 13.18 MB / 334.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.1299, allocations: 137.6 kB / 450.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.1299, allocations: 23.66 kB / 450.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.1303, allocations: 134.9 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1303, allocations: 8.125 kB / 450.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1303, allocations: 4 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1303, allocations: 4 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.1306, allocations: 217.5 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/0.1307, allocations: 15.98 kB / 451.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/0.1307, allocations: 7.938 kB / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1307, allocations: 0 / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1308, allocations: 4 kB / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1308, allocations: 0 / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1308, allocations: 0 / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.131, allocations: 211.2 kB / 451.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.1311, allocations: 92.83 kB / 451.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1311, allocations: 3.984 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.1312, allocations: 4 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1313, allocations: 8.172 kB / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1313, allocations: 7.938 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1315, allocations: 178 kB / 451.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 0 / 451.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1319, allocations: 83.92 kB / 451.7 MB, free: 11.96 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003099/0.1322, allocations: 171 kB / 451.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.1326, allocations: 164.1 kB / 452 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1326, allocations: 4 kB / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1328, allocations: 103.4 kB / 452.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1332, allocations: 24.81 kB / 452.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/0.1338, allocations: 364.3 kB / 452.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1341, allocations: 0.7281 MB / 453.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.1342, allocations: 17.55 kB / 453.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.1342, allocations: 15.44 kB / 453.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1342, allocations: 0 / 453.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Templates: time 0.007645/0.1419, allocations: 4.146 MB / 457.4 MB, free: 6.188 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches