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.001171/0.001171, allocations: 113.1 kB / 17.33 MB, free: 6.02 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.001076/0.001076, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.414/1.414, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 44.17 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.44 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 60.84 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003152/0.1124, allocations: 2.059 MB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.114, allocations: 1.06 MB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.114, allocations: 3.938 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.1143, allocations: 55.78 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1145, allocations: 63.58 kB / 472 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.115, allocations: 147.6 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1153, allocations: 322.5 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.1154, allocations: 36.72 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1155, allocations: 115.4 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1157, allocations: 147.4 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1158, allocations: 8 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.1161, allocations: 191.7 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.1162, allocations: 75.67 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.1163, allocations: 127.1 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.1168, allocations: 390.8 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1168, allocations: 0 / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1168, allocations: 0 / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1168, allocations: 0 / 473.5 MB, free: 9.918 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.001025/0.1178, allocations: 0.6198 MB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1179, allocations: 8.031 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.1179, allocations: 36.56 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1182, allocations: 256.3 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1182, allocations: 28.44 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1183, allocations: 24 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.119, allocations: 437.8 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.119, allocations: 4 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1191, allocations: 12 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.1191, allocations: 12.56 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.1198, allocations: 321.9 kB / 475.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.1211, allocations: 1.096 MB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.1216, allocations: 243.7 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.1219, allocations: 110.4 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.122, allocations: 15.95 kB / 476.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.122, allocations: 38.5 kB / 476.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.122, allocations: 0 / 476.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009638/0.123, allocations: 357.1 kB / 477.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.123, allocations: 102.8 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.1234, allocations: 409.5 kB / 477.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1235, allocations: 25.7 kB / 477.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1236, allocations: 199.7 kB / 477.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1237, allocations: 43.36 kB / 477.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1238, allocations: 65.83 kB / 477.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1239, allocations: 346.8 kB / 478.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.1242, allocations: 116.1 kB / 478.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.1246, allocations: 232.2 kB / 478.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.1253, allocations: 371 kB / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1253, allocations: 0 / 479 MB, free: 4.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008261/0.1261, allocations: 404.7 kB / 479.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1262, allocations: 4 kB / 479.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/0.1262, allocations: 27.98 kB / 479.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1262, allocations: 4 kB / 479.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1265, allocations: 43.91 kB / 479.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.1265, allocations: 16.33 kB / 479.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.1268, allocations: 55.52 kB / 479.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.1268, allocations: 20 kB / 479.5 MB, free: 3.508 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.0001696/0.127, allocations: 173.7 kB / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.1271, allocations: 27.62 kB / 479.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006126/0.1277, allocations: 292.2 kB / 480 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1277, allocations: 4 kB / 480 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1277, allocations: 3.938 kB / 480 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1277, allocations: 3.984 kB / 480 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.1282, allocations: 305.4 kB / 480.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/0.1282, allocations: 23.98 kB / 480.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1284, allocations: 23.97 kB / 480.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1284, allocations: 4 kB / 480.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1284, allocations: 8 kB / 480.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1284, allocations: 4 kB / 480.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.1285, allocations: 7.875 kB / 480.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.1292, allocations: 0.5018 MB / 480.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.1293, allocations: 104.8 kB / 481 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.1294, allocations: 4 kB / 481 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.1297, allocations: 19.97 kB / 481 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.1298, allocations: 19.92 kB / 481 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1298, allocations: 4 kB / 481 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003237/0.1301, allocations: 295.1 kB / 481.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 0 / 481.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.1307, allocations: 95.83 kB / 481.4 MB, free: 1.512 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 (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.0003408/0.131, allocations: 151.1 kB / 481.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009088/0.1319, allocations: 442.7 kB / 482 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.132, allocations: 4.188 kB / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.1323, allocations: 270 kB / 482.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.133, allocations: 81.84 kB / 482.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.1341, allocations: 0.6903 MB / 483 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1345, allocations: 0.7987 MB / 483.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.1347, allocations: 62.91 kB / 483.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.1347, allocations: 23.38 kB / 483.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1347, allocations: 4 kB / 483.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of Templates: time 0.009262/0.144, allocations: 5.546 MB / 489.5 MB, free: 9.41 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