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.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,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.001426/0.001426, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.387/1.387, allocations: 223.2 MB / 241.8 MB, free: 372 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.2186/0.2186, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005087, allocations: 16.64 kB / 409.6 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1676, allocations: 61.91 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004098/0.1718, allocations: 1.634 MB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1745, allocations: 0.9436 MB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1748, allocations: 0 / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1752, allocations: 43.8 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.1755, allocations: 55.83 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.1764, allocations: 139.1 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.177, allocations: 215.5 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.1772, allocations: 28.73 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.1776, allocations: 103.5 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.178, allocations: 107.5 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.1781, allocations: 8 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1788, allocations: 191.8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1789, allocations: 63.73 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1791, allocations: 65.58 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.1796, allocations: 247.6 kB / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1796, allocations: 0 / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1796, allocations: 0 / 475.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1796, allocations: 0 / 475.3 MB, free: 9.891 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001434/0.1811, allocations: 0.5885 MB / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1811, allocations: 12.03 kB / 475.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.1813, allocations: 27.62 kB / 475.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.1818, allocations: 259 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.1818, allocations: 24.56 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.1819, allocations: 27.94 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.183, allocations: 441.8 kB / 476.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1831, allocations: 0 / 476.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1831, allocations: 15.98 kB / 476.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.1832, allocations: 16.55 kB / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1843, allocations: 353.9 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.1866, allocations: 1.1 MB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.1874, allocations: 259.7 kB / 478.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.1875, allocations: 4 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1875, allocations: 42.55 kB / 478.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.235e-06/0.1875, allocations: 0 / 478.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001852/0.1894, allocations: 0.6177 MB / 479 MB, free: 5.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.1896, allocations: 106.8 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.1902, allocations: 397.6 kB / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.1902, allocations: 29.64 kB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1904, allocations: 195.8 kB / 479.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.1905, allocations: 47.34 kB / 479.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.1905, allocations: 12.03 kB / 479.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1907, allocations: 342.8 kB / 480.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.1911, allocations: 128.2 kB / 480.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1915, allocations: 251.6 kB / 480.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.1919, allocations: 163.8 kB / 480.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1919, allocations: 0 / 480.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009406/0.1928, allocations: 417.2 kB / 481.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.1929, allocations: 11.95 kB / 481.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/0.1929, allocations: 23.97 kB / 481.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1929, allocations: 8 kB / 481.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.1932, allocations: 47.91 kB / 481.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.1932, allocations: 15.92 kB / 481.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.1936, allocations: 63.55 kB / 481.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.1936, allocations: 23.98 kB / 481.3 MB, free: 3.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.1938, allocations: 173.7 kB / 481.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.194, allocations: 31.61 kB / 481.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006621/0.1947, allocations: 300.4 kB / 481.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1947, allocations: 0 / 481.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1947, allocations: 8 kB / 481.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1947, allocations: 0 / 481.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.1952, allocations: 305.4 kB / 482.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-05/0.1953, allocations: 19.98 kB / 482.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1954, allocations: 31.91 kB / 482.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1955, allocations: 4 kB / 482.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.1955, allocations: 8 kB / 482.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1955, allocations: 7.953 kB / 482.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1955, allocations: 3.984 kB / 482.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000813/0.1963, allocations: 0.5438 MB / 482.7 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.1966, allocations: 116.7 kB / 482.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1966, allocations: 7.938 kB / 482.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.1969, allocations: 23.97 kB / 482.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.197, allocations: 11.98 kB / 482.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.197, allocations: 12 kB / 482.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.1973, allocations: 283.1 kB / 483.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1974, allocations: 4 kB / 483.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.1979, allocations: 99.94 kB / 483.2 MB, free: 1.438 MB / 350.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003381/0.1983, allocations: 151.1 kB / 483.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1994, allocations: 450 kB / 483.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1994, allocations: 0 / 483.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.1998, allocations: 291.1 kB / 484.1 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.2003, allocations: 65.52 kB / 484.2 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2017, allocations: 0.6786 MB / 484.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.2023, allocations: 0.8067 MB / 485.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.2025, allocations: 66.89 kB / 485.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.2026, allocations: 27.38 kB / 485.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2026, allocations: 4 kB / 485.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.009979/0.2126, allocations: 5.088 MB / 490.9 MB, free: 9.77 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches