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.001561/0.001561, allocations: 106.4 kB / 17.2 MB, free: 6.289 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.001767/0.001767, allocations: 194 kB / 18.12 MB, free: 5.383 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.388/1.388, allocations: 222.9 MB / 241.8 MB, free: 15.37 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.2367/0.2367, allocations: 44.18 MB / 336.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 59.97 kB / 407.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1324, allocations: 60.82 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003869/0.1363, allocations: 1.949 MB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1381, allocations: 1.094 MB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.1382, allocations: 0 / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1385, allocations: 47.73 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1387, allocations: 55.67 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.1391, allocations: 139.5 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1395, allocations: 310.9 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.1395, allocations: 21.67 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1397, allocations: 83.58 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1399, allocations: 107.5 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.1399, allocations: 8 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.1403, allocations: 231.6 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.1404, allocations: 55.8 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.1405, allocations: 91.34 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.1409, allocations: 315.2 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1409, allocations: 0 / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1409, allocations: 4 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.141, allocations: 0 / 473 MB, free: 10.3 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.0009681/0.1419, allocations: 0.5492 MB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.142, allocations: 11.97 kB / 473.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.142, allocations: 24.59 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1423, allocations: 232.4 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1423, allocations: 20.34 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1423, allocations: 20.12 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.1429, allocations: 276.3 kB / 474.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1429, allocations: 3.938 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1429, allocations: 11.94 kB / 474.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.143, allocations: 8 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.1435, allocations: 223.8 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1447, allocations: 0.7694 MB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.1452, allocations: 223.7 kB / 475.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.1455, allocations: 102.5 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.1456, allocations: 4 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.1456, allocations: 34.56 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.1456, allocations: 0 / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009787/0.1466, allocations: 321.1 kB / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.1467, allocations: 106.8 kB / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.147, allocations: 279 kB / 476.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.147, allocations: 33.64 kB / 476.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1471, allocations: 139.9 kB / 476.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1472, allocations: 43.34 kB / 476.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.1473, allocations: 41.7 kB / 476.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1474, allocations: 334.8 kB / 476.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.1477, allocations: 83.91 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.148, allocations: 131.1 kB / 477 MB, free: 6.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.1486, allocations: 216.9 kB / 477.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1486, allocations: 4 kB / 477.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000664/0.1493, allocations: 261.2 kB / 477.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1493, allocations: 11.94 kB / 477.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/0.1493, allocations: 12 kB / 477.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1494, allocations: 0 / 477.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1496, allocations: 39.89 kB / 477.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1496, allocations: 3.984 kB / 477.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1498, allocations: 35.89 kB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.1498, allocations: 15.97 kB / 477.6 MB, free: 5.426 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.0001688/0.15, allocations: 153.6 kB / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.1501, allocations: 27.66 kB / 477.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.1506, allocations: 215.4 kB / 478 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1507, allocations: 8 kB / 478 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1507, allocations: 96 / 478 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1507, allocations: 7.938 kB / 478 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1511, allocations: 261.5 kB / 478.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.1511, allocations: 8 kB / 478.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1513, allocations: 35.91 kB / 478.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.1513, allocations: 3.938 kB / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1514, allocations: 7.984 kB / 478.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1514, allocations: 0 / 478.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1514, allocations: 0 / 478.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.1521, allocations: 477.7 kB / 478.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.1522, allocations: 104.8 kB / 478.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.1522, allocations: 15.94 kB / 478.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.1525, allocations: 11.98 kB / 478.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.1526, allocations: 23.91 kB / 478.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.1526, allocations: 4 kB / 478.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.1528, allocations: 205.9 kB / 479.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1528, allocations: 0 / 479.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.1533, allocations: 71.92 kB / 479.2 MB, free: 3.715 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.000312/0.1536, allocations: 155.6 kB / 479.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006802/0.1543, allocations: 284.8 kB / 479.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1543, allocations: 0 / 479.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.1546, allocations: 169 kB / 479.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.1552, allocations: 57.08 kB / 479.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.1563, allocations: 0.539 MB / 480.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.1568, allocations: 0.7518 MB / 481.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.157, allocations: 45.5 kB / 481.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.157, allocations: 15.44 kB / 481.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1571, allocations: 4 kB / 481.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Templates: time 0.00976/0.1668, allocations: 3.644 MB / 484.8 MB, free: 14.03 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 -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/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches