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.001246/0.001246, allocations: 105.2 kB / 16.4 MB, free: 6.508 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.001225/0.001225, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.526/1.526, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2347/0.2347, allocations: 43.51 MB / 314.1 MB, free: 460 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.001439/0.001439, allocations: 63.89 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1482, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004871/0.1531, allocations: 2.188 MB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.155, allocations: 1.095 MB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1551, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.1556, allocations: 87.38 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.156, allocations: 95.31 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1563, allocations: 111.6 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1565, allocations: 190.8 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.1566, allocations: 24.31 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1568, allocations: 71.47 kB / 0.4917 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.157, allocations: 91.48 kB / 0.4918 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.157, allocations: 8 kB / 0.4918 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.1574, allocations: 259.7 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/0.1575, allocations: 31.77 kB / 0.4921 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.1577, allocations: 83.36 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.1582, allocations: 318.7 kB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1582, allocations: 0 / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1582, allocations: 0 / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1582, allocations: 0 / 0.4924 GB, free: 7.102 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.0008259/0.159, allocations: 0.4946 MB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1591, allocations: 19.89 kB / 0.4929 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.1592, allocations: 28.64 kB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1594, allocations: 219.7 kB / 0.4932 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1595, allocations: 20.81 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1595, allocations: 24.12 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.16, allocations: 227.2 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.16, allocations: 3.938 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.16, allocations: 4 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.16, allocations: 8 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.1605, allocations: 249.6 kB / 0.4937 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1616, allocations: 0.6156 MB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1619, allocations: 102.4 kB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1621, allocations: 48.98 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1621, allocations: 0 / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1621, allocations: 34.56 kB / 0.4945 GB, free: 4.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.1621, allocations: 0 / 0.4945 GB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005084/0.1627, allocations: 165.3 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1627, allocations: 59.41 kB / 0.4947 GB, free: 4.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.163, allocations: 259 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.163, allocations: 29.7 kB / 0.495 GB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1631, allocations: 179 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1632, allocations: 35.48 kB / 0.4952 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.1633, allocations: 49.61 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1634, allocations: 338.8 kB / 0.4955 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1636, allocations: 51.97 kB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1638, allocations: 140.8 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1642, allocations: 208.6 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1642, allocations: 8 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004893/0.1647, allocations: 237 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1647, allocations: 4.438 kB / 0.4962 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1648, allocations: 11.94 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.1648, allocations: 7.984 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.1652, allocations: 91.89 kB / 0.4963 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1665, allocations: 1.207 MB / 0.4974 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1667, allocations: 43.77 kB / 0.4975 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1667, allocations: 12 kB / 0.4975 GB, free: 1.566 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.0001351/0.1668, allocations: 145.6 kB / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.1669, allocations: 23.72 kB / 0.4977 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.1673, allocations: 171.6 kB / 0.4978 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1673, allocations: 0 / 0.4978 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1673, allocations: 0 / 0.4978 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1674, allocations: 0 / 0.4978 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.168, allocations: 460.1 kB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.168, allocations: 3.938 kB / 0.4983 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1683, allocations: 55.97 kB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1683, allocations: 0 / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1683, allocations: 8 kB / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007915/0.1691, allocations: 1.211 MB / 0.4995 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1691, allocations: 0 / 0.4995 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.1696, allocations: 244.9 kB / 0.4997 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.1697, allocations: 112.7 kB / 0.4998 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1697, allocations: 0 / 0.4998 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1699, allocations: 11.98 kB / 0.4999 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.1699, allocations: 8 kB / 0.4999 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.17, allocations: 4 kB / 0.4999 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1701, allocations: 186 kB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1701, allocations: 3.938 kB / 0.5 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1705, allocations: 67.98 kB / 0.5001 GB, free: 14.71 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.0002574/0.1708, allocations: 139.2 kB / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.1713, allocations: 179.6 kB / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1713, allocations: 0 / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.1716, allocations: 84.89 kB / 0.5005 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.172, allocations: 28.88 kB / 0.5005 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.1728, allocations: 390.9 kB / 0.5009 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.1732, allocations: 0.7323 MB / 0.5016 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.1733, allocations: 21.95 kB / 0.5016 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.1733, allocations: 19.42 kB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 1.903e-06/0.1734, allocations: 0 / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of Templates: time 0.00687/0.1802, allocations: 3.538 MB / 0.5051 GB, free: 9.535 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