Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001143/0.001143, allocations: 104.9 kB / 17.03 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.001047/0.001047, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2199/0.2199, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 68.23 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 57.78 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.0027/0.1116, allocations: 2.014 MB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1129, allocations: 1.119 MB / 445.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.113, allocations: 0 / 445.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1132, allocations: 59.67 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1134, allocations: 71.45 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1138, allocations: 175.4 kB / 445.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.1141, allocations: 314.6 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.055e-05/0.1141, allocations: 28.73 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1143, allocations: 119.4 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1144, allocations: 147.2 kB / 446 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.1145, allocations: 12 kB / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.1147, allocations: 183.8 kB / 446.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.1148, allocations: 75.61 kB / 446.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.1149, allocations: 123.2 kB / 446.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.1153, allocations: 390.6 kB / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1153, allocations: 0 / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1153, allocations: 0 / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1153, allocations: 0 / 446.8 MB, free: 1.305 MB / 318.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.0008807/0.1162, allocations: 0.6275 MB / 447.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1162, allocations: 11.89 kB / 447.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.1163, allocations: 36.47 kB / 447.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1165, allocations: 251.8 kB / 447.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1166, allocations: 24.5 kB / 447.7 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.1166, allocations: 28 kB / 447.7 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.1172, allocations: 429.9 kB / 448.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1173, allocations: 0 / 448.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1173, allocations: 12 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.1173, allocations: 16.5 kB / 448.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.118, allocations: 325.9 kB / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1194, allocations: 1.1 MB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.1199, allocations: 247.7 kB / 449.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.1202, allocations: 110.5 kB / 450 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.1202, allocations: 4 kB / 450 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1202, allocations: 38.48 kB / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.1203, allocations: 0 / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009514/0.1212, allocations: 361 kB / 450.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.1213, allocations: 106.8 kB / 450.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.1217, allocations: 413.4 kB / 450.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1217, allocations: 25.7 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1218, allocations: 192 kB / 451.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.1219, allocations: 51.25 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.122, allocations: 57.94 kB / 451.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1221, allocations: 346.8 kB / 451.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1224, allocations: 112.1 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.1228, allocations: 233.2 kB / 451.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.1235, allocations: 375.2 kB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1235, allocations: 0 / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008245/0.1243, allocations: 396.7 kB / 452.6 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1243, allocations: 4.531 kB / 452.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.785e-05/0.1244, allocations: 31.92 kB / 452.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1244, allocations: 8 kB / 452.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.1247, allocations: 47.89 kB / 452.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.1247, allocations: 15.88 kB / 452.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.125, allocations: 51.52 kB / 452.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.125, allocations: 23.98 kB / 452.8 MB, free: 10.89 MB / 334.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.0001981/0.1252, allocations: 177.6 kB / 453 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.1253, allocations: 31.62 kB / 453 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005984/0.1259, allocations: 280.2 kB / 453.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.126, allocations: 4 kB / 453.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.126, allocations: 3.938 kB / 453.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.126, allocations: 0 / 453.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1265, allocations: 305.5 kB / 453.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.1265, allocations: 27.94 kB / 453.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1267, allocations: 23.97 kB / 453.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.1267, allocations: 4 kB / 453.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1267, allocations: 4 kB / 453.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1267, allocations: 4 kB / 453.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1267, allocations: 7.922 kB / 453.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.1274, allocations: 0.5053 MB / 454.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1276, allocations: 108.7 kB / 454.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.1276, allocations: 4 kB / 454.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.1279, allocations: 19.97 kB / 454.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.128, allocations: 23.92 kB / 454.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.128, allocations: 4 kB / 454.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002987/0.1283, allocations: 295.1 kB / 454.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 454.6 MB, free: 8.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.1288, allocations: 87.94 kB / 454.7 MB, free: 8.895 MB / 334.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.0003064/0.1292, allocations: 151.1 kB / 454.8 MB, free: 8.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007611/0.1299, allocations: 434.4 kB / 455.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1299, allocations: 0 / 455.3 MB, free: 8.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.1304, allocations: 278 kB / 455.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.131, allocations: 84.27 kB / 455.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1322, allocations: 0.6005 MB / 456.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1326, allocations: 0.7987 MB / 457 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.1328, allocations: 62.92 kB / 457.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.1329, allocations: 23.44 kB / 457.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1329, allocations: 0 / 457.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of Templates: time 0.01076/0.1436, allocations: 5.69 MB / 462.8 MB, free: 0.707 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches