Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002462, allocations: 186.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.289/0.289, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000732/0.0007323, allocations: 15.98 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1449, allocations: 58.85 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.00368/0.1487, allocations: 2.134 MB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.1523, allocations: 1.611 MB / 494 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.1526, allocations: 0 / 494 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.153, allocations: 95.53 kB / 494.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.1534, allocations: 115.6 kB / 494.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1546, allocations: 279.2 kB / 494.5 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.1551, allocations: 207.5 kB / 494.7 MB, free: 4.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.1552, allocations: 20.73 kB / 494.7 MB, free: 4.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1553, allocations: 87.52 kB / 494.8 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1555, allocations: 99.38 kB / 494.9 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1556, allocations: 8 kB / 494.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.1574, allocations: 0.7529 MB / 495.6 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.1575, allocations: 39.77 kB / 495.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1576, allocations: 77.52 kB / 495.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009045/0.1585, allocations: 415 kB / 496.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1586, allocations: 0 / 496.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1586, allocations: 4 kB / 496.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1586, allocations: 0 / 496.1 MB, free: 3.375 MB / 330.7 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.001043/0.1596, allocations: 0.5887 MB / 496.7 MB, free: 2.738 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1597, allocations: 8.031 kB / 496.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.854e-05/0.1598, allocations: 43.48 kB / 496.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1602, allocations: 234.3 kB / 497 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.1602, allocations: 29 kB / 497 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1603, allocations: 32 kB / 497.1 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.1612, allocations: 366.5 kB / 497.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1612, allocations: 7.938 kB / 497.4 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.1612, allocations: 12 kB / 497.5 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.1613, allocations: 12 kB / 497.5 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.162, allocations: 275.8 kB / 497.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1639, allocations: 0.8922 MB / 498.6 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.1643, allocations: 98.48 kB / 498.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.1644, allocations: 11.97 kB / 498.7 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1644, allocations: 30.56 kB / 498.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.247e-06/0.1644, allocations: 0 / 498.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001109/0.1656, allocations: 0.5134 MB / 499.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1656, allocations: 51.41 kB / 499.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.1662, allocations: 397.8 kB / 499.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1663, allocations: 25.7 kB / 499.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1665, allocations: 289.6 kB / 0.4883 GB, free: 15.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.1666, allocations: 39.48 kB / 0.4883 GB, free: 15.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.1666, allocations: 8 kB / 0.4884 GB, free: 15.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1667, allocations: 326.8 kB / 0.4887 GB, free: 14.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.167, allocations: 60.23 kB / 0.4887 GB, free: 14.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.1675, allocations: 258 kB / 0.489 GB, free: 14.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.1679, allocations: 95.91 kB / 0.4891 GB, free: 14.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1679, allocations: 0 / 0.4891 GB, free: 14.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009945/0.1689, allocations: 333.1 kB / 0.4894 GB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.1689, allocations: 11.44 kB / 0.4894 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.102e-05/0.169, allocations: 27.98 kB / 0.4894 GB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.1691, allocations: 12.81 kB / 0.4894 GB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.1694, allocations: 63.91 kB / 0.4895 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/0.1694, allocations: 15.92 kB / 0.4895 GB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.1698, allocations: 67.27 kB / 0.4896 GB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.1699, allocations: 20 kB / 0.4896 GB, free: 13.81 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.1701, allocations: 153.6 kB / 0.4897 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.1702, allocations: 35.53 kB / 0.4898 GB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009307/0.1712, allocations: 216.8 kB / 0.49 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1712, allocations: 7.922 kB / 0.49 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1712, allocations: 0 / 0.49 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1712, allocations: 4 kB / 0.49 GB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1717, allocations: 289.4 kB / 0.4903 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-05/0.1718, allocations: 16 kB / 0.4903 GB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.1719, allocations: 11.98 kB / 0.4903 GB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.1719, allocations: 3.938 kB / 0.4903 GB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.172, allocations: 11.94 kB / 0.4903 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.172, allocations: 0 / 0.4903 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.172, allocations: 0 / 0.4903 GB, free: 13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.1727, allocations: 266.9 kB / 0.4906 GB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1728, allocations: 108.7 kB / 0.4907 GB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.1729, allocations: 4 kB / 0.4907 GB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.1732, allocations: 8 kB / 0.4907 GB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.1732, allocations: 7.984 kB / 0.4907 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1733, allocations: 8 kB / 0.4907 GB, free: 12.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004195/0.1737, allocations: 271.1 kB / 0.4909 GB, free: 12.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1737, allocations: 0 / 0.4909 GB, free: 12.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007785/0.1745, allocations: 119.9 kB / 0.4911 GB, free: 12.2 MB / 346.7 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006038/0.1751, allocations: 191 kB / 0.4912 GB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1762, allocations: 320.2 kB / 0.4915 GB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1762, allocations: 0 / 0.4915 GB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.1767, allocations: 194.7 kB / 0.4917 GB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1772, allocations: 33.55 kB / 0.4918 GB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1787, allocations: 0.6543 MB / 0.4924 GB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.1791, allocations: 0.7833 MB / 0.4932 GB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.1792, allocations: 23.44 kB / 0.4932 GB, free: 9.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1792, allocations: 0 / 0.4932 GB, free: 9.906 MB / 346.7 MB Notification: Performance of Templates: time 0.01971/0.1989, allocations: 9.357 MB / 0.5023 GB, free: 0.5469 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches