Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009024/0.0009024, allocations: 97.66 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 204.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.4 MB, free: 9.328 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1995/0.1995, allocations: 46.18 MB / 345.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002675, allocations: 8 kB / 420.2 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1069, allocations: 63.56 MB / 483.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002147/0.1091, allocations: 1.595 MB / 485.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1105, allocations: 0.8336 MB / 486.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.1106, allocations: 4 kB / 486.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1109, allocations: 47.78 kB / 486.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1112, allocations: 83.58 kB / 486.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1114, allocations: 67.8 kB / 486.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.1118, allocations: 362.6 kB / 486.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.561e-05/0.1119, allocations: 40.31 kB / 486.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1121, allocations: 87.58 kB / 486.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1123, allocations: 131.4 kB / 487 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1123, allocations: 4 kB / 487 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.1126, allocations: 119.8 kB / 487.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.1127, allocations: 71.67 kB / 487.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1128, allocations: 125 kB / 487.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1131, allocations: 211.6 kB / 487.5 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1131, allocations: 0 / 487.5 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1131, allocations: 0 / 487.5 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1131, allocations: 0 / 487.5 MB, free: 304 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007537/0.1139, allocations: 0.5108 MB / 488 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1139, allocations: 12.03 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.114, allocations: 28.56 kB / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.1143, allocations: 250.1 kB / 488.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1143, allocations: 12.94 kB / 488.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.1143, allocations: 28.12 kB / 488.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.115, allocations: 385.2 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.115, allocations: 0 / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.115, allocations: 4 kB / 488.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.1151, allocations: 32.64 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.1157, allocations: 378.3 kB / 489.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.1169, allocations: 0.8462 MB / 490 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.1174, allocations: 258.3 kB / 490.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1176, allocations: 104.8 kB / 490.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1176, allocations: 7.938 kB / 490.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.1177, allocations: 34.56 kB / 490.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1177, allocations: 0 / 490.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007759/0.1185, allocations: 356 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1185, allocations: 51.41 kB / 490.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1188, allocations: 338.9 kB / 491.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1189, allocations: 29.7 kB / 491.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.119, allocations: 168 kB / 491.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.1191, allocations: 63.17 kB / 491.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1191, allocations: 25.72 kB / 491.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1192, allocations: 342.8 kB / 491.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.1195, allocations: 100.4 kB / 491.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.1198, allocations: 197.9 kB / 492 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.1204, allocations: 310.8 kB / 492.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1204, allocations: 7.938 kB / 492.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007004/0.1211, allocations: 359.2 kB / 492.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1212, allocations: 14.53 kB / 492.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1212, allocations: 4 kB / 492.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1212, allocations: 4 kB / 492.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.1218, allocations: 123.9 kB / 492.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.1239, allocations: 3.657 MB / 496.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1241, allocations: 43.56 kB / 496.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1241, allocations: 15.98 kB / 496.5 MB, free: 6.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.1244, allocations: 181.8 kB / 496.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.1244, allocations: 23.72 kB / 496.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006988/0.1251, allocations: 347.3 kB / 497.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1251, allocations: 4 kB / 497.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1251, allocations: 0 / 497.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1252, allocations: 3.984 kB / 497.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.1255, allocations: 297.4 kB / 497.4 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1255, allocations: 0 / 497.4 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.126, allocations: 108 kB / 497.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.126, allocations: 0 / 497.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.126, allocations: 11.98 kB / 497.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.1279, allocations: 3.653 MB / 0.4894 GB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1279, allocations: 3.969 kB / 0.4894 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.1285, allocations: 361.8 kB / 0.4897 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.1286, allocations: 108.7 kB / 0.4898 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.1286, allocations: 0 / 0.4898 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1288, allocations: 23.92 kB / 0.4899 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.1289, allocations: 7.984 kB / 0.4899 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.1289, allocations: 15.98 kB / 0.4899 GB, free: 1.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1291, allocations: 245.9 kB / 0.4901 GB, free: 1.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1292, allocations: 3.938 kB / 0.4901 GB, free: 1.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1295, allocations: 75.94 kB / 0.4902 GB, free: 1.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002266/0.1298, allocations: 127.2 kB / 0.4903 GB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00087/0.1306, allocations: 328.4 kB / 0.4906 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1307, allocations: 0 / 0.4906 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.1312, allocations: 199.7 kB / 0.4908 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1317, allocations: 60.48 kB / 0.4909 GB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1327, allocations: 0.6865 MB / 0.4916 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.133, allocations: 0.7911 MB / 0.4923 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.1331, allocations: 27.42 kB / 0.4924 GB, free: 14.9 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1331, allocations: 3.938 kB / 0.4924 GB, free: 14.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01321/0.1463, allocations: 10.78 MB / 0.5029 GB, free: 4.133 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches