Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 93.56 kB / 17.35 MB, free: 6.371 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.001188/0.001188, allocations: 171.6 kB / 18.25 MB, free: 5.523 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.443/1.443, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2196/0.2196, allocations: 44.24 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004958, allocations: 11.98 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002558/0.1746, allocations: 1.575 MB / 473.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1762, allocations: 0.7907 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1764, allocations: 3.938 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1767, allocations: 55.8 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.177, allocations: 75.64 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1773, allocations: 63.8 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.1776, allocations: 366.6 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.1777, allocations: 24.39 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.178, allocations: 99.5 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.1782, allocations: 127.4 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1782, allocations: 4 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.1785, allocations: 119.8 kB / 475.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1786, allocations: 63.67 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1788, allocations: 125 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1792, allocations: 291 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1792, allocations: 4 kB / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1792, allocations: 0 / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1792, allocations: 0 / 476 MB, free: 9.559 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000851/0.1801, allocations: 0.513 MB / 476.5 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1801, allocations: 15.97 kB / 476.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.1802, allocations: 28.56 kB / 476.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.1805, allocations: 235.9 kB / 476.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1805, allocations: 20.94 kB / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.1806, allocations: 28.11 kB / 476.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.1813, allocations: 377.3 kB / 477.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1813, allocations: 0 / 477.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.1813, allocations: 15.98 kB / 477.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/0.1814, allocations: 28.62 kB / 477.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.1822, allocations: 378.3 kB / 477.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1838, allocations: 0.8501 MB / 478.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.1843, allocations: 262.3 kB / 478.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1846, allocations: 100.8 kB / 478.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.1846, allocations: 7.938 kB / 478.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1847, allocations: 34.56 kB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.1847, allocations: 0 / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000871/0.1855, allocations: 351.7 kB / 479.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1856, allocations: 55.41 kB / 479.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.186, allocations: 342.9 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1861, allocations: 25.7 kB / 479.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1863, allocations: 175.9 kB / 479.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.1863, allocations: 55.2 kB / 479.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.1864, allocations: 29.7 kB / 479.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1866, allocations: 338.8 kB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.1868, allocations: 108.4 kB / 480.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1871, allocations: 195.9 kB / 480.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.1877, allocations: 318.8 kB / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1877, allocations: 0 / 480.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007081/0.1884, allocations: 360.9 kB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1884, allocations: 8 kB / 481.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1885, allocations: 0 / 481.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1885, allocations: 4 kB / 481.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.1891, allocations: 127.9 kB / 481.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.1913, allocations: 3.653 MB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1916, allocations: 43.53 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.1917, allocations: 20.23 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.1919, allocations: 177.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.192, allocations: 27.66 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/0.1927, allocations: 338.2 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.1927, allocations: 7.984 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1927, allocations: 0 / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1928, allocations: 0 / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.1931, allocations: 297.4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1932, allocations: 3.984 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.1936, allocations: 107.9 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1936, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1937, allocations: 15.98 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.1956, allocations: 3.649 MB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.788e-06/0.1956, allocations: 3.938 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.1962, allocations: 355.1 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1963, allocations: 104.7 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1963, allocations: 8.062 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1965, allocations: 15.92 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.1966, allocations: 19.92 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1966, allocations: 7.984 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.1969, allocations: 241.9 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1969, allocations: 0 / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.1973, allocations: 79.92 kB / 490.5 MB, free: 10.43 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.1976, allocations: 135.7 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008899/0.1985, allocations: 331.6 kB / 490.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1985, allocations: 0 / 490.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.1991, allocations: 199.5 kB / 491.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.1996, allocations: 56.84 kB / 491.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2007, allocations: 0.6805 MB / 491.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.2011, allocations: 0.7834 MB / 492.6 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.2014, allocations: 82.88 kB / 492.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.2014, allocations: 27.42 kB / 492.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2014, allocations: 0 / 492.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of Templates: time 0.009949/0.2114, allocations: 5.013 MB / 497.8 MB, free: 3.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches