Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001143/0.001143, allocations: 117.6 kB / 17.08 MB, free: 5.965 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.00106/0.00106, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2511/0.2511, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00344/0.1281, allocations: 1.894 MB / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1299, allocations: 1.138 MB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.1299, allocations: 0 / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1302, allocations: 47.69 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1305, allocations: 63.59 kB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.131, allocations: 159.4 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.1313, allocations: 231 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.935e-05/0.1314, allocations: 25.66 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1315, allocations: 91.56 kB / 0.4921 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1317, allocations: 107.5 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1317, allocations: 8 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.1321, allocations: 235.6 kB / 0.4925 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.1322, allocations: 51.81 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.1323, allocations: 91.41 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.1328, allocations: 314.9 kB / 0.4929 GB, free: 7.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1328, allocations: 0 / 0.4929 GB, free: 7.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1328, allocations: 4 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.1328, allocations: 4 kB / 0.4929 GB, free: 7.293 MB / 382.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.001114/0.1339, allocations: 0.5528 MB / 0.4934 GB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.134, allocations: 11.89 kB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.1341, allocations: 24.66 kB / 0.4935 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1344, allocations: 231.9 kB / 0.4937 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1344, allocations: 16.38 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.1344, allocations: 16.12 kB / 0.4937 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.135, allocations: 276.6 kB / 0.494 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.135, allocations: 3.938 kB / 0.494 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.135, allocations: 4 kB / 0.494 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.1351, allocations: 15.94 kB / 0.494 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.1356, allocations: 219.8 kB / 0.4942 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1367, allocations: 0.7694 MB / 0.495 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.1373, allocations: 235.7 kB / 0.4952 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1376, allocations: 102.5 kB / 0.4953 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1376, allocations: 0 / 0.4953 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1377, allocations: 38.55 kB / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1377, allocations: 0 / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009396/0.1386, allocations: 329.1 kB / 0.4956 GB, free: 4.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.1387, allocations: 102.8 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.139, allocations: 282.5 kB / 0.496 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1391, allocations: 25.7 kB / 0.496 GB, free: 3.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1392, allocations: 147.8 kB / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.1392, allocations: 39.36 kB / 0.4962 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.1393, allocations: 45.64 kB / 0.4963 GB, free: 3.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1394, allocations: 334.8 kB / 0.4966 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.1397, allocations: 83.86 kB / 0.4967 GB, free: 3.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.1399, allocations: 125.1 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.1405, allocations: 221 kB / 0.497 GB, free: 2.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1405, allocations: 0 / 0.497 GB, free: 2.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000629/0.1411, allocations: 265.1 kB / 0.4972 GB, free: 2.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1412, allocations: 14.59 kB / 0.4973 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.1412, allocations: 15.98 kB / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1412, allocations: 4 kB / 0.4973 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1414, allocations: 31.91 kB / 0.4973 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1414, allocations: 4 kB / 0.4973 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1416, allocations: 31.94 kB / 0.4973 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1417, allocations: 12 kB / 0.4973 GB, free: 2.418 MB / 382.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.0001479/0.1418, allocations: 149.7 kB / 0.4975 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.1419, allocations: 27.64 kB / 0.4975 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.1424, allocations: 219.3 kB / 0.4977 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1424, allocations: 0 / 0.4977 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1424, allocations: 4 kB / 0.4977 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1424, allocations: 4 kB / 0.4977 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.1428, allocations: 269.4 kB / 0.498 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.1429, allocations: 11.98 kB / 0.498 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.143, allocations: 35.91 kB / 0.498 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1431, allocations: 4.031 kB / 0.498 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.1431, allocations: 11.94 kB / 0.4981 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1431, allocations: 4 kB / 0.4981 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1431, allocations: 0 / 0.4981 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.1438, allocations: 485.7 kB / 0.4985 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.1439, allocations: 96.83 kB / 0.4986 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.1439, allocations: 7.938 kB / 0.4986 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.1442, allocations: 23.97 kB / 0.4986 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.1442, allocations: 15.92 kB / 0.4987 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1443, allocations: 4 kB / 0.4987 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.1445, allocations: 209.9 kB / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.1445, allocations: 0 / 0.4989 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000442/0.1449, allocations: 75.88 kB / 0.4989 GB, free: 0.6875 MB / 382.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.0003059/0.1452, allocations: 151.1 kB / 0.4991 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006478/0.1459, allocations: 284.8 kB / 0.4993 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1459, allocations: 0 / 0.4993 GB, free: 240 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.1462, allocations: 181 kB / 0.4995 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1468, allocations: 53.19 kB / 0.4996 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/0.1477, allocations: 0.4926 MB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.148, allocations: 0.7593 MB / 0.5008 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.1481, allocations: 19.42 kB / 0.5008 GB, free: 14.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1481, allocations: 4 kB / 0.5008 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Templates: time 0.006131/0.1542, allocations: 3.843 MB / 0.5046 GB, free: 10.81 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches