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.001218/0.001218, allocations: 105.5 kB / 17.63 MB, free: 5.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.001473/0.001473, allocations: 192 kB / 18.56 MB, free: 4.434 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.309/1.309, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.205/0.205, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 60.56 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003764/0.1166, allocations: 2.013 MB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1184, allocations: 1.067 MB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.1186, allocations: 7.938 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1189, allocations: 59.66 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1191, allocations: 75.52 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.1197, allocations: 159.4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.1201, allocations: 322.5 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.059e-05/0.1202, allocations: 32.72 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.1204, allocations: 119.4 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1206, allocations: 135.4 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.1206, allocations: 12 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.121, allocations: 195.7 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.1211, allocations: 67.67 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1213, allocations: 127.1 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.1217, allocations: 390.8 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1218, allocations: 0 / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1218, allocations: 0 / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1218, allocations: 0 / 474 MB, free: 9.598 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.001064/0.1228, allocations: 0.6159 MB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1229, allocations: 8.031 kB / 474.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.123, allocations: 32.56 kB / 474.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1232, allocations: 259.8 kB / 474.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1233, allocations: 20.5 kB / 474.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1233, allocations: 28 kB / 475 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.124, allocations: 433.8 kB / 475.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.124, allocations: 0 / 475.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1241, allocations: 12 kB / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.1241, allocations: 16.55 kB / 475.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.1248, allocations: 325.9 kB / 475.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1261, allocations: 1.108 MB / 476.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.1266, allocations: 239.7 kB / 477.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.1268, allocations: 110.5 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.1269, allocations: 7.984 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1269, allocations: 38.56 kB / 477.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1269, allocations: 3.938 kB / 477.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009468/0.1279, allocations: 356.9 kB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1279, allocations: 106.8 kB / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.1283, allocations: 401.8 kB / 478.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1284, allocations: 41.64 kB / 478.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1285, allocations: 191.7 kB / 478.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.1285, allocations: 47.36 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.1286, allocations: 61.84 kB / 478.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1287, allocations: 346.8 kB / 478.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.129, allocations: 112.1 kB / 478.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.1294, allocations: 237.6 kB / 479.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.1301, allocations: 363 kB / 479.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1301, allocations: 4 kB / 479.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007997/0.1309, allocations: 401.1 kB / 479.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1309, allocations: 11.28 kB / 479.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/0.1309, allocations: 24.03 kB / 479.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.131, allocations: 8 kB / 479.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1312, allocations: 47.89 kB / 479.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1312, allocations: 7.938 kB / 479.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.1315, allocations: 55.5 kB / 480 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.1315, allocations: 20 kB / 480 MB, free: 3.195 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.0001997/0.1317, allocations: 185.6 kB / 480.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/0.1318, allocations: 27.62 kB / 480.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.1324, allocations: 272.3 kB / 480.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.1324, allocations: 7.938 kB / 480.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1325, allocations: 3.938 kB / 480.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1325, allocations: 4 kB / 480.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.1329, allocations: 309.4 kB / 480.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.1329, allocations: 16 kB / 480.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.1331, allocations: 23.97 kB / 480.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1331, allocations: 7.938 kB / 480.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.1331, allocations: 11.98 kB / 480.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1331, allocations: 0 / 480.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1331, allocations: 3.938 kB / 480.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.1339, allocations: 0.5046 MB / 481.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.134, allocations: 100.8 kB / 481.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.134, allocations: 11.98 kB / 481.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.1343, allocations: 15.98 kB / 481.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.1344, allocations: 23.86 kB / 481.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1344, allocations: 12.08 kB / 481.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.1347, allocations: 291.1 kB / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1347, allocations: 0 / 481.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004705/0.1351, allocations: 99.84 kB / 481.9 MB, free: 1.191 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.0002732/0.1354, allocations: 147.2 kB / 482.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007484/0.1362, allocations: 445.7 kB / 482.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1362, allocations: 0 / 482.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.1365, allocations: 275.1 kB / 482.8 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.1371, allocations: 74.27 kB / 482.8 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1382, allocations: 0.616 MB / 483.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.1386, allocations: 0.8064 MB / 484.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.1388, allocations: 62.92 kB / 484.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.1388, allocations: 23.44 kB / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1388, allocations: 0 / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Templates: time 0.009452/0.1483, allocations: 5.678 MB / 490 MB, free: 9.031 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