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.001284/0.001284, allocations: 99.47 kB / 17 MB, free: 6.402 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.001509/0.001509, allocations: 176.7 kB / 17.89 MB, free: 5.945 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.531/1.531, allocations: 223.3 MB / 241.9 MB, free: 352 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.2122/0.2122, allocations: 44.26 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 61.94 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002403/0.1421, allocations: 1.661 MB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1436, allocations: 0.9823 MB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.1437, allocations: 4 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.144, allocations: 47.73 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1442, allocations: 67.59 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.1446, allocations: 127.6 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.145, allocations: 366.5 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.1451, allocations: 32.72 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1453, allocations: 115.4 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1455, allocations: 135.5 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1456, allocations: 11.94 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1459, allocations: 187.7 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.146, allocations: 63.67 kB / 475.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.1461, allocations: 69.58 kB / 475.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1464, allocations: 271.4 kB / 475.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1464, allocations: 0 / 475.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1464, allocations: 0 / 475.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1464, allocations: 0 / 475.7 MB, free: 9.531 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.001021/0.1475, allocations: 0.5846 MB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1475, allocations: 12.03 kB / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.1476, allocations: 35.56 kB / 476.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1479, allocations: 259 kB / 476.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1479, allocations: 20.56 kB / 476.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.148, allocations: 24 kB / 476.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/0.1487, allocations: 445.8 kB / 477.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1487, allocations: 0 / 477.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1488, allocations: 15.94 kB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.1488, allocations: 16.55 kB / 477.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.1495, allocations: 345.9 kB / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.1511, allocations: 1.092 MB / 478.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.1515, allocations: 251.7 kB / 478.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1518, allocations: 118.5 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.1519, allocations: 19.88 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1519, allocations: 34.56 kB / 479 MB, free: 6.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1519, allocations: 0 / 479 MB, free: 6.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009832/0.1529, allocations: 393.2 kB / 479.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.153, allocations: 106.8 kB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1534, allocations: 401.5 kB / 479.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.1535, allocations: 29.8 kB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1537, allocations: 199.7 kB / 480.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.1537, allocations: 47.36 kB / 480.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.1537, allocations: 0 / 480.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1539, allocations: 350.8 kB / 480.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.1542, allocations: 124.1 kB / 480.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.1546, allocations: 247.7 kB / 480.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.155, allocations: 163.8 kB / 481 MB, free: 3.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.155, allocations: 4 kB / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008196/0.1558, allocations: 421.5 kB / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1559, allocations: 11.89 kB / 481.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.1559, allocations: 24 kB / 481.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1559, allocations: 4 kB / 481.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1562, allocations: 55.89 kB / 481.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1562, allocations: 4 kB / 481.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.1565, allocations: 71.53 kB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.1566, allocations: 16 kB / 481.6 MB, free: 3.34 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.0002163/0.1568, allocations: 185.6 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.1569, allocations: 31.56 kB / 481.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.1575, allocations: 296.1 kB / 482.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1575, allocations: 4 kB / 482.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1575, allocations: 0 / 482.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1575, allocations: 4 kB / 482.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.158, allocations: 305.4 kB / 482.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.1581, allocations: 20 kB / 482.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1582, allocations: 27.97 kB / 482.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1583, allocations: 4 kB / 482.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.1583, allocations: 15.98 kB / 482.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1583, allocations: 3.953 kB / 482.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1583, allocations: 0 / 482.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.159, allocations: 0.5319 MB / 483 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1591, allocations: 112.7 kB / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.1592, allocations: 0 / 483.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.1594, allocations: 23.98 kB / 483.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.1595, allocations: 23.88 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1595, allocations: 11.98 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.1598, allocations: 287.2 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1598, allocations: 3.938 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.1604, allocations: 91.94 kB / 483.5 MB, free: 1.289 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.000287/0.1607, allocations: 155.1 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.1615, allocations: 450.8 kB / 484.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1615, allocations: 4 kB / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.1619, allocations: 286.2 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.1625, allocations: 65.39 kB / 484.5 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1637, allocations: 0.679 MB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1641, allocations: 0.7949 MB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.1643, allocations: 66.88 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1644, allocations: 27.36 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1644, allocations: 0 / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Templates: time 0.009687/0.1741, allocations: 5.206 MB / 491.3 MB, free: 9.52 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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