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.001158/0.001158, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001213/0.001213, allocations: 194 kB / 18.77 MB, free: 4.742 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.202/0.202, allocations: 44.17 MB / 336.8 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 60.55 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1174, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004053/0.1215, allocations: 2.066 MB / 471.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1236, allocations: 1.083 MB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1238, allocations: 0 / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1242, allocations: 51.73 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1245, allocations: 67.58 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.1252, allocations: 143 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.1257, allocations: 418.4 kB / 473 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1258, allocations: 28.73 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.1261, allocations: 111.4 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.1264, allocations: 139.3 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.1264, allocations: 8 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1268, allocations: 195.7 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.1269, allocations: 63.69 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.1271, allocations: 127.1 kB / 473.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.1275, allocations: 267.5 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1275, allocations: 0 / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1275, allocations: 0 / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1275, allocations: 3.938 kB / 473.9 MB, free: 10.06 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.001115/0.1286, allocations: 0.6238 MB / 474.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1287, allocations: 11.97 kB / 474.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.1288, allocations: 32.56 kB / 474.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.129, allocations: 260.3 kB / 474.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.1291, allocations: 24.44 kB / 474.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.083e-05/0.1291, allocations: 32 kB / 474.9 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.1299, allocations: 421.9 kB / 475.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1299, allocations: 3.938 kB / 475.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.1299, allocations: 12 kB / 475.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.13, allocations: 20.53 kB / 475.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.1307, allocations: 333.8 kB / 475.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.1321, allocations: 1.1 MB / 476.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/0.1326, allocations: 243.7 kB / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.1329, allocations: 106.5 kB / 477.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.1329, allocations: 8 kB / 477.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.133, allocations: 38.5 kB / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.133, allocations: 0 / 477.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001006/0.134, allocations: 353 kB / 477.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.1341, allocations: 106.8 kB / 477.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.1345, allocations: 409.7 kB / 478 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1345, allocations: 29.7 kB / 478.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1347, allocations: 191.7 kB / 478.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.1347, allocations: 51.33 kB / 478.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1348, allocations: 69.78 kB / 478.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.135, allocations: 342.8 kB / 478.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1353, allocations: 120 kB / 478.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.1357, allocations: 231.8 kB / 479 MB, free: 4.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.1363, allocations: 363 kB / 479.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1364, allocations: 4 kB / 479.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008158/0.1372, allocations: 393.2 kB / 479.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1372, allocations: 18.02 kB / 479.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/0.1373, allocations: 20 kB / 479.8 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1373, allocations: 8 kB / 479.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.1376, allocations: 55.89 kB / 479.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.1376, allocations: 11.88 kB / 479.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.1379, allocations: 59.5 kB / 480 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.1379, allocations: 12 kB / 480 MB, free: 3.641 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.0001911/0.1381, allocations: 183.5 kB / 480.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.1382, allocations: 27.62 kB / 480.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/0.1388, allocations: 284.2 kB / 480.4 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1388, allocations: 4 kB / 480.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1388, allocations: 7.938 kB / 480.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1388, allocations: 4 kB / 480.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.1393, allocations: 297.5 kB / 480.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.33e-05/0.1394, allocations: 19.94 kB / 480.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1396, allocations: 27.97 kB / 480.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1396, allocations: 4 kB / 480.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1396, allocations: 4 kB / 480.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.1396, allocations: 3.984 kB / 480.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1396, allocations: 3.938 kB / 480.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.1403, allocations: 0.5092 MB / 481.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.1404, allocations: 100.8 kB / 481.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.1405, allocations: 11.98 kB / 481.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.1408, allocations: 15.98 kB / 481.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.1409, allocations: 15.92 kB / 481.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1409, allocations: 15.98 kB / 481.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002929/0.1412, allocations: 283.1 kB / 481.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1412, allocations: 0 / 481.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005393/0.1417, allocations: 103.8 kB / 481.9 MB, free: 1.645 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.0002817/0.142, allocations: 151.2 kB / 482 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007968/0.1428, allocations: 437.7 kB / 482.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1428, allocations: 0 / 482.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.1432, allocations: 271.2 kB / 482.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.1438, allocations: 62.14 kB / 482.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.145, allocations: 0.7093 MB / 483.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1454, allocations: 0.799 MB / 484.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.1455, allocations: 23.38 kB / 484.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1455, allocations: 0 / 484.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Templates: time 0.007693/0.1532, allocations: 5.49 MB / 489.8 MB, free: 9.609 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/jenkins1/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/jenkins1/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