Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001428/0.001428, allocations: 104 kB / 15.98 MB, free: 6.352 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.001534/0.001534, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4552/0.4552, allocations: 43.51 MB / 313.6 MB, free: 8.527 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 67.91 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1686, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004473/0.1731, allocations: 2.062 MB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1751, allocations: 1.107 MB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.1752, allocations: 4 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1755, allocations: 51.73 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1757, allocations: 67.58 kB / 443.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.1763, allocations: 147.6 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000413/0.1767, allocations: 330.5 kB / 443.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.1768, allocations: 40.98 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.177, allocations: 111.4 kB / 443.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.1772, allocations: 151.3 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1773, allocations: 12 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1776, allocations: 187.8 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1778, allocations: 75.66 kB / 444.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1779, allocations: 127.1 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.1785, allocations: 382.6 kB / 444.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1785, allocations: 4 kB / 444.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1785, allocations: 0 / 444.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1785, allocations: 0 / 444.9 MB, free: 9.859 MB / 382.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.001428/0.18, allocations: 0.6198 MB / 445.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.18, allocations: 11.89 kB / 445.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.1801, allocations: 36.55 kB / 445.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.1805, allocations: 263.7 kB / 445.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1806, allocations: 20.5 kB / 445.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1806, allocations: 31.94 kB / 445.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.1814, allocations: 425.9 kB / 446.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1814, allocations: 0 / 446.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.1815, allocations: 16 kB / 446.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.1815, allocations: 16.55 kB / 446.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/0.1822, allocations: 325.9 kB / 446.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1838, allocations: 1.1 MB / 447.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.1844, allocations: 243.7 kB / 447.9 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.1847, allocations: 106.5 kB / 448 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.552e-05/0.1847, allocations: 11.92 kB / 448 MB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1848, allocations: 46.48 kB / 448.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.1848, allocations: 0 / 448.1 MB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001027/0.1858, allocations: 349.2 kB / 448.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.1859, allocations: 110.8 kB / 448.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.1864, allocations: 405.5 kB / 448.9 MB, free: 5.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1864, allocations: 29.7 kB / 449 MB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1866, allocations: 191.8 kB / 449.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.1866, allocations: 47.36 kB / 449.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1868, allocations: 61.84 kB / 449.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1869, allocations: 342.8 kB / 449.6 MB, free: 4.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.1873, allocations: 124 kB / 449.7 MB, free: 4.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.1877, allocations: 232.5 kB / 449.9 MB, free: 4.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.1884, allocations: 363 kB / 450.3 MB, free: 4.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.1884, allocations: 4 kB / 450.3 MB, free: 4.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008462/0.1893, allocations: 405.2 kB / 450.7 MB, free: 3.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.1893, allocations: 8 kB / 450.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/0.1894, allocations: 20 kB / 450.7 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.1894, allocations: 8 kB / 450.7 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1897, allocations: 47.89 kB / 450.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.1897, allocations: 11.88 kB / 450.8 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.19, allocations: 59.75 kB / 450.9 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.19, allocations: 20 kB / 450.9 MB, free: 3.441 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.1903, allocations: 173.7 kB / 451 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.1904, allocations: 27.62 kB / 451.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.191, allocations: 284.3 kB / 451.3 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.191, allocations: 7.984 kB / 451.4 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.191, allocations: 7.875 kB / 451.4 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.191, allocations: 0 / 451.4 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.1916, allocations: 309.4 kB / 451.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/0.1916, allocations: 16 kB / 451.7 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1918, allocations: 23.97 kB / 451.7 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.1918, allocations: 7.984 kB / 451.7 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.1918, allocations: 15.94 kB / 451.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1918, allocations: 0 / 451.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1918, allocations: 4.031 kB / 451.7 MB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.1926, allocations: 0.5092 MB / 452.2 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.1927, allocations: 108.7 kB / 452.3 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.29e-05/0.1927, allocations: 12 kB / 452.4 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.193, allocations: 11.98 kB / 452.4 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1931, allocations: 19.92 kB / 452.4 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1931, allocations: 11.98 kB / 452.4 MB, free: 1.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.1935, allocations: 287.1 kB / 452.7 MB, free: 1.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.1935, allocations: 4 kB / 452.7 MB, free: 1.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000546/0.1941, allocations: 91.94 kB / 452.8 MB, free: 1.43 MB / 382.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 (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.0003463/0.1945, allocations: 155.1 kB / 452.9 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008657/0.1953, allocations: 438.7 kB / 453.4 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1953, allocations: 0 / 453.4 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.1957, allocations: 274.1 kB / 453.6 MB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.1964, allocations: 77.56 kB / 453.7 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2461/0.4425, allocations: 0.6836 MB / 454.4 MB, free: 48.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.4433, allocations: 0.8007 MB / 455.2 MB, free: 48.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.4438, allocations: 65.53 kB / 455.2 MB, free: 48.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4439, allocations: 23.91 kB / 455.3 MB, free: 48.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.315e-06/0.4439, allocations: 5.406 kB / 455.3 MB, free: 48.24 MB / 382.1 MB Notification: Performance of Templates: time 0.01449/0.4584, allocations: 5.534 MB / 460.8 MB, free: 47.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches