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.001231/0.001231, allocations: 105.7 kB / 16.4 MB, free: 6.398 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.001231/0.001232, allocations: 195.2 kB / 17.34 MB, free: 5.691 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.578/1.578, 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.2534/0.2534, allocations: 43.52 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.001901/0.001901, allocations: 65.47 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1513, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.004354/0.1557, allocations: 1.904 MB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1578, allocations: 1.13 MB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.1579, allocations: 0 / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1583, allocations: 51.67 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1585, allocations: 59.61 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.159, allocations: 159.4 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1594, allocations: 227 kB / 0.4913 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.1594, allocations: 25.66 kB / 0.4914 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1596, allocations: 91.61 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1598, allocations: 103.5 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.1598, allocations: 8 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.1603, allocations: 239.6 kB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.1604, allocations: 55.81 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.1605, allocations: 91.39 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.161, allocations: 322.7 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.161, allocations: 4 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.161, allocations: 0 / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.161, allocations: 0 / 0.4922 GB, free: 7.289 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.001082/0.1621, allocations: 0.5527 MB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1621, allocations: 15.89 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.1622, allocations: 20.8 kB / 0.4928 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1625, allocations: 243.9 kB / 0.493 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1625, allocations: 8.375 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.1625, allocations: 20.12 kB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.1631, allocations: 276.5 kB / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1631, allocations: 0 / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1631, allocations: 8 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.1632, allocations: 19.88 kB / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.1637, allocations: 215.8 kB / 0.4936 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1647, allocations: 0.7772 MB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.1653, allocations: 235.6 kB / 0.4946 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.1655, allocations: 102.5 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.1656, allocations: 4 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1656, allocations: 30.56 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1656, allocations: 0 / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009688/0.1666, allocations: 329.5 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.1667, allocations: 106.8 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.167, allocations: 270.6 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.167, allocations: 33.95 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1672, allocations: 136 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1672, allocations: 47.58 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.1673, allocations: 45.66 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1674, allocations: 330.8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.1677, allocations: 87.91 kB / 0.496 GB, free: 3.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.168, allocations: 128.8 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.1685, allocations: 224.9 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1685, allocations: 0 / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006059/0.1691, allocations: 265.2 kB / 0.4966 GB, free: 2.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1691, allocations: 10.59 kB / 0.4966 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.1692, allocations: 8 kB / 0.4966 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1692, allocations: 4 kB / 0.4966 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1694, allocations: 43.89 kB / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1694, allocations: 3.984 kB / 0.4967 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1696, allocations: 32.03 kB / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1697, allocations: 11.98 kB / 0.4967 GB, free: 2.402 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.0001553/0.1698, allocations: 145.8 kB / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.1699, allocations: 35.73 kB / 0.4969 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.1704, allocations: 227.2 kB / 0.4971 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1704, allocations: 4 kB / 0.4971 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1704, allocations: 0 / 0.4971 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1704, allocations: 4 kB / 0.4971 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.1708, allocations: 265.5 kB / 0.4974 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.1709, allocations: 8 kB / 0.4974 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.171, allocations: 31.91 kB / 0.4974 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.171, allocations: 3.938 kB / 0.4974 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1711, allocations: 12.08 kB / 0.4974 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1711, allocations: 3.938 kB / 0.4974 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1711, allocations: 0 / 0.4974 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.1718, allocations: 477.8 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.1718, allocations: 104.9 kB / 0.498 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.1719, allocations: 11.94 kB / 0.498 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1721, allocations: 15.98 kB / 0.498 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.1722, allocations: 23.91 kB / 0.498 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1723, allocations: 4 kB / 0.498 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1724, allocations: 201.9 kB / 0.4982 GB, free: 0.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1725, allocations: 4 kB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.1729, allocations: 79.7 kB / 0.4983 GB, free: 0.668 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.0003297/0.1732, allocations: 155 kB / 0.4984 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.1739, allocations: 288.8 kB / 0.4987 GB, free: 212 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1739, allocations: 0 / 0.4987 GB, free: 212 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.1742, allocations: 177 kB / 0.4989 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.1747, allocations: 65.06 kB / 0.499 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.1755, allocations: 474 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1759, allocations: 0.7554 MB / 0.5001 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.176, allocations: 45.5 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.1761, allocations: 19.44 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1761, allocations: 0 / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Templates: time 0.007493/0.1836, allocations: 3.901 MB / 0.504 GB, free: 10.72 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/jenkins/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/jenkins/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