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.001167/0.001167, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.12 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 79.39 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003324/0.1078, allocations: 2.022 MB / 482.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1096, allocations: 1.153 MB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1098, allocations: 4 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.1101, allocations: 59.61 kB / 484 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1104, allocations: 79.5 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.111, allocations: 174.9 kB / 484.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.1114, allocations: 326.6 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.1115, allocations: 32.72 kB / 484.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.1117, allocations: 127.4 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.112, allocations: 143.2 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.112, allocations: 8 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.1124, allocations: 219.7 kB / 485 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.1125, allocations: 71.67 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.1126, allocations: 127.1 kB / 485.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004824/0.1131, allocations: 398.8 kB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1131, allocations: 0 / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1131, allocations: 0 / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1132, allocations: 0 / 485.6 MB, free: 368 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001079/0.1142, allocations: 0.6237 MB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1143, allocations: 12.03 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.1147, allocations: 64.52 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.115, allocations: 263.7 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.115, allocations: 20.5 kB / 486.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.115, allocations: 28 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.1157, allocations: 425.9 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1157, allocations: 3.938 kB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.1158, allocations: 16 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.1158, allocations: 16.55 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006619/0.1165, allocations: 325.9 kB / 487.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1179, allocations: 1.096 MB / 488.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.1184, allocations: 239.7 kB / 488.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.1187, allocations: 118.4 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.1187, allocations: 7.984 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1187, allocations: 34.56 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.1187, allocations: 3.938 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000991/0.1197, allocations: 349.2 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1198, allocations: 110.8 kB / 489.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.1202, allocations: 413.4 kB / 489.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1203, allocations: 29.7 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1204, allocations: 191.9 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1204, allocations: 47.36 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1206, allocations: 61.84 kB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1207, allocations: 346.8 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.121, allocations: 116.1 kB / 490.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1214, allocations: 239.7 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.1221, allocations: 359.1 kB / 491.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1221, allocations: 7.938 kB / 491.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008164/0.1229, allocations: 400.7 kB / 491.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1229, allocations: 10.97 kB / 491.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/0.123, allocations: 27.94 kB / 491.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.123, allocations: 8 kB / 491.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.1232, allocations: 47.89 kB / 491.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1233, allocations: 7.938 kB / 491.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1235, allocations: 59.5 kB / 491.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.1236, allocations: 16 kB / 491.7 MB, free: 9.914 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.0001729/0.1237, allocations: 181.6 kB / 491.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.1238, allocations: 35.62 kB / 491.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.1244, allocations: 284 kB / 492.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1244, allocations: 3.938 kB / 492.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1245, allocations: 7.938 kB / 492.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1245, allocations: 0 / 492.2 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.1249, allocations: 305.4 kB / 492.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/0.125, allocations: 24 kB / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.1251, allocations: 23.97 kB / 492.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1251, allocations: 0 / 492.5 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1251, allocations: 11.98 kB / 492.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1252, allocations: 4 kB / 492.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1252, allocations: 3.938 kB / 492.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.1259, allocations: 0.5014 MB / 493 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.126, allocations: 108.7 kB / 493.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.126, allocations: 0 / 493.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.1263, allocations: 19.98 kB / 493.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.1264, allocations: 19.92 kB / 493.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1264, allocations: 11.98 kB / 493.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.1267, allocations: 287.1 kB / 493.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1267, allocations: 0 / 493.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005173/0.1272, allocations: 103.9 kB / 493.6 MB, free: 7.902 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.0002994/0.1275, allocations: 151.2 kB / 493.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.1283, allocations: 441.9 kB / 494.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1283, allocations: 4 kB / 494.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.1287, allocations: 275 kB / 494.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.1293, allocations: 78.19 kB / 494.5 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.1304, allocations: 0.6371 MB / 495.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1308, allocations: 0.7909 MB / 495.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.1308, allocations: 31.42 kB / 496 MB, free: 5.367 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1308, allocations: 0 / 496 MB, free: 5.367 MB / 366.1 MB Notification: Performance of Templates: time 0.007725/0.1386, allocations: 5.564 MB / 0.4898 GB, free: 15.83 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 -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