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.001038/0.001038, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.001363/0.001363, allocations: 180.2 kB / 18.91 MB, free: 4.871 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.345/1.345, allocations: 223.3 MB / 242.9 MB, free: 88 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1922/0.1922, allocations: 44.24 MB / 338.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 9.531 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002515/0.1064, allocations: 1.715 MB / 474.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1083, allocations: 1.06 MB / 475.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1084, allocations: 7.938 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1087, allocations: 51.73 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.1089, allocations: 59.66 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.1095, allocations: 143.6 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.1099, allocations: 410.4 kB / 476.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.11, allocations: 32.73 kB / 476.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.1103, allocations: 115.4 kB / 476.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.1105, allocations: 143.4 kB / 476.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.1106, allocations: 8 kB / 476.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.111, allocations: 187.7 kB / 476.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1111, allocations: 71.67 kB / 476.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1113, allocations: 156.8 kB / 477.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.1117, allocations: 263.5 kB / 477.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1117, allocations: 4 kB / 477.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1117, allocations: 0 / 477.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1117, allocations: 0 / 477.3 MB, free: 8.875 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.001112/0.1128, allocations: 0.5848 MB / 477.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1129, allocations: 15.97 kB / 477.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/0.113, allocations: 28.56 kB / 478 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1133, allocations: 260.3 kB / 478.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.1134, allocations: 28.48 kB / 478.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1134, allocations: 27.94 kB / 478.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.1142, allocations: 437.9 kB / 478.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1142, allocations: 4 kB / 478.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.1143, allocations: 12 kB / 478.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.1143, allocations: 24.48 kB / 478.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007411/0.1151, allocations: 349.9 kB / 479.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1165, allocations: 1.104 MB / 480.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.1171, allocations: 247.7 kB / 480.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.1174, allocations: 122.5 kB / 480.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.1174, allocations: 7.984 kB / 480.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1175, allocations: 38.5 kB / 480.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.1175, allocations: 0 / 480.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001067/0.1186, allocations: 393.2 kB / 481 MB, free: 5.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1187, allocations: 110.9 kB / 481.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.1191, allocations: 409.4 kB / 481.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1191, allocations: 25.7 kB / 481.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1193, allocations: 199.7 kB / 481.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.1193, allocations: 43.36 kB / 481.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1194, allocations: 29.7 kB / 481.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1195, allocations: 346.8 kB / 482.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.1199, allocations: 132.1 kB / 482.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.1203, allocations: 235.8 kB / 482.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007964/0.1211, allocations: 407.2 kB / 482.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.1211, allocations: 4 kB / 482.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009516/0.1221, allocations: 425.1 kB / 483.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1221, allocations: 8 kB / 483.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/0.1221, allocations: 24 kB / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1222, allocations: 8 kB / 483.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1224, allocations: 51.89 kB / 483.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.1225, allocations: 20 kB / 483.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.1228, allocations: 63.5 kB / 483.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.1228, allocations: 16 kB / 483.5 MB, free: 2.332 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.0002009/0.123, allocations: 175.3 kB / 483.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1231, allocations: 31.62 kB / 483.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.1238, allocations: 300.2 kB / 484 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1238, allocations: 0 / 484 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.068e-06/0.1238, allocations: 11.94 kB / 484 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1239, allocations: 0 / 484 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.1244, allocations: 305.4 kB / 484.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/0.1244, allocations: 20 kB / 484.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1246, allocations: 27.97 kB / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1246, allocations: 0 / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1246, allocations: 15.98 kB / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1246, allocations: 0 / 484.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1246, allocations: 7.938 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.1255, allocations: 0.5314 MB / 484.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1256, allocations: 104.7 kB / 485 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.1256, allocations: 7.984 kB / 485 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1259, allocations: 23.98 kB / 485 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.126, allocations: 19.92 kB / 485 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.126, allocations: 11.98 kB / 485 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.1263, allocations: 287.1 kB / 485.3 MB, free: 392 kB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1264, allocations: 0 / 485.3 MB, free: 392 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000529/0.1269, allocations: 91.94 kB / 485.4 MB, free: 300 kB / 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.0003278/0.1272, allocations: 155.1 kB / 485.6 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008731/0.1281, allocations: 458.5 kB / 486 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1281, allocations: 0 / 486 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.1285, allocations: 290.4 kB / 486.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006546/0.1292, allocations: 65.81 kB / 486.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1305, allocations: 0.731 MB / 487.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1309, allocations: 0.7911 MB / 487.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.131, allocations: 27.42 kB / 487.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.131, allocations: 4 kB / 487.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.009942/0.141, allocations: 5.465 MB / 493.4 MB, free: 8.215 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