Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001602, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2825/0.2825, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.86 MB / 490.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003147/0.1251, allocations: 1.627 MB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.1277, allocations: 0.9913 MB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1278, allocations: 0 / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.1282, allocations: 47.78 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1284, allocations: 51.83 kB / 493 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.1292, allocations: 127.6 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.1297, allocations: 215.5 kB / 493.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1298, allocations: 36.72 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1301, allocations: 95.56 kB / 493.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1303, allocations: 115.5 kB / 493.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.1304, allocations: 8 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.131, allocations: 191.7 kB / 493.7 MB, free: 5.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1311, allocations: 63.8 kB / 493.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.1312, allocations: 65.52 kB / 493.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.1318, allocations: 251.6 kB / 494.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1318, allocations: 0 / 494.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1318, allocations: 0 / 494.1 MB, free: 5.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1318, allocations: 0 / 494.1 MB, free: 5.422 MB / 330.7 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.001545/0.1334, allocations: 0.5847 MB / 494.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1334, allocations: 8.031 kB / 494.7 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1336, allocations: 31.62 kB / 494.7 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.1341, allocations: 266.4 kB / 495 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.1341, allocations: 20.5 kB / 495 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.1342, allocations: 28 kB / 495 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.1355, allocations: 433.9 kB / 495.5 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.1356, allocations: 3.938 kB / 495.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.1356, allocations: 12 kB / 495.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.1357, allocations: 20.56 kB / 495.5 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.1371, allocations: 353.9 kB / 495.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.1396, allocations: 1.096 MB / 496.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/0.1405, allocations: 255.7 kB / 497.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.1406, allocations: 8.188 kB / 497.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.1406, allocations: 42.44 kB / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 3.407e-06/0.1406, allocations: 4 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.00196/0.1426, allocations: 0.6098 MB / 497.9 MB, free: 1.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.1427, allocations: 114.8 kB / 498 MB, free: 1.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/0.1435, allocations: 405.5 kB / 498.4 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.1435, allocations: 25.7 kB / 498.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1438, allocations: 246.2 kB / 498.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.1438, allocations: 39.36 kB / 498.7 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1439, allocations: 8 kB / 498.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.144, allocations: 322.8 kB / 499 MB, free: 224 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.1446, allocations: 136.1 kB / 499.1 MB, free: 88 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.1453, allocations: 243.2 kB / 499.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/0.146, allocations: 159.8 kB / 499.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.146, allocations: 8 kB / 499.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001528/0.1475, allocations: 401.3 kB / 499.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.1476, allocations: 12.06 kB / 499.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-05/0.1477, allocations: 23.98 kB / 500 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.1477, allocations: 11.92 kB / 500 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.1482, allocations: 51.97 kB / 0.4883 GB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1482, allocations: 7.938 kB / 0.4883 GB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.1487, allocations: 67.5 kB / 0.4884 GB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.1488, allocations: 16 kB / 0.4884 GB, free: 15.05 MB / 346.7 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.0003042/0.1491, allocations: 185.6 kB / 0.4886 GB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1493, allocations: 31.62 kB / 0.4886 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.1503, allocations: 292.2 kB / 0.4889 GB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.1504, allocations: 7.984 kB / 0.4889 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1504, allocations: 3.938 kB / 0.4889 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1504, allocations: 0 / 0.4889 GB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.1512, allocations: 317.3 kB / 0.4892 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.226e-05/0.1512, allocations: 19.98 kB / 0.4892 GB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.1516, allocations: 31.97 kB / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1516, allocations: 0 / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.1516, allocations: 4 kB / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1516, allocations: 0 / 0.4892 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1516, allocations: 4 kB / 0.4892 GB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.1529, allocations: 0.5516 MB / 0.4898 GB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.1531, allocations: 112.7 kB / 0.4899 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.1532, allocations: 4 kB / 0.4899 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.1537, allocations: 23.98 kB / 0.4899 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.1538, allocations: 19.97 kB / 0.4899 GB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.1539, allocations: 7.953 kB / 0.4899 GB, free: 13.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000512/0.1544, allocations: 291.2 kB / 0.4902 GB, free: 13.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1544, allocations: 3.938 kB / 0.4902 GB, free: 13.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007608/0.1552, allocations: 87.94 kB / 0.4903 GB, free: 12.96 MB / 346.7 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.0004043/0.1556, allocations: 151.1 kB / 0.4904 GB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.1571, allocations: 462.7 kB / 0.4909 GB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1571, allocations: 0 / 0.4909 GB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006974/0.1578, allocations: 286.1 kB / 0.4912 GB, free: 12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.1586, allocations: 65.75 kB / 0.4912 GB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1604, allocations: 0.7075 MB / 0.4919 GB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.1609, allocations: 0.795 MB / 0.4927 GB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.1611, allocations: 27.42 kB / 0.4927 GB, free: 10.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1611, allocations: 0 / 0.4927 GB, free: 10.34 MB / 346.7 MB Notification: Performance of Templates: time 0.01355/0.1747, allocations: 5.402 MB / 0.498 GB, free: 4.945 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches