Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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.HelicalPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.00142/0.00142, allocations: 194 kB / 18.12 MB, free: 5.383 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.465/1.465, allocations: 222.9 MB / 241.8 MB, free: 15.35 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.2015/0.2015, allocations: 44.17 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002343, allocations: 63.84 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1549, allocations: 60.83 MB / 468.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.004676/0.1596, allocations: 2.155 MB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1618, allocations: 1.161 MB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.162, allocations: 0 / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.1624, allocations: 63.66 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.1628, allocations: 83.48 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.1635, allocations: 142.4 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006239/0.1642, allocations: 0.5252 MB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.1643, allocations: 44.72 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1646, allocations: 143.2 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.1649, allocations: 191 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.1649, allocations: 12 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.1654, allocations: 207.7 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.1655, allocations: 91.53 kB / 473.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1657, allocations: 166.9 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.1664, allocations: 486.4 kB / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1664, allocations: 0 / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1664, allocations: 0 / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1664, allocations: 3.938 kB / 474 MB, free: 9.352 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001374/0.1678, allocations: 0.698 MB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1679, allocations: 12.02 kB / 474.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.168, allocations: 44.47 kB / 474.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1684, allocations: 291.5 kB / 475 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1684, allocations: 29.38 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.1685, allocations: 36.38 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1695, allocations: 0.578 MB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1695, allocations: 3.938 kB / 475.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1695, allocations: 23.98 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.1696, allocations: 21 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/0.1705, allocations: 423.6 kB / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1727, allocations: 1.379 MB / 477.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.1733, allocations: 271.6 kB / 477.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.1736, allocations: 141.8 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.1737, allocations: 15.97 kB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1737, allocations: 38.56 kB / 478 MB, free: 5.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 4.528e-06/0.1738, allocations: 3.984 kB / 478 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001273/0.175, allocations: 453 kB / 478.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1751, allocations: 110.8 kB / 478.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.1757, allocations: 0.498 MB / 479 MB, free: 4.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1757, allocations: 29.7 kB / 479 MB, free: 4.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1759, allocations: 204.2 kB / 479.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.176, allocations: 55.11 kB / 479.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.1761, allocations: 49.7 kB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1763, allocations: 354.8 kB / 479.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1766, allocations: 131.9 kB / 479.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.177, allocations: 165 kB / 480 MB, free: 3.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.1777, allocations: 296.8 kB / 480.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1777, allocations: 8 kB / 480.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009027/0.1786, allocations: 372.8 kB / 480.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1786, allocations: 10.44 kB / 480.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/0.1787, allocations: 35.92 kB / 480.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1787, allocations: 4.156 kB / 480.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.179, allocations: 35.91 kB / 480.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.179, allocations: 3.984 kB / 480.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.1793, allocations: 59.36 kB / 480.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1793, allocations: 16 kB / 480.8 MB, free: 2.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001986/0.1795, allocations: 185.7 kB / 481 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1796, allocations: 43.47 kB / 481 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007392/0.1804, allocations: 387.1 kB / 481.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1804, allocations: 4 kB / 481.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1804, allocations: 0 / 481.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.1804, allocations: 3.984 kB / 481.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.181, allocations: 357.4 kB / 481.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.041e-05/0.1811, allocations: 28 kB / 481.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1813, allocations: 27.97 kB / 481.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1813, allocations: 3.938 kB / 481.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.1813, allocations: 19.92 kB / 481.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1813, allocations: 0 / 481.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1813, allocations: 4 kB / 481.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/0.1822, allocations: 0.5716 MB / 482.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1823, allocations: 124.5 kB / 482.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.1824, allocations: 8 kB / 482.6 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.1827, allocations: 19.97 kB / 482.6 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.1828, allocations: 19.98 kB / 482.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1828, allocations: 12 kB / 482.6 MB, free: 324 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003974/0.1832, allocations: 379 kB / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1832, allocations: 0 / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000531/0.1837, allocations: 111.8 kB / 483.1 MB, free: 15.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004115/0.1842, allocations: 155.7 kB / 483.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009476/0.1851, allocations: 0.511 MB / 483.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1851, allocations: 4.062 kB / 483.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.1857, allocations: 387.1 kB / 484.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.1865, allocations: 97.48 kB / 484.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1884, allocations: 0.9091 MB / 485.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.189, allocations: 0.8421 MB / 486 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.1892, allocations: 67.23 kB / 486 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.1892, allocations: 23.44 kB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.234e-06/0.1892, allocations: 3.938 kB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01298/0.2022, allocations: 6.777 MB / 492.8 MB, free: 5.996 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches