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.0008084/0.0008085, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0007676/0.0007676, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.419/1.419, allocations: 223.2 MB / 242.3 MB, free: 180 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.2633/0.2633, allocations: 44.26 MB / 337.7 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 13.69 kB / 410.4 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 61.92 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002826/0.1381, allocations: 1.715 MB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1406, allocations: 1.06 MB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1409, allocations: 0 / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.1413, allocations: 59.73 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.1417, allocations: 67.58 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.1424, allocations: 135.6 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.143, allocations: 414.4 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1431, allocations: 32.72 kB / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.1434, allocations: 111.4 kB / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.1437, allocations: 143.3 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.1438, allocations: 8 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.1442, allocations: 195.7 kB / 476.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1444, allocations: 67.67 kB / 476.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.1446, allocations: 148.9 kB / 476.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.1453, allocations: 378.8 kB / 476.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1453, allocations: 0 / 476.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1453, allocations: 3.938 kB / 476.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1453, allocations: 0 / 476.8 MB, free: 8.77 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.00143/0.1467, allocations: 0.5909 MB / 477.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.1468, allocations: 11.97 kB / 477.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.1469, allocations: 36.56 kB / 477.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1473, allocations: 260.3 kB / 477.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1473, allocations: 20.5 kB / 477.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.1474, allocations: 28 kB / 477.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.1482, allocations: 445.8 kB / 478.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1482, allocations: 3.938 kB / 478.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1483, allocations: 12 kB / 478.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.1483, allocations: 12.56 kB / 478.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.149, allocations: 349.9 kB / 478.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1507, allocations: 1.1 MB / 479.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.1514, allocations: 259.7 kB / 479.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.1517, allocations: 118.5 kB / 480 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.1517, allocations: 11.94 kB / 480 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.1518, allocations: 34.56 kB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/0.1518, allocations: 3.938 kB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001174/0.153, allocations: 393.5 kB / 480.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.1531, allocations: 110.8 kB / 480.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.1535, allocations: 405.5 kB / 480.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1536, allocations: 29.7 kB / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1537, allocations: 195.7 kB / 481.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.1538, allocations: 47.34 kB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1538, allocations: 33.73 kB / 481.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.154, allocations: 342.8 kB / 481.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.1544, allocations: 128.1 kB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.1548, allocations: 243.8 kB / 481.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.1556, allocations: 394.9 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1556, allocations: 0 / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009307/0.1565, allocations: 436.6 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.1566, allocations: 8 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/0.1566, allocations: 24.48 kB / 482.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1566, allocations: 8 kB / 482.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.1569, allocations: 51.91 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.157, allocations: 7.938 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.1573, allocations: 63.5 kB / 482.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.1574, allocations: 20.19 kB / 482.9 MB, free: 2.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.1576, allocations: 181.7 kB / 483.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.1577, allocations: 31.56 kB / 483.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006519/0.1583, allocations: 288.1 kB / 483.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.1584, allocations: 11.92 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1584, allocations: 3.938 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1584, allocations: 7.984 kB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1589, allocations: 297.4 kB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-05/0.1589, allocations: 19.98 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1591, allocations: 35.97 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1591, allocations: 0 / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1592, allocations: 8 kB / 483.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1592, allocations: 4 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1592, allocations: 3.938 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.16, allocations: 0.5326 MB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1601, allocations: 108.7 kB / 484.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.1602, allocations: 4 kB / 484.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.1605, allocations: 23.97 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.1605, allocations: 19.92 kB / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1606, allocations: 8 kB / 484.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.1609, allocations: 291.1 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1609, allocations: 0 / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005544/0.1615, allocations: 91.92 kB / 484.9 MB, free: 192 kB / 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 (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.0003196/0.1618, allocations: 155.1 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008659/0.1627, allocations: 454.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1627, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.1631, allocations: 294.3 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.1637, allocations: 67.2 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1649, allocations: 0.7058 MB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.1653, allocations: 0.7989 MB / 487.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.1655, allocations: 70.91 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.1656, allocations: 19.44 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1656, allocations: 0 / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of Templates: time 0.009835/0.1754, allocations: 5.341 MB / 492.7 MB, free: 8.246 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