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.001518/0.001518, allocations: 114.2 kB / 17.08 MB, free: 5.828 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.001426/0.001426, allocations: 199 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2529/0.2529, allocations: 43.52 MB / 314.8 MB, free: 476 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.002549/0.00255, allocations: 75.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.151, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.005142/0.1562, allocations: 1.897 MB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.159, allocations: 1.13 MB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1592, allocations: 4 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1597, allocations: 51.69 kB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.16, allocations: 59.59 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.1609, allocations: 167.4 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.1613, allocations: 223 kB / 0.492 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.1615, allocations: 33.66 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.1617, allocations: 87.56 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.162, allocations: 103.5 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.001e-05/0.1621, allocations: 8 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.1628, allocations: 235.6 kB / 0.4924 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1629, allocations: 59.73 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.1631, allocations: 83.47 kB / 0.4926 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006884/0.1638, allocations: 322.9 kB / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1638, allocations: 0 / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1638, allocations: 0 / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.1638, allocations: 4 kB / 0.4929 GB, free: 7.332 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.001489/0.1653, allocations: 0.5562 MB / 0.4934 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.1654, allocations: 15.88 kB / 0.4935 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.982e-05/0.1655, allocations: 28.66 kB / 0.4935 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1658, allocations: 219.9 kB / 0.4937 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1659, allocations: 12.38 kB / 0.4937 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.1659, allocations: 24.11 kB / 0.4937 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.1667, allocations: 276.5 kB / 0.494 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1667, allocations: 0 / 0.494 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.1668, allocations: 11.94 kB / 0.494 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.1668, allocations: 15.98 kB / 0.494 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.1676, allocations: 223.8 kB / 0.4942 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.1691, allocations: 0.7694 MB / 0.495 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.1699, allocations: 223.7 kB / 0.4952 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.1703, allocations: 102.4 kB / 0.4953 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.1703, allocations: 7.984 kB / 0.4953 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.1704, allocations: 38.59 kB / 0.4953 GB, free: 4.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.876e-06/0.1704, allocations: 4 kB / 0.4953 GB, free: 4.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001329/0.1717, allocations: 309.1 kB / 0.4956 GB, free: 4.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.1718, allocations: 106.8 kB / 0.4957 GB, free: 4.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.1722, allocations: 282.5 kB / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.1723, allocations: 25.7 kB / 0.496 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1724, allocations: 151.8 kB / 0.4962 GB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.1725, allocations: 43.34 kB / 0.4962 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1726, allocations: 45.64 kB / 0.4963 GB, free: 3.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1728, allocations: 330.8 kB / 0.4966 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.1732, allocations: 87.91 kB / 0.4967 GB, free: 3.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.1736, allocations: 123.8 kB / 0.4968 GB, free: 3.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.1743, allocations: 224.9 kB / 0.497 GB, free: 2.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.1743, allocations: 4 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009383/0.1753, allocations: 261.4 kB / 0.4972 GB, free: 2.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.1753, allocations: 11.94 kB / 0.4973 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/0.1754, allocations: 12 kB / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1754, allocations: 0 / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1757, allocations: 31.97 kB / 0.4973 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.1757, allocations: 3.984 kB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.176, allocations: 31.95 kB / 0.4973 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.176, allocations: 8 kB / 0.4973 GB, free: 2.469 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.0002008/0.1763, allocations: 153.7 kB / 0.4975 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1764, allocations: 27.66 kB / 0.4975 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006716/0.1771, allocations: 223.2 kB / 0.4977 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.1771, allocations: 4 kB / 0.4977 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1771, allocations: 0 / 0.4977 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.526e-05/0.1771, allocations: 7.984 kB / 0.4977 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.1778, allocations: 269.4 kB / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/0.1778, allocations: 15.94 kB / 0.498 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.178, allocations: 27.97 kB / 0.498 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-06/0.1781, allocations: 3.938 kB / 0.498 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1781, allocations: 4 kB / 0.498 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1781, allocations: 0 / 0.498 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1781, allocations: 96 / 0.498 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.179, allocations: 493.5 kB / 0.4985 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1791, allocations: 104.8 kB / 0.4986 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.1792, allocations: 15.91 kB / 0.4986 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.1796, allocations: 15.98 kB / 0.4986 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.1797, allocations: 15.98 kB / 0.4987 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1797, allocations: 4 kB / 0.4987 GB, free: 1.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.18, allocations: 209.9 kB / 0.4989 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.18, allocations: 3.938 kB / 0.4989 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006731/0.1807, allocations: 67.94 kB / 0.4989 GB, free: 0.7305 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.0004061/0.1811, allocations: 163.1 kB / 0.4991 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008591/0.182, allocations: 280.9 kB / 0.4994 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.182, allocations: 0 / 0.4994 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.1824, allocations: 185 kB / 0.4995 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.1833, allocations: 49.08 kB / 0.4996 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1846, allocations: 0.4883 MB / 0.5001 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.185, allocations: 0.7554 MB / 0.5008 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.1851, allocations: 19.42 kB / 0.5008 GB, free: 14.69 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1851, allocations: 0 / 0.5008 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Templates: time 0.009895/0.195, allocations: 3.872 MB / 0.5046 GB, free: 10.82 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