Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001114/0.001114, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001068/0.001068, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.17 MB / 336.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 65.52 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.006059/0.1637, allocations: 2.72 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.1677, allocations: 1.516 MB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.168, allocations: 0 / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.1686, allocations: 103.4 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006247/0.1693, allocations: 115 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.17, allocations: 203.4 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.1706, allocations: 282.1 kB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1707, allocations: 28.72 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.1709, allocations: 91.36 kB / 473.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1712, allocations: 123.2 kB / 473.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1713, allocations: 8 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.1728, allocations: 0.589 MB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.1729, allocations: 43.66 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.1731, allocations: 131 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1741, allocations: 0.5292 MB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1741, allocations: 0 / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1741, allocations: 0 / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1742, allocations: 0 / 475 MB, free: 8.344 MB / 350.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.001341/0.1755, allocations: 0.6201 MB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/0.1756, allocations: 8.031 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1758, allocations: 48.47 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.1762, allocations: 247.7 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1763, allocations: 25.38 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.1764, allocations: 44 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.1775, allocations: 0.5726 MB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1776, allocations: 7.938 kB / 476.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.1776, allocations: 20 kB / 476.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.1777, allocations: 11.98 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.1785, allocations: 329.1 kB / 476.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004222/0.1828, allocations: 4.051 MB / 481 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1833, allocations: 94.53 kB / 481.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.1835, allocations: 32.97 kB / 481.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.1836, allocations: 11.88 kB / 481.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.1836, allocations: 34.56 kB / 481.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.1837, allocations: 0 / 481.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008772/0.1845, allocations: 165.2 kB / 481.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1846, allocations: 51.41 kB / 481.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.1853, allocations: 413.7 kB / 481.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1853, allocations: 29.7 kB / 481.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.1856, allocations: 254.9 kB / 482 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.1857, allocations: 31.64 kB / 482.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1859, allocations: 65.94 kB / 482.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1861, allocations: 350.7 kB / 482.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1864, allocations: 56.61 kB / 482.5 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.1869, allocations: 266.4 kB / 482.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008475/0.1878, allocations: 347.9 kB / 483.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.1878, allocations: 0 / 483.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001156/0.189, allocations: 360.7 kB / 483.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.189, allocations: 8 kB / 483.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.1891, allocations: 8 kB / 483.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.1891, allocations: 8 kB / 483.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.19, allocations: 108.5 kB / 483.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.1912, allocations: 1.223 MB / 484.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.1917, allocations: 63.27 kB / 484.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1918, allocations: 16 kB / 484.9 MB, free: 13.68 MB / 366.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.0002279/0.192, allocations: 161.8 kB / 485.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.1921, allocations: 39.47 kB / 485.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000744/0.1929, allocations: 164.9 kB / 485.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1929, allocations: 0 / 485.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.193, allocations: 3.938 kB / 485.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.193, allocations: 4 kB / 485.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1935, allocations: 277.5 kB / 485.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1935, allocations: 3.938 kB / 485.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.194, allocations: 59.91 kB / 485.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1941, allocations: 4 kB / 485.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1941, allocations: 4 kB / 485.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.1951, allocations: 1.207 MB / 486.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1951, allocations: 0 / 486.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.1958, allocations: 235.7 kB / 487 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.196, allocations: 108.6 kB / 487.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-05/0.1961, allocations: 11.94 kB / 487.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.1964, allocations: 4 kB / 487.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.1965, allocations: 7.984 kB / 487.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1966, allocations: 0 / 487.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000517/0.1971, allocations: 279.1 kB / 487.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1971, allocations: 0 / 487.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001077/0.1982, allocations: 107.9 kB / 487.6 MB, free: 10.88 MB / 366.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.0006658/0.1989, allocations: 173.5 kB / 487.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2, allocations: 213.3 kB / 487.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2, allocations: 0 / 487.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.2005, allocations: 76.22 kB / 488 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000843/0.2014, allocations: 41.89 kB / 488 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.203, allocations: 0.5902 MB / 488.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.2036, allocations: 0.768 MB / 489.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.2039, allocations: 42.88 kB / 489.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.204, allocations: 23.44 kB / 489.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.204, allocations: 0 / 489.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of Templates: time 0.02142/0.2254, allocations: 5.942 MB / 495.4 MB, free: 3.023 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches