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.00121/0.001209, allocations: 110 kB / 18.3 MB, free: 4.84 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.001204/0.001204, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.437/1.437, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2081/0.2081, allocations: 44.19 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.44 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1199, allocations: 60.83 MB / 470 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003152/0.1231, allocations: 1.888 MB / 471.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1249, allocations: 1.082 MB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.125, allocations: 0 / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1253, allocations: 55.62 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1255, allocations: 59.59 kB / 473 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.1261, allocations: 174.4 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1264, allocations: 227 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.1265, allocations: 21.61 kB / 473.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1267, allocations: 83.62 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.1269, allocations: 103.5 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1269, allocations: 8 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.1273, allocations: 239.6 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.1274, allocations: 59.75 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.1275, allocations: 95.34 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.1279, allocations: 315.2 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.128, allocations: 0 / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.128, allocations: 0 / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.128, allocations: 0 / 474.3 MB, free: 9.949 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.0009772/0.129, allocations: 0.5453 MB / 474.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.129, allocations: 12.03 kB / 474.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.1291, allocations: 24.64 kB / 474.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1293, allocations: 235.8 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1293, allocations: 8.375 kB / 475.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1294, allocations: 24.12 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.1299, allocations: 276.3 kB / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1299, allocations: 0 / 475.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1299, allocations: 12 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.13, allocations: 11.98 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.1305, allocations: 215.7 kB / 475.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1316, allocations: 0.7695 MB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.1321, allocations: 227.7 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1324, allocations: 98.53 kB / 476.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.1325, allocations: 15.97 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1325, allocations: 34.56 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1325, allocations: 0 / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000952/0.1334, allocations: 313.3 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1335, allocations: 110.8 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1338, allocations: 274.6 kB / 477.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1338, allocations: 33.81 kB / 477.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.1339, allocations: 139.8 kB / 477.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.134, allocations: 47.36 kB / 477.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.134, allocations: 41.7 kB / 477.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1342, allocations: 334.9 kB / 478.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.1344, allocations: 87.86 kB / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1347, allocations: 129 kB / 478.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.1353, allocations: 216.9 kB / 478.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1353, allocations: 7.984 kB / 478.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006352/0.1359, allocations: 261.2 kB / 478.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1359, allocations: 7.938 kB / 478.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.136, allocations: 8 kB / 478.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.136, allocations: 8.156 kB / 478.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.1362, allocations: 39.91 kB / 478.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1362, allocations: 0 / 478.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.1364, allocations: 35.72 kB / 478.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.1364, allocations: 4 kB / 478.9 MB, free: 5.09 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.0001409/0.1366, allocations: 153.7 kB / 479 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.1367, allocations: 31.59 kB / 479.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.1372, allocations: 223.5 kB / 479.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1372, allocations: 4 kB / 479.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1372, allocations: 0 / 479.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1372, allocations: 3.984 kB / 479.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.1376, allocations: 269.4 kB / 479.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.1376, allocations: 12 kB / 479.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.1378, allocations: 31.97 kB / 479.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1379, allocations: 3.938 kB / 479.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1379, allocations: 8 kB / 479.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1379, allocations: 0 / 479.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1379, allocations: 3.938 kB / 479.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.1386, allocations: 477.8 kB / 480.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1386, allocations: 104.7 kB / 480.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.1387, allocations: 11.92 kB / 480.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.1389, allocations: 15.98 kB / 480.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.139, allocations: 15.98 kB / 480.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.139, allocations: 4 kB / 480.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1392, allocations: 205.9 kB / 480.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1392, allocations: 0 / 480.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004442/0.1397, allocations: 75.94 kB / 480.5 MB, free: 3.371 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.000268/0.14, allocations: 159.2 kB / 480.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.1407, allocations: 288.8 kB / 480.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1407, allocations: 320 / 480.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.141, allocations: 181 kB / 481.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.1416, allocations: 48.39 kB / 481.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.1424, allocations: 0.5079 MB / 481.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1427, allocations: 0.7593 MB / 482.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.1428, allocations: 19.44 kB / 482.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1428, allocations: 0 / 482.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Templates: time 0.005848/0.1486, allocations: 3.841 MB / 486.3 MB, free: 13.5 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/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