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.001273/0.001273, allocations: 105.6 kB / 17.03 MB, free: 6.098 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.001365/0.001365, allocations: 196.1 kB / 17.96 MB, free: 5.195 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.52/1.52, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2166/0.2166, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001475/0.001476, allocations: 71.62 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003184/0.1244, allocations: 2.006 MB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1258, allocations: 1.111 MB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.1259, allocations: 8 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1263, allocations: 59.66 kB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1265, allocations: 75.45 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1269, allocations: 159.4 kB / 445.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1272, allocations: 322.5 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.917e-05/0.1273, allocations: 32.72 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1275, allocations: 115.4 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1276, allocations: 143.2 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.1276, allocations: 8 kB / 446 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.1279, allocations: 191.8 kB / 446.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.128, allocations: 75.66 kB / 446.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.1281, allocations: 123.2 kB / 446.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1285, allocations: 378.6 kB / 446.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1285, allocations: 0 / 446.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1285, allocations: 0 / 446.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1285, allocations: 4 kB / 446.8 MB, free: 1.312 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.0009306/0.1294, allocations: 0.6353 MB / 447.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1295, allocations: 15.89 kB / 447.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.1295, allocations: 36.47 kB / 447.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.1298, allocations: 243.9 kB / 447.7 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.1298, allocations: 24.5 kB / 447.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.1299, allocations: 27.94 kB / 447.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.1305, allocations: 433.9 kB / 448.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1305, allocations: 0 / 448.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1306, allocations: 8 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.1306, allocations: 20.56 kB / 448.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.1313, allocations: 321.9 kB / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.1327, allocations: 1.108 MB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.1332, allocations: 235.7 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.1334, allocations: 110.5 kB / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1335, allocations: 15.97 kB / 450 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1335, allocations: 34.5 kB / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.1335, allocations: 0 / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009687/0.1345, allocations: 360.9 kB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.1346, allocations: 106.8 kB / 450.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.135, allocations: 413.4 kB / 450.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.135, allocations: 25.7 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1352, allocations: 188 kB / 451.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.1353, allocations: 59.25 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1354, allocations: 61.92 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1355, allocations: 342.8 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1358, allocations: 120.1 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.1361, allocations: 233.2 kB / 451.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.1368, allocations: 363 kB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1368, allocations: 0 / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00077/0.1376, allocations: 396.7 kB / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1376, allocations: 8 kB / 452.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/0.1377, allocations: 28.47 kB / 452.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1377, allocations: 11.97 kB / 452.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.1379, allocations: 51.91 kB / 452.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1379, allocations: 11.88 kB / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1382, allocations: 59.5 kB / 452.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1383, allocations: 12 kB / 452.8 MB, free: 10.89 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.000194/0.1385, allocations: 181.6 kB / 453 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.1386, allocations: 31.62 kB / 453 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005816/0.1392, allocations: 284.3 kB / 453.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1392, allocations: 3.938 kB / 453.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1392, allocations: 7.938 kB / 453.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1392, allocations: 3.984 kB / 453.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.1396, allocations: 297.5 kB / 453.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/0.1397, allocations: 23.98 kB / 453.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1398, allocations: 27.97 kB / 453.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1398, allocations: 0 / 453.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1399, allocations: 4 kB / 453.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1399, allocations: 0 / 453.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1399, allocations: 7.938 kB / 453.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.1406, allocations: 0.5092 MB / 454.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/0.1407, allocations: 108.7 kB / 454.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1407, allocations: 0 / 454.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.141, allocations: 28.06 kB / 454.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.1411, allocations: 23.86 kB / 454.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1411, allocations: 8 kB / 454.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002861/0.1414, allocations: 287.1 kB / 454.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1414, allocations: 0 / 454.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.1419, allocations: 95.92 kB / 454.7 MB, free: 8.883 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.0002973/0.1422, allocations: 151.1 kB / 454.8 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.143, allocations: 434.7 kB / 455.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.143, allocations: 0 / 455.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.1433, allocations: 270.1 kB / 455.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.1439, allocations: 84.34 kB / 455.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1449, allocations: 0.6004 MB / 456.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1453, allocations: 0.7987 MB / 457 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1455, allocations: 62.92 kB / 457.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.1456, allocations: 31.42 kB / 457.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1456, allocations: 0 / 457.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of Templates: time 0.0102/0.1558, allocations: 5.675 MB / 462.8 MB, free: 0.7109 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 -s cvode -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/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","/var/lib/jenkins1/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