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.001184/0.001185, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001282/0.001282, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.359/1.359, allocations: 222.9 MB / 242.9 MB, free: 15.18 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.2118/0.2118, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.81 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003679/0.1127, allocations: 2.006 MB / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1147, allocations: 1.067 MB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1148, allocations: 0 / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1151, allocations: 59.66 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1154, allocations: 75.45 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.116, allocations: 166.5 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.1164, allocations: 322.5 kB / 473.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.706e-05/0.1165, allocations: 36.72 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1167, allocations: 111.4 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.117, allocations: 139.3 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.117, allocations: 12 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.1174, allocations: 187.8 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1176, allocations: 75.61 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1177, allocations: 127.1 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.1183, allocations: 386.9 kB / 474.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1183, allocations: 3.938 kB / 474.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1183, allocations: 4 kB / 474.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1183, allocations: 0 / 474.7 MB, free: 9.602 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.0012/0.1195, allocations: 0.612 MB / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1196, allocations: 12.03 kB / 475.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.1197, allocations: 28.56 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.12, allocations: 259.8 kB / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.12, allocations: 28.5 kB / 475.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.12, allocations: 24 kB / 475.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.1208, allocations: 421.9 kB / 476.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1208, allocations: 4 kB / 476.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.1208, allocations: 19.92 kB / 476.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.1209, allocations: 24.55 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.1216, allocations: 325.9 kB / 476.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.1233, allocations: 1.1 MB / 477.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.1238, allocations: 247.7 kB / 477.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.1241, allocations: 106.5 kB / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.1241, allocations: 0 / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1242, allocations: 46.44 kB / 477.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.1242, allocations: 0 / 477.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009897/0.1252, allocations: 349.3 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1253, allocations: 111.1 kB / 478.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.1257, allocations: 409.5 kB / 478.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.1257, allocations: 25.7 kB / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1259, allocations: 199.6 kB / 479 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.1259, allocations: 51.34 kB / 479 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.126, allocations: 61.84 kB / 479.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1262, allocations: 342.8 kB / 479.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.1265, allocations: 124.1 kB / 479.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.1269, allocations: 229.7 kB / 479.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.1276, allocations: 362.9 kB / 480.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.1276, allocations: 4 kB / 480.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008495/0.1285, allocations: 401 kB / 480.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1285, allocations: 8 kB / 480.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-05/0.1286, allocations: 20 kB / 480.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.1286, allocations: 8 kB / 480.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.1289, allocations: 55.89 kB / 480.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1289, allocations: 11.88 kB / 480.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1292, allocations: 59.5 kB / 480.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.1292, allocations: 16.12 kB / 480.7 MB, free: 3.191 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.0001923/0.1294, allocations: 181.3 kB / 480.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.1295, allocations: 31.62 kB / 480.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.1301, allocations: 284.2 kB / 481.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1301, allocations: 4 kB / 481.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1301, allocations: 4.031 kB / 481.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1301, allocations: 7.938 kB / 481.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.1306, allocations: 301.4 kB / 481.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/0.1306, allocations: 16 kB / 481.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1308, allocations: 23.97 kB / 481.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1308, allocations: 4 kB / 481.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1308, allocations: 7.984 kB / 481.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1308, allocations: 0 / 481.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1308, allocations: 11.94 kB / 481.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.1316, allocations: 0.5014 MB / 482.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.1317, allocations: 108.8 kB / 482.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.1317, allocations: 4 kB / 482.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.132, allocations: 15.98 kB / 482.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.1321, allocations: 19.92 kB / 482.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1321, allocations: 11.98 kB / 482.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.1324, allocations: 287.1 kB / 482.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1324, allocations: 0 / 482.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005151/0.133, allocations: 95.84 kB / 482.6 MB, free: 1.199 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.0003213/0.1333, allocations: 159.2 kB / 482.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008545/0.1341, allocations: 445.7 kB / 483.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1342, allocations: 1.062 kB / 483.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.1345, allocations: 278 kB / 483.5 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.1352, allocations: 68.53 kB / 483.5 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.1363, allocations: 0.6413 MB / 484.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1367, allocations: 0.7909 MB / 485 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.1368, allocations: 27.42 kB / 485 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1368, allocations: 0 / 485 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Templates: time 0.008727/0.1455, allocations: 5.486 MB / 490.5 MB, free: 9.207 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