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.001575/0.001575, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.00175/0.00175, allocations: 191.7 kB / 17.2 MB, free: 5.613 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.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2691/0.2691, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001429/0.001429, allocations: 67.58 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1309, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003424/0.1344, allocations: 1.995 MB / 442.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1359, allocations: 1.122 MB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.136, allocations: 8 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.1363, allocations: 51.61 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1365, allocations: 79.52 kB / 443.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.1369, allocations: 158.8 kB / 444 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1372, allocations: 318.6 kB / 444.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.1373, allocations: 32.72 kB / 444.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1375, allocations: 123.4 kB / 444.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1377, allocations: 143.2 kB / 444.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1377, allocations: 8 kB / 444.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.138, allocations: 199.7 kB / 444.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.663e-05/0.1381, allocations: 75.66 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1382, allocations: 115.2 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.1387, allocations: 382.6 kB / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1387, allocations: 0 / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1387, allocations: 0 / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1387, allocations: 0 / 445.3 MB, free: 2.082 MB / 318.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.001112/0.1399, allocations: 0.6326 MB / 446 MB, free: 1.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1399, allocations: 15.89 kB / 446 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.14, allocations: 36.47 kB / 446 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1403, allocations: 251.8 kB / 446.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1403, allocations: 24.5 kB / 446.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1404, allocations: 24 kB / 446.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.141, allocations: 433.9 kB / 446.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.141, allocations: 3.938 kB / 446.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.141, allocations: 8 kB / 446.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.1411, allocations: 16.56 kB / 446.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005831/0.1417, allocations: 325.9 kB / 447.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1431, allocations: 1.1 MB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.1436, allocations: 235.7 kB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.1438, allocations: 114.4 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.1439, allocations: 11.97 kB / 448.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1439, allocations: 34.56 kB / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.462e-06/0.1439, allocations: 0 / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001042/0.145, allocations: 356.9 kB / 448.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.1451, allocations: 110.7 kB / 449 MB, free: 14.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.1455, allocations: 405.7 kB / 449.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1455, allocations: 33.7 kB / 449.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.1457, allocations: 183.8 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1458, allocations: 51.27 kB / 449.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.1459, allocations: 61.92 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.146, allocations: 342.8 kB / 450.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.1463, allocations: 116.1 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.1467, allocations: 245.1 kB / 450.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.1474, allocations: 355.1 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1474, allocations: 0 / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008377/0.1482, allocations: 405.2 kB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1483, allocations: 4.094 kB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/0.1483, allocations: 39.94 kB / 451.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1484, allocations: 7.938 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1486, allocations: 43.91 kB / 451.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.1486, allocations: 15.92 kB / 451.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.1489, allocations: 55.52 kB / 451.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.1489, allocations: 19.98 kB / 451.3 MB, free: 11.66 MB / 334.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.0001835/0.1491, allocations: 181.6 kB / 451.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.1492, allocations: 31.62 kB / 451.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.1498, allocations: 280.4 kB / 451.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.1498, allocations: 7.969 kB / 451.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.1499, allocations: 7.938 kB / 451.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1499, allocations: 4 kB / 451.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.1503, allocations: 297.4 kB / 452.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.1504, allocations: 23.98 kB / 452.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.1505, allocations: 23.97 kB / 452.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1505, allocations: 0 / 452.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1505, allocations: 8 kB / 452.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1506, allocations: 0 / 452.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1506, allocations: 7.938 kB / 452.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.1513, allocations: 0.5052 MB / 452.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.1514, allocations: 112.7 kB / 452.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.1514, allocations: 0 / 452.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.1517, allocations: 23.97 kB / 452.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.1518, allocations: 19.92 kB / 452.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1518, allocations: 8 kB / 452.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.1521, allocations: 287.1 kB / 453.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1521, allocations: 0 / 453.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005061/0.1526, allocations: 99.94 kB / 453.2 MB, free: 9.66 MB / 334.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.0003563/0.153, allocations: 151.2 kB / 453.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008329/0.1538, allocations: 441.7 kB / 453.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1538, allocations: 0 / 453.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.1542, allocations: 275.1 kB / 454.1 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.1548, allocations: 75.86 kB / 454.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.156, allocations: 0.6161 MB / 454.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1563, allocations: 0.7987 MB / 455.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1566, allocations: 66.91 kB / 455.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.1566, allocations: 19.44 kB / 455.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1566, allocations: 0 / 455.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of Templates: time 0.01008/0.1667, allocations: 5.678 MB / 461.3 MB, free: 1.465 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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