Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002348/0.002348, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.1 MB / 344.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 71.72 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1177, allocations: 62.45 MB / 480 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003565/0.1213, allocations: 1.908 MB / 482 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1233, allocations: 1.168 MB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1235, allocations: 0 / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.1238, allocations: 55.67 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.124, allocations: 67.53 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.1246, allocations: 173.7 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.1249, allocations: 227.1 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.125, allocations: 29.66 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1252, allocations: 99.5 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.1254, allocations: 99.52 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.1255, allocations: 12 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.1259, allocations: 247.6 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.126, allocations: 59.73 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.1261, allocations: 87.47 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.1266, allocations: 331.1 kB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1266, allocations: 3.938 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1266, allocations: 0 / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1266, allocations: 4 kB / 484.6 MB, free: 0.7109 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009818/0.1276, allocations: 0.5492 MB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1276, allocations: 8.031 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.128, allocations: 56.61 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1283, allocations: 244.6 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1283, allocations: 16.3 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1283, allocations: 20.12 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.1289, allocations: 281.6 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1289, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1289, allocations: 7.938 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1289, allocations: 12 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.1295, allocations: 223.5 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1305, allocations: 0.7655 MB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.1311, allocations: 231.7 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1314, allocations: 102.5 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.1314, allocations: 3.984 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1315, allocations: 38.55 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.1315, allocations: 0 / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009818/0.1324, allocations: 325.1 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.1325, allocations: 102.8 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.1329, allocations: 286.8 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1329, allocations: 25.7 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.133, allocations: 136 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.1331, allocations: 55.31 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1332, allocations: 45.62 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1334, allocations: 326.8 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.1337, allocations: 83.91 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.1339, allocations: 125.1 kB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.1345, allocations: 220.9 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1345, allocations: 0 / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006782/0.1352, allocations: 261.1 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1352, allocations: 7.938 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/0.1353, allocations: 15.98 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.1353, allocations: 7.938 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.1355, allocations: 27.97 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1356, allocations: 8.156 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1358, allocations: 39.75 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.1358, allocations: 4 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001468/0.136, allocations: 145.8 kB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.1361, allocations: 27.66 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.1366, allocations: 223.3 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1366, allocations: 4 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1366, allocations: 0 / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1366, allocations: 96 / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.137, allocations: 273.4 kB / 489.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.1371, allocations: 16 kB / 489.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1372, allocations: 35.89 kB / 489.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.1373, allocations: 3.938 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1373, allocations: 4 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1373, allocations: 4 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1373, allocations: 0 / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.138, allocations: 481.7 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.1381, allocations: 104.7 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.1381, allocations: 7.938 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.1384, allocations: 19.91 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.1385, allocations: 15.98 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1385, allocations: 4 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1387, allocations: 205.9 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1387, allocations: 0 / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.1392, allocations: 79.92 kB / 490.8 MB, free: 10.08 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003754/0.1396, allocations: 151.2 kB / 490.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007024/0.1403, allocations: 292.8 kB / 491.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1403, allocations: 0 / 491.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.1407, allocations: 181.3 kB / 491.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.1412, allocations: 52.95 kB / 491.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008576/0.1421, allocations: 490.7 kB / 491.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1424, allocations: 0.7593 MB / 492.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1426, allocations: 41.52 kB / 492.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.1427, allocations: 19.44 kB / 492.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1427, allocations: 0 / 492.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of Templates: time 0.007918/0.1506, allocations: 3.939 MB / 496.7 MB, free: 4.133 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches