Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001764, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.292/2.292, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3063/0.3063, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.001919, allocations: 80.7 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1657, allocations: 62.45 MB / 480 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.005164/0.1709, allocations: 2.078 MB / 482 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.1731, allocations: 0.9387 MB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1733, allocations: 0 / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.1738, allocations: 63.64 kB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.1744, allocations: 107.5 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1748, allocations: 83.73 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007628/0.1756, allocations: 0.5097 MB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1757, allocations: 44.7 kB / 483.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.1761, allocations: 139.2 kB / 483.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.1765, allocations: 195.1 kB / 484.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.1766, allocations: 8 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.177, allocations: 155.7 kB / 484.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1772, allocations: 91.53 kB / 484.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.1774, allocations: 158.9 kB / 484.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.1779, allocations: 307.4 kB / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.178, allocations: 0 / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.178, allocations: 0 / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.178, allocations: 0 / 484.8 MB, free: 0.8125 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001448/0.1794, allocations: 0.6514 MB / 485.5 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.1795, allocations: 12.88 kB / 485.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1797, allocations: 36.47 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.1801, allocations: 287.6 kB / 485.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.1802, allocations: 29.36 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1803, allocations: 36.31 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.1812, allocations: 0.5532 MB / 486.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1812, allocations: 3.938 kB / 486.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.1813, allocations: 15.98 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.1814, allocations: 48.97 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1825, allocations: 0.5737 MB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1846, allocations: 1.167 MB / 488.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.1853, allocations: 381.7 kB / 488.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1856, allocations: 136.9 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.1856, allocations: 11.92 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1857, allocations: 30.56 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.535e-06/0.1857, allocations: 0 / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00109/0.1868, allocations: 472.8 kB / 489.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1868, allocations: 51.41 kB / 489.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005699/0.1874, allocations: 453.6 kB / 489.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.1874, allocations: 33.7 kB / 489.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1876, allocations: 192.3 kB / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.1877, allocations: 66.92 kB / 490 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.1878, allocations: 57.69 kB / 490.1 MB, free: 11.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.188, allocations: 350.7 kB / 490.4 MB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.1883, allocations: 115.9 kB / 490.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.1886, allocations: 119.2 kB / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.1891, allocations: 264.6 kB / 490.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1891, allocations: 0 / 490.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007341/0.1899, allocations: 348.2 kB / 491.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1899, allocations: 4 kB / 491.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1899, allocations: 3.938 kB / 491.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1899, allocations: 0 / 491.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.1908, allocations: 159.8 kB / 491.4 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.1941, allocations: 5.52 MB / 496.9 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.1945, allocations: 51.39 kB / 497 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.1945, allocations: 12 kB / 497 MB, free: 4.211 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.1948, allocations: 189.7 kB / 497.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.1949, allocations: 35.61 kB / 497.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/0.1958, allocations: 460.5 kB / 497.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1959, allocations: 4 kB / 497.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1959, allocations: 3.938 kB / 497.7 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1959, allocations: 3.984 kB / 497.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.1964, allocations: 373.2 kB / 498 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1965, allocations: 0 / 498 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.1972, allocations: 155.9 kB / 498.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1972, allocations: 4 kB / 498.2 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1973, allocations: 15.98 kB / 498.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.2004, allocations: 5.509 MB / 0.4919 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.2005, allocations: 7.969 kB / 0.4919 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.2012, allocations: 438.8 kB / 0.4923 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.2014, allocations: 116.6 kB / 0.4924 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2014, allocations: 4 kB / 0.4924 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2017, allocations: 19.98 kB / 0.4925 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.2018, allocations: 23.97 kB / 0.4925 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.2018, allocations: 15.94 kB / 0.4925 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004008/0.2022, allocations: 335.1 kB / 0.4928 GB, free: 12.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2022, allocations: 0 / 0.4928 GB, free: 12.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.2027, allocations: 103.9 kB / 0.4929 GB, free: 12.13 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.203, allocations: 135.2 kB / 0.493 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2043, allocations: 399 kB / 0.4934 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2043, allocations: 0 / 0.4934 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.2052, allocations: 283.6 kB / 0.4937 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.2058, allocations: 81.44 kB / 0.4938 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2074, allocations: 0.9142 MB / 0.4947 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.2079, allocations: 0.8426 MB / 0.4955 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.2081, allocations: 35.41 kB / 0.4955 GB, free: 9.391 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2081, allocations: 4 kB / 0.4955 GB, free: 9.387 MB / 382.1 MB Notification: Performance of Templates: time 0.3795/0.5876, allocations: 19.17 MB / 0.5143 GB, free: 41.32 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches