Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 68.7 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1214, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003412/0.1248, allocations: 1.894 MB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1265, allocations: 1.09 MB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.1266, allocations: 0 / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.1269, allocations: 47.67 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1271, allocations: 63.61 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.1275, allocations: 170.1 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1278, allocations: 223 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.1279, allocations: 25.67 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.128, allocations: 83.56 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1282, allocations: 107.5 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1283, allocations: 8 kB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1286, allocations: 243.6 kB / 474.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.1287, allocations: 47.81 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1288, allocations: 95.34 kB / 474.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.1292, allocations: 318.9 kB / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1292, allocations: 0 / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1293, allocations: 4 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1293, allocations: 3.938 kB / 475.1 MB, free: 9.215 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.0009985/0.1303, allocations: 0.5453 MB / 475.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1303, allocations: 8.031 kB / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.1304, allocations: 32.64 kB / 475.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.1307, allocations: 227.9 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1307, allocations: 12.38 kB / 475.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.1308, allocations: 16.12 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.1313, allocations: 284.2 kB / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1313, allocations: 0 / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.1313, allocations: 8 kB / 476.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.1314, allocations: 15.98 kB / 476.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.1319, allocations: 216.4 kB / 476.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1329, allocations: 0.7694 MB / 477.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.1334, allocations: 227.7 kB / 477.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.1337, allocations: 106.4 kB / 477.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.1338, allocations: 7.969 kB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1338, allocations: 38.56 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1338, allocations: 0 / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008828/0.1347, allocations: 317.2 kB / 477.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1347, allocations: 106.8 kB / 478 MB, free: 6.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.135, allocations: 278.8 kB / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.135, allocations: 29.7 kB / 478.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.1351, allocations: 143.9 kB / 478.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.1352, allocations: 39.36 kB / 478.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.1352, allocations: 45.7 kB / 478.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1354, allocations: 338.8 kB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1356, allocations: 79.92 kB / 479 MB, free: 5.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.1358, allocations: 133 kB / 479.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.1363, allocations: 217.3 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1363, allocations: 3.984 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005766/0.1369, allocations: 261.1 kB / 479.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1369, allocations: 7.938 kB / 479.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.137, allocations: 12 kB / 479.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.137, allocations: 4 kB / 479.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1372, allocations: 31.91 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1372, allocations: 4.156 kB / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1374, allocations: 43.66 kB / 479.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1374, allocations: 8 kB / 479.7 MB, free: 4.348 MB / 350.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.0001332/0.1376, allocations: 153.7 kB / 479.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.1376, allocations: 23.66 kB / 479.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.1381, allocations: 215.4 kB / 480 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1381, allocations: 7.984 kB / 480.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1381, allocations: 4 kB / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1381, allocations: 3.984 kB / 480.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1385, allocations: 265.4 kB / 480.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/0.1386, allocations: 8 kB / 480.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.1387, allocations: 35.91 kB / 480.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1387, allocations: 7.938 kB / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1388, allocations: 0 / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1388, allocations: 4 kB / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1388, allocations: 96 / 480.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1394, allocations: 481.6 kB / 480.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.1395, allocations: 100.8 kB / 480.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.1395, allocations: 15.92 kB / 481 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1398, allocations: 19.92 kB / 481 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.1398, allocations: 11.98 kB / 481 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1399, allocations: 12 kB / 481 MB, free: 2.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.14, allocations: 205.9 kB / 481.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 0 / 481.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004209/0.1405, allocations: 75.94 kB / 481.3 MB, free: 2.633 MB / 350.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.0002564/0.1407, allocations: 151.2 kB / 481.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005827/0.1413, allocations: 280.8 kB / 481.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1413, allocations: 0 / 481.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.1416, allocations: 185 kB / 481.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.1422, allocations: 53.12 kB / 481.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.143, allocations: 486.4 kB / 482.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1433, allocations: 0.7554 MB / 483.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.1434, allocations: 41.52 kB / 483.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.1434, allocations: 23.42 kB / 483.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1435, allocations: 0 / 483.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of Templates: time 0.00715/0.1506, allocations: 3.892 MB / 487.1 MB, free: 12.75 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches