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.001437/0.001437, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 74.41 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1081, allocations: 62.45 MB / 480.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003718/0.1118, allocations: 1.911 MB / 482.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1139, allocations: 1.164 MB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.114, allocations: 0 / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1143, allocations: 47.69 kB / 483.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1146, allocations: 71.52 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.1152, allocations: 179.3 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.1156, allocations: 231 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.1156, allocations: 25.67 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1159, allocations: 91.52 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1161, allocations: 111.5 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1161, allocations: 8 kB / 484.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.1166, allocations: 247.6 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.1167, allocations: 55.75 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1168, allocations: 83.47 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.1173, allocations: 343.1 kB / 485.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1173, allocations: 4 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1173, allocations: 0 / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1173, allocations: 0 / 485.3 MB, free: 0.6992 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.001072/0.1184, allocations: 0.5492 MB / 485.8 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1185, allocations: 8.031 kB / 485.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.1189, allocations: 60.61 kB / 485.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1192, allocations: 240.6 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1192, allocations: 16.31 kB / 486.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1192, allocations: 20.12 kB / 486.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.1198, allocations: 285.6 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1198, allocations: 0 / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1198, allocations: 8 kB / 486.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.1198, allocations: 8 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.1204, allocations: 223.5 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1215, allocations: 0.7695 MB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.122, allocations: 227.7 kB / 487.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.1223, allocations: 98.48 kB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1224, allocations: 4 kB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1224, allocations: 38.59 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1224, allocations: 0 / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009442/0.1233, allocations: 313.4 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1234, allocations: 110.8 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.1237, allocations: 282.5 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1237, allocations: 25.8 kB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1238, allocations: 143.8 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1239, allocations: 51.36 kB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.124, allocations: 45.62 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1241, allocations: 330.8 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1244, allocations: 87.91 kB / 489.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1246, allocations: 127.2 kB / 489.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.1252, allocations: 216.9 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1252, allocations: 4 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006449/0.1258, allocations: 257 kB / 489.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1259, allocations: 11.94 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.1259, allocations: 15.98 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1259, allocations: 160 / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.1261, allocations: 35.97 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1261, allocations: 4 kB / 489.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1263, allocations: 35.75 kB / 489.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1264, allocations: 8 kB / 489.9 MB, free: 11.79 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.000161/0.1265, allocations: 149.8 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.1266, allocations: 23.66 kB / 490 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.1271, allocations: 231.5 kB / 490.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1272, allocations: 0 / 490.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1272, allocations: 7.938 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1272, allocations: 0 / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1276, allocations: 257.5 kB / 490.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/0.1276, allocations: 12 kB / 490.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1278, allocations: 31.95 kB / 490.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1278, allocations: 11.94 kB / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1279, allocations: 0 / 490.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1279, allocations: 8 kB / 490.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1279, allocations: 0 / 490.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.1285, allocations: 489.6 kB / 491 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.1286, allocations: 100.8 kB / 491.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1287, allocations: 3.938 kB / 491.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.1289, allocations: 27.91 kB / 491.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.129, allocations: 7.984 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.129, allocations: 12 kB / 491.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1292, allocations: 201.9 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1292, allocations: 96 / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000459/0.1297, allocations: 83.86 kB / 491.5 MB, free: 10.07 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.0003125/0.13, allocations: 159.2 kB / 491.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.1307, allocations: 288.8 kB / 491.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1307, allocations: 0 / 491.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.131, allocations: 181.3 kB / 492.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.1316, allocations: 48.27 kB / 492.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.1325, allocations: 0.504 MB / 492.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1329, allocations: 0.7554 MB / 493.4 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.133, allocations: 19.42 kB / 493.4 MB, free: 8.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.133, allocations: 384 / 493.4 MB, free: 8.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006567/0.1395, allocations: 3.895 MB / 497.3 MB, free: 4.137 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/jenkins1/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/jenkins1/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