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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 104.7 kB / 16.4 MB, free: 6.453 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.001306/0.001307, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.653/1.653, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.243/0.243, allocations: 43.53 MB / 314.1 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.001284/0.001284, allocations: 67.89 kB / 441.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003178/0.1387, allocations: 1.776 MB / 0.4896 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1401, allocations: 0.8419 MB / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1401, allocations: 0 / 0.4905 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1404, allocations: 39.75 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.1407, allocations: 71.66 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.141, allocations: 79.7 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1412, allocations: 155.3 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.1413, allocations: 16.86 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1414, allocations: 63.7 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1415, allocations: 71.67 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1416, allocations: 4 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.1418, allocations: 159.7 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.1419, allocations: 35.89 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.142, allocations: 55.67 kB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.1423, allocations: 211.1 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1423, allocations: 0 / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1424, allocations: 0 / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.1424, allocations: 0 / 0.4914 GB, free: 8.168 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007483/0.1431, allocations: 454.6 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1432, allocations: 11.89 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.1432, allocations: 16.84 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1435, allocations: 200.2 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1435, allocations: 12.38 kB / 0.492 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1435, allocations: 8.125 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.1438, allocations: 177.3 kB / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1439, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.1439, allocations: 8 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.1439, allocations: 12 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.1443, allocations: 167.8 kB / 0.4924 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.1451, allocations: 0.4884 MB / 0.4929 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.1455, allocations: 158.4 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1456, allocations: 52.81 kB / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1457, allocations: 4 kB / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1457, allocations: 34.56 kB / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.1457, allocations: 0 / 0.4931 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005574/0.1463, allocations: 197.4 kB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.1463, allocations: 55.34 kB / 0.4934 GB, free: 5.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1465, allocations: 203.5 kB / 0.4936 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1466, allocations: 25.7 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1467, allocations: 120 kB / 0.4937 GB, free: 5.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1467, allocations: 31.73 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.1468, allocations: 33.7 kB / 0.4938 GB, free: 5.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1469, allocations: 326.8 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.147, allocations: 47.95 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1472, allocations: 82.45 kB / 0.4942 GB, free: 5.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.1475, allocations: 130.4 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1475, allocations: 0 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003393/0.1478, allocations: 161.9 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1479, allocations: 10.66 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1479, allocations: 0 / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.1479, allocations: 12.03 kB / 0.4945 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.1482, allocations: 51.91 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006674/0.1489, allocations: 1.219 MB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.149, allocations: 19.91 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.149, allocations: 4 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.1491, allocations: 137.8 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1492, allocations: 19.84 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1496, allocations: 182.9 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.1496, allocations: 4 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1496, allocations: 0 / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1496, allocations: 0 / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1499, allocations: 221.7 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1499, allocations: 3.938 kB / 0.4963 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.1501, allocations: 47.97 kB / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1501, allocations: 0 / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1501, allocations: 7.938 kB / 0.4963 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.1508, allocations: 1.219 MB / 0.4975 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1508, allocations: 0 / 0.4975 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.1512, allocations: 255.5 kB / 0.4978 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1513, allocations: 92.95 kB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1513, allocations: 3.938 kB / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1514, allocations: 7.984 kB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.1515, allocations: 11.98 kB / 0.4979 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1515, allocations: 4 kB / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1516, allocations: 149.2 kB / 0.498 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1516, allocations: 3.938 kB / 0.498 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1519, allocations: 39.94 kB / 0.4981 GB, free: 0.8633 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002263/0.1522, allocations: 135.1 kB / 0.4982 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.1526, allocations: 144 kB / 0.4983 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1527, allocations: 0 / 0.4983 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.1529, allocations: 88.23 kB / 0.4984 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1532, allocations: 36.09 kB / 0.4985 GB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.1539, allocations: 347.3 kB / 0.4988 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1542, allocations: 0.7318 MB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.882e-05/0.1543, allocations: 29.06 kB / 0.4995 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.1543, allocations: 15.44 kB / 0.4996 GB, free: 15.29 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1543, allocations: 0 / 0.4996 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Templates: time 0.006059/0.1604, allocations: 2.596 MB / 0.5021 GB, free: 12.71 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent_KC/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches