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.0007376/0.0007377, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008469/0.000847, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.18 MB / 345.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002415/0.0002416, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1035, allocations: 63.56 MB / 483.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002334/0.1059, allocations: 1.744 MB / 485.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1078, allocations: 1.149 MB / 486.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1079, allocations: 0 / 486.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.1082, allocations: 47.73 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1084, allocations: 71.58 kB / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.109, allocations: 159.5 kB / 486.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000474/0.1094, allocations: 410.4 kB / 487.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.863e-05/0.1095, allocations: 32.73 kB / 487.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1098, allocations: 111.4 kB / 487.5 MB, free: 412 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.11, allocations: 151.2 kB / 487.6 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.11, allocations: 8 kB / 487.6 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.1104, allocations: 199.8 kB / 487.8 MB, free: 52 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1105, allocations: 75.78 kB / 487.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1107, allocations: 148.8 kB / 488 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.111, allocations: 271.4 kB / 488.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.111, allocations: 8 kB / 488.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1111, allocations: 0 / 488.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1111, allocations: 0 / 488.3 MB, free: 15.55 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.0009852/0.1121, allocations: 0.5809 MB / 488.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1121, allocations: 12.03 kB / 488.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.1125, allocations: 76.52 kB / 489 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1128, allocations: 264.3 kB / 489.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1128, allocations: 20.5 kB / 489.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.1129, allocations: 28 kB / 489.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.1136, allocations: 441.8 kB / 489.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1136, allocations: 0 / 489.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.1137, allocations: 12 kB / 489.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.1137, allocations: 12.56 kB / 489.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.1145, allocations: 349.9 kB / 490.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1159, allocations: 1.108 MB / 491.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.1164, allocations: 251.7 kB / 491.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.1168, allocations: 126.4 kB / 491.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.1168, allocations: 11.97 kB / 491.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1168, allocations: 38.56 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1168, allocations: 0 / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001065/0.1179, allocations: 393.2 kB / 492 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.118, allocations: 106.8 kB / 492.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.1184, allocations: 413.5 kB / 492.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1185, allocations: 29.64 kB / 492.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1186, allocations: 195.8 kB / 492.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.1187, allocations: 43.36 kB / 492.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1187, allocations: 33.7 kB / 492.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1189, allocations: 346.8 kB / 493.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.1192, allocations: 128.1 kB / 493.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1196, allocations: 249.6 kB / 493.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.1203, allocations: 394.9 kB / 493.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1203, allocations: 0 / 493.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008714/0.1212, allocations: 428.7 kB / 494.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1212, allocations: 4 kB / 494.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.293e-05/0.1213, allocations: 24 kB / 494.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1213, allocations: 4.5 kB / 494.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.1216, allocations: 63.89 kB / 494.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.1216, allocations: 11.92 kB / 494.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.1219, allocations: 63.5 kB / 494.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1219, allocations: 12 kB / 494.5 MB, free: 8.98 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.0001879/0.1221, allocations: 189.6 kB / 494.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.1222, allocations: 31.62 kB / 494.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.1228, allocations: 296.4 kB / 495 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.1229, allocations: 4 kB / 495 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1229, allocations: 3.938 kB / 495 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1229, allocations: 0 / 495 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.1234, allocations: 313.4 kB / 495.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/0.1234, allocations: 16 kB / 495.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1236, allocations: 35.97 kB / 495.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1236, allocations: 3.938 kB / 495.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1236, allocations: 7.984 kB / 495.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1236, allocations: 0 / 495.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1236, allocations: 7.938 kB / 495.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.1244, allocations: 0.5286 MB / 495.9 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.1245, allocations: 104.7 kB / 496 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.1245, allocations: 7.984 kB / 496 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.1248, allocations: 23.98 kB / 496 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.1249, allocations: 19.86 kB / 496 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1249, allocations: 12.08 kB / 496.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.1252, allocations: 299.1 kB / 496.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1252, allocations: 0 / 496.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.1258, allocations: 95.92 kB / 496.4 MB, free: 6.914 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.0002817/0.1261, allocations: 155.2 kB / 496.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008291/0.1269, allocations: 453.9 kB / 497 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1269, allocations: 4.875 kB / 497 MB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.1273, allocations: 286 kB / 497.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.1279, allocations: 65.89 kB / 497.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1291, allocations: 0.7347 MB / 498.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.1295, allocations: 0.8028 MB / 498.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.1296, allocations: 23.42 kB / 499 MB, free: 4.262 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1296, allocations: 0 / 499 MB, free: 4.262 MB / 366.1 MB Notification: Performance of Templates: time 0.008629/0.1382, allocations: 5.515 MB / 0.4926 GB, free: 14.77 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