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.001625/0.001625, allocations: 107.7 kB / 16.41 MB, free: 6.516 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.00197/0.001971, 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.628/1.628, allocations: 205.1 MB / 223.2 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.2121/0.2121, allocations: 43.53 MB / 314.1 MB, free: 440 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.001466/0.001466, allocations: 63.91 kB / 441.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 57.79 MB / 499.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.005043/0.1339, allocations: 2.671 MB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.1371, allocations: 1.469 MB / 0.492 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.1374, allocations: 0 / 0.492 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.1379, allocations: 119.2 kB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007082/0.1387, allocations: 134.8 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.1395, allocations: 255.1 kB / 0.4925 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.14, allocations: 278.1 kB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.488e-05/0.1401, allocations: 28.72 kB / 0.4928 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1402, allocations: 103.3 kB / 0.4929 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1404, allocations: 115.2 kB / 0.493 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1405, allocations: 8 kB / 0.493 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1415, allocations: 0.5928 MB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.1416, allocations: 43.66 kB / 0.4936 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1418, allocations: 127 kB / 0.4937 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007788/0.1426, allocations: 0.5484 MB / 0.4942 GB, free: 5.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1426, allocations: 0 / 0.4942 GB, free: 5.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1426, allocations: 0 / 0.4942 GB, free: 5.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1426, allocations: 0 / 0.4942 GB, free: 5.227 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.001069/0.1437, allocations: 0.635 MB / 0.4949 GB, free: 4.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1437, allocations: 15.89 kB / 0.4949 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.1438, allocations: 40.66 kB / 0.4949 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1441, allocations: 255.4 kB / 0.4952 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.1441, allocations: 29.38 kB / 0.4952 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.1442, allocations: 40.12 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.145, allocations: 0.5726 MB / 0.4958 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.145, allocations: 7.938 kB / 0.4958 GB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1451, allocations: 20 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1451, allocations: 12 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.1456, allocations: 333 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.1486, allocations: 4.047 MB / 0.5001 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.1489, allocations: 90.47 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.149, allocations: 40.95 kB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.149, allocations: 3.984 kB / 0.5002 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1491, allocations: 34.56 kB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1491, allocations: 4 kB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005062/0.1496, allocations: 161.6 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1496, allocations: 51.41 kB / 0.5005 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.1501, allocations: 417.7 kB / 0.5009 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1501, allocations: 25.7 kB / 0.5009 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1503, allocations: 259.5 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1503, allocations: 27.78 kB / 0.5012 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.1504, allocations: 77.92 kB / 0.5012 GB, free: 13.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1506, allocations: 354.7 kB / 0.5016 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1507, allocations: 60.61 kB / 0.5016 GB, free: 13.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.151, allocations: 270.3 kB / 0.5019 GB, free: 12.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.1515, allocations: 351.9 kB / 0.5022 GB, free: 12.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1515, allocations: 0 / 0.5022 GB, free: 12.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005828/0.1521, allocations: 357.5 kB / 0.5026 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1521, allocations: 8 kB / 0.5026 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1521, allocations: 8 kB / 0.5026 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.1521, allocations: 12 kB / 0.5026 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.1526, allocations: 103.8 kB / 0.5027 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008326/0.1535, allocations: 1.223 MB / 0.5039 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.1538, allocations: 59.52 kB / 0.5039 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.1538, allocations: 24 kB / 0.504 GB, free: 10.52 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.0002345/0.1541, allocations: 157.5 kB / 0.5041 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.1541, allocations: 43.66 kB / 0.5042 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.1546, allocations: 165 kB / 0.5043 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1546, allocations: 0 / 0.5043 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1546, allocations: 4 kB / 0.5043 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1546, allocations: 4 kB / 0.5043 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.1549, allocations: 281.5 kB / 0.5046 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1549, allocations: 3.938 kB / 0.5046 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.1552, allocations: 51.97 kB / 0.5046 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1552, allocations: 4 kB / 0.5047 GB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1552, allocations: 7.938 kB / 0.5047 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000581/0.1558, allocations: 1.203 MB / 0.5058 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1558, allocations: 0 / 0.5058 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.1563, allocations: 235.2 kB / 0.5061 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1564, allocations: 116.8 kB / 0.5062 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1565, allocations: 3.938 kB / 0.5062 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.1566, allocations: 16.08 kB / 0.5062 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1567, allocations: 4 kB / 0.5062 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1567, allocations: 4 kB / 0.5062 GB, free: 8.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.157, allocations: 275.1 kB / 0.5065 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1571, allocations: 0 / 0.5065 GB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.1576, allocations: 107.9 kB / 0.5066 GB, free: 7.711 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.0003661/0.1579, allocations: 183 kB / 0.5067 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1585, allocations: 204.3 kB / 0.5069 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1585, allocations: 0 / 0.5069 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.1588, allocations: 81.27 kB / 0.507 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1592, allocations: 38.5 kB / 0.507 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.1601, allocations: 0.5008 MB / 0.5075 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1605, allocations: 0.7756 MB / 0.5083 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1606, allocations: 38.89 kB / 0.5083 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.1606, allocations: 23.44 kB / 0.5084 GB, free: 5.812 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1606, allocations: 0 / 0.5084 GB, free: 5.812 MB / 398.1 MB Notification: Performance of Templates: time 0.01162/0.1723, allocations: 6.206 MB / 0.5144 GB, free: 15.62 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/jenkins/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/jenkins/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