Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 74.78 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1002, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003004/0.1032, allocations: 2.028 MB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1047, allocations: 1.157 MB / 484.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.1048, allocations: 4 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.105, allocations: 47.67 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1052, allocations: 79.47 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.1057, allocations: 182.8 kB / 485 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.106, allocations: 330.5 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.1061, allocations: 32.73 kB / 485.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1063, allocations: 123.4 kB / 485.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1065, allocations: 147.2 kB / 485.6 MB, free: 412 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1065, allocations: 8 kB / 485.6 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.1068, allocations: 203.8 kB / 485.8 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.1069, allocations: 75.66 kB / 485.9 MB, free: 124 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.107, allocations: 123.1 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.1075, allocations: 406.6 kB / 486.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1075, allocations: 0 / 486.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1075, allocations: 3.938 kB / 486.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1075, allocations: 0 / 486.4 MB, free: 15.59 MB / 366.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.0008933/0.1084, allocations: 0.6198 MB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.1085, allocations: 8.031 kB / 487 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.1088, allocations: 68.52 kB / 487.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1091, allocations: 255.7 kB / 487.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1091, allocations: 32.44 kB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.1092, allocations: 31.92 kB / 487.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.1098, allocations: 429.9 kB / 487.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1098, allocations: 0 / 487.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.1099, allocations: 12 kB / 487.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.1099, allocations: 16.55 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.1105, allocations: 321.9 kB / 488.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.1119, allocations: 1.104 MB / 489.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.1123, allocations: 243.7 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.1126, allocations: 106.5 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.1126, allocations: 4 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1126, allocations: 50.42 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.1126, allocations: 0 / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008592/0.1135, allocations: 349.3 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1136, allocations: 102.8 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.1139, allocations: 413.4 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.114, allocations: 25.7 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1141, allocations: 199.7 kB / 490.7 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1141, allocations: 47.3 kB / 490.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1142, allocations: 65.83 kB / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1144, allocations: 346.8 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.1146, allocations: 116.1 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.1149, allocations: 231.8 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005807/0.1155, allocations: 367 kB / 491.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1155, allocations: 0 / 491.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007359/0.1163, allocations: 404.7 kB / 492.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1163, allocations: 8 kB / 492.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.1164, allocations: 23.98 kB / 492.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1164, allocations: 8 kB / 492.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1166, allocations: 47.91 kB / 492.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.1166, allocations: 20.25 kB / 492.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1169, allocations: 55.52 kB / 492.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1169, allocations: 16 kB / 492.4 MB, free: 9.148 MB / 366.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.0001515/0.1171, allocations: 177.7 kB / 492.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.1171, allocations: 27.62 kB / 492.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.1177, allocations: 292.1 kB / 492.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1177, allocations: 4 kB / 492.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1177, allocations: 3.938 kB / 492.9 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1177, allocations: 3.984 kB / 492.9 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.1181, allocations: 305.4 kB / 493.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.114e-05/0.1182, allocations: 19.98 kB / 493.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1183, allocations: 27.97 kB / 493.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1183, allocations: 4 kB / 493.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1184, allocations: 4 kB / 493.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1184, allocations: 4 kB / 493.3 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1184, allocations: 3.938 kB / 493.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.119, allocations: 0.5054 MB / 493.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.1191, allocations: 108.7 kB / 493.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1191, allocations: 4 kB / 493.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.1194, allocations: 19.97 kB / 493.9 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.1195, allocations: 19.92 kB / 494 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1195, allocations: 8 kB / 494 MB, free: 7.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002545/0.1198, allocations: 291.1 kB / 494.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1198, allocations: 0 / 494.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000443/0.1202, allocations: 95.94 kB / 494.3 MB, free: 7.145 MB / 366.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.0002261/0.1204, allocations: 151.2 kB / 494.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.1211, allocations: 430.7 kB / 494.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1212, allocations: 4 kB / 494.9 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.1215, allocations: 274.2 kB / 495.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.1221, allocations: 85.7 kB / 495.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.123, allocations: 0.6121 MB / 495.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1233, allocations: 0.7987 MB / 496.7 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1235, allocations: 66.91 kB / 496.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.1235, allocations: 19.44 kB / 496.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1236, allocations: 0 / 496.8 MB, free: 4.586 MB / 366.1 MB Notification: Performance of Templates: time 0.008748/0.1323, allocations: 5.732 MB / 0.4907 GB, free: 14.93 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches