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.008399/0.008399, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001781/0.001781, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3889/0.3889, allocations: 43.49 MB / 313.5 MB, free: 8.582 MB / 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.00207/0.00207, allocations: 68.38 kB / 382.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1634, allocations: 57.8 MB / 439.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003656/0.1671, allocations: 2.159 MB / 442 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.169, allocations: 1.426 MB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.1691, allocations: 0 / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.1694, allocations: 87.5 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1696, allocations: 63.53 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.17, allocations: 175.4 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1702, allocations: 166.9 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.1703, allocations: 20.23 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1704, allocations: 51.67 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1706, allocations: 67.58 kB / 444.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1706, allocations: 4 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.1712, allocations: 423.3 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.719e-05/0.1712, allocations: 23.8 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.1713, allocations: 67.48 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1718, allocations: 434.5 kB / 445 MB, free: 9.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1718, allocations: 4 kB / 445 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1718, allocations: 0 / 445 MB, free: 9.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1718, allocations: 4 kB / 445 MB, free: 9.637 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006269/0.1725, allocations: 498.6 kB / 445.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1725, allocations: 8.031 kB / 445.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1726, allocations: 24.66 kB / 445.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1728, allocations: 211.8 kB / 445.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1728, allocations: 12.38 kB / 445.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1729, allocations: 24.11 kB / 445.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.1732, allocations: 210.7 kB / 446 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1733, allocations: 0 / 446 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1733, allocations: 4 kB / 446 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1733, allocations: 4 kB / 446 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1736, allocations: 152.2 kB / 446.1 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.1744, allocations: 0.5675 MB / 446.7 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1746, allocations: 62.55 kB / 446.7 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1748, allocations: 40.94 kB / 446.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1748, allocations: 3.938 kB / 446.8 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1748, allocations: 30.56 kB / 446.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.093e-06/0.1748, allocations: 4 kB / 446.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000452/0.1753, allocations: 141.3 kB / 447 MB, free: 7.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1753, allocations: 59.33 kB / 447 MB, free: 7.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1756, allocations: 254.7 kB / 447.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.1757, allocations: 25.7 kB / 447.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1758, allocations: 163.7 kB / 447.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1758, allocations: 27.73 kB / 447.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.1759, allocations: 37.62 kB / 447.5 MB, free: 6.902 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.176, allocations: 334.8 kB / 447.8 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1761, allocations: 35.97 kB / 447.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1763, allocations: 136.8 kB / 448 MB, free: 6.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1766, allocations: 180.7 kB / 448.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1766, allocations: 0 / 448.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003797/0.177, allocations: 205 kB / 448.4 MB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1771, allocations: 8 kB / 448.4 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.1771, allocations: 11.98 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1771, allocations: 8 kB / 448.4 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1773, allocations: 27.92 kB / 448.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1773, allocations: 4 kB / 448.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1774, allocations: 40.11 kB / 448.5 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.1774, allocations: 12 kB / 448.5 MB, free: 5.812 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 (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.0001145/0.1776, allocations: 133.7 kB / 448.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1776, allocations: 19.72 kB / 448.6 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.178, allocations: 134.9 kB / 448.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.178, allocations: 7.984 kB / 448.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.178, allocations: 0 / 448.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.178, allocations: 0 / 448.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1783, allocations: 217.7 kB / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.1783, allocations: 19.98 kB / 449 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.1783, allocations: 7.938 kB / 449 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1783, allocations: 0 / 449 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1784, allocations: 4 kB / 449 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1784, allocations: 4 kB / 449 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1784, allocations: 0 / 449 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.1787, allocations: 211.1 kB / 449.2 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.1787, allocations: 92.83 kB / 449.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1788, allocations: 0 / 449.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.1789, allocations: 7.984 kB / 449.3 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1789, allocations: 8 kB / 449.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1789, allocations: 7.984 kB / 449.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1791, allocations: 178 kB / 449.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1791, allocations: 0 / 449.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1794, allocations: 79.92 kB / 449.6 MB, free: 4.594 MB / 382.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.0003127/0.1798, allocations: 175 kB / 449.8 MB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.1802, allocations: 171.8 kB / 449.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1802, allocations: 0 / 449.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.1804, allocations: 111.6 kB / 450.1 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1808, allocations: 24.83 kB / 450.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.1817, allocations: 407.2 kB / 450.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.182, allocations: 0.7323 MB / 451.2 MB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.851e-05/0.1821, allocations: 17.92 kB / 451.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1821, allocations: 15.44 kB / 451.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1821, allocations: 0 / 451.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of Templates: time 0.2545/0.4366, allocations: 3.947 MB / 455.2 MB, free: 49.14 MB / 382.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 -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/jenkins/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","../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