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.001088/0.001088, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001159/0.001159, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.33/1.33, allocations: 222.9 MB / 242.6 MB, free: 13.72 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.2026/0.2026, allocations: 44.18 MB / 336.9 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.53 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1024, allocations: 60.84 MB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003596/0.106, allocations: 2.055 MB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1078, allocations: 1.067 MB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.108, allocations: 0 / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1083, allocations: 55.72 kB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1086, allocations: 63.59 kB / 472.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005677/0.1091, allocations: 151 kB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.1095, allocations: 322.5 kB / 473.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.1096, allocations: 36.73 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1099, allocations: 111.4 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1101, allocations: 147.3 kB / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.1101, allocations: 8 kB / 473.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.1105, allocations: 195.7 kB / 473.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.1106, allocations: 75.66 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.1107, allocations: 127.2 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.1111, allocations: 267.5 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1111, allocations: 0 / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1111, allocations: 8 kB / 474.1 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1111, allocations: 0 / 474.1 MB, free: 10 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.001144/0.1123, allocations: 0.6159 MB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1123, allocations: 8.031 kB / 474.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.1124, allocations: 32.56 kB / 474.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1127, allocations: 260.3 kB / 475 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1127, allocations: 28.5 kB / 475 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.1128, allocations: 24 kB / 475 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.1135, allocations: 441.7 kB / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1135, allocations: 0 / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1136, allocations: 12 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.1136, allocations: 20.55 kB / 475.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.1143, allocations: 321.9 kB / 475.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.1158, allocations: 1.096 MB / 476.9 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.1163, allocations: 247.7 kB / 477.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.1166, allocations: 106.5 kB / 477.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.1166, allocations: 7.938 kB / 477.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1167, allocations: 38.55 kB / 477.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.1167, allocations: 3.938 kB / 477.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000983/0.1177, allocations: 353 kB / 477.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1177, allocations: 111.1 kB / 477.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.1181, allocations: 405.5 kB / 478.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1182, allocations: 29.7 kB / 478.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1183, allocations: 191.7 kB / 478.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.1184, allocations: 47.36 kB / 478.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1185, allocations: 61.84 kB / 478.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1186, allocations: 346.7 kB / 478.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.1189, allocations: 124.1 kB / 478.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.1193, allocations: 232.2 kB / 479.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/0.12, allocations: 367 kB / 479.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.12, allocations: 4 kB / 479.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008218/0.1208, allocations: 401.1 kB / 479.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1208, allocations: 4 kB / 479.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/0.1209, allocations: 24 kB / 479.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1209, allocations: 4 kB / 479.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.1211, allocations: 47.89 kB / 480 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.1212, allocations: 15.88 kB / 480 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1215, allocations: 55.5 kB / 480.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.1215, allocations: 24.11 kB / 480.1 MB, free: 3.586 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.0001793/0.1217, allocations: 177.7 kB / 480.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.1218, allocations: 31.62 kB / 480.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/0.1224, allocations: 276.3 kB / 480.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1224, allocations: 0 / 480.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1224, allocations: 7.938 kB / 480.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1224, allocations: 0 / 480.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.1228, allocations: 309.4 kB / 480.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/0.1229, allocations: 20 kB / 480.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.123, allocations: 27.91 kB / 480.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.123, allocations: 0 / 480.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1231, allocations: 11.98 kB / 480.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1231, allocations: 4 kB / 480.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1231, allocations: 8.031 kB / 480.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.1238, allocations: 0.5017 MB / 481.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.1239, allocations: 108.8 kB / 481.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.124, allocations: 7.938 kB / 481.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.1242, allocations: 15.98 kB / 481.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.1243, allocations: 19.92 kB / 481.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1243, allocations: 7.984 kB / 481.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.1246, allocations: 287.1 kB / 481.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1246, allocations: 3.938 kB / 481.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.1251, allocations: 99.84 kB / 482 MB, free: 1.59 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.0002928/0.1254, allocations: 147.3 kB / 482.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.1262, allocations: 453.7 kB / 482.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1262, allocations: 1.062 kB / 482.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.1266, allocations: 278 kB / 482.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.1272, allocations: 61.72 kB / 482.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.1284, allocations: 0.7194 MB / 483.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1287, allocations: 0.7909 MB / 484.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1288, allocations: 27.42 kB / 484.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1288, allocations: 0 / 484.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.008381/0.1372, allocations: 5.498 MB / 489.9 MB, free: 9.527 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