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.001615/0.001615, allocations: 101.3 kB / 16.4 MB, free: 6.484 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.001931/0.001931, allocations: 188.2 kB / 17.34 MB, free: 5.742 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2407/0.2407, allocations: 43.52 MB / 314.1 MB, free: 460 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.001673/0.001673, allocations: 67.91 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1546, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003753/0.1584, allocations: 1.768 MB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1602, allocations: 0.8342 MB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1603, allocations: 0 / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1606, allocations: 51.73 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.161, allocations: 75.64 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1613, allocations: 79.72 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.1616, allocations: 143.3 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.1617, allocations: 20.84 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1618, allocations: 63.7 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.162, allocations: 75.67 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.162, allocations: 4 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1624, allocations: 159.8 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1625, allocations: 35.83 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.1626, allocations: 59.61 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1629, allocations: 199.3 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1629, allocations: 4 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1629, allocations: 0 / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1629, allocations: 0 / 0.4914 GB, free: 8.18 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.0007557/0.1637, allocations: 439 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1638, allocations: 15.89 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.1638, allocations: 12.75 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1641, allocations: 212 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1641, allocations: 4.375 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1641, allocations: 16.12 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.1645, allocations: 173.4 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.1645, allocations: 3.984 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1646, allocations: 3.938 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.1646, allocations: 23.98 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.165, allocations: 163.8 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.1658, allocations: 488.1 kB / 0.4929 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.1663, allocations: 162.4 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1664, allocations: 60.8 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1665, allocations: 4 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1665, allocations: 30.56 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1665, allocations: 0 / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005441/0.167, allocations: 197.4 kB / 0.4933 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1671, allocations: 51.41 kB / 0.4933 GB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1673, allocations: 203.5 kB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1673, allocations: 29.7 kB / 0.4936 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.1674, allocations: 112 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.1674, allocations: 31.55 kB / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.1675, allocations: 29.64 kB / 0.4937 GB, free: 5.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1677, allocations: 330.8 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1678, allocations: 47.89 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.168, allocations: 86.45 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1683, allocations: 126.4 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1683, allocations: 0 / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000417/0.1687, allocations: 169.7 kB / 0.4945 GB, free: 4.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1687, allocations: 10.66 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1688, allocations: 0 / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.1688, allocations: 96 / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.1691, allocations: 55.84 kB / 0.4945 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.1701, allocations: 1.219 MB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1702, allocations: 15.86 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1703, allocations: 4 kB / 0.4957 GB, free: 3.43 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.0002838/0.1706, allocations: 145.7 kB / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.1706, allocations: 15.75 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.1711, allocations: 186.9 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1711, allocations: 0 / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1711, allocations: 0 / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1711, allocations: 4 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.1714, allocations: 221.6 kB / 0.4963 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1714, allocations: 11.94 kB / 0.4963 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1717, allocations: 43.97 kB / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1717, allocations: 0 / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1718, allocations: 4 kB / 0.4963 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007242/0.1725, allocations: 1.219 MB / 0.4975 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1725, allocations: 4.031 kB / 0.4975 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1729, allocations: 251.4 kB / 0.4978 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.173, allocations: 85.02 kB / 0.4979 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.173, allocations: 11.94 kB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1732, allocations: 11.92 kB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1732, allocations: 4 kB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1732, allocations: 7.984 kB / 0.4979 GB, free: 1.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1734, allocations: 145.2 kB / 0.498 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1734, allocations: 0 / 0.498 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00032/0.1737, allocations: 55.89 kB / 0.4981 GB, free: 0.875 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.0002755/0.174, allocations: 127.1 kB / 0.4982 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.1745, allocations: 147.8 kB / 0.4983 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1745, allocations: 0 / 0.4983 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.1748, allocations: 88.3 kB / 0.4984 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1751, allocations: 32.09 kB / 0.4985 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.1758, allocations: 335.6 kB / 0.4988 GB, free: 128 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1762, allocations: 0.7279 MB / 0.4995 GB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.1763, allocations: 37.03 kB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.1764, allocations: 19.44 kB / 0.4995 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.404e-06/0.1764, allocations: 0 / 0.4995 GB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.006696/0.1831, allocations: 2.666 MB / 0.5021 GB, free: 12.67 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