Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001374/0.001374, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001493/0.001493, allocations: 191 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.17 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1437, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.004428/0.1482, allocations: 1.899 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1505, allocations: 1.083 MB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.1506, allocations: 0 / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.151, allocations: 47.67 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1513, allocations: 67.59 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.1521, allocations: 171.3 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.1525, allocations: 223 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.1526, allocations: 21.66 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1529, allocations: 83.58 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1531, allocations: 103.5 kB / 474.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.1532, allocations: 12 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006436/0.1538, allocations: 243.6 kB / 474.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.154, allocations: 59.69 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1541, allocations: 87.47 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.1548, allocations: 322.8 kB / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1549, allocations: 4 kB / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1549, allocations: 0 / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1549, allocations: 4 kB / 475.1 MB, free: 9.219 MB / 350.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.001454/0.1564, allocations: 0.5453 MB / 475.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1564, allocations: 8.031 kB / 475.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.1565, allocations: 24.66 kB / 475.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.1569, allocations: 227.9 kB / 475.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1569, allocations: 16.38 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.157, allocations: 16.12 kB / 476 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.1579, allocations: 288.2 kB / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1579, allocations: 0 / 476.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.158, allocations: 4 kB / 476.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.158, allocations: 12 kB / 476.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1591, allocations: 220.4 kB / 476.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1607, allocations: 0.7655 MB / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.1616, allocations: 235.7 kB / 477.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.1621, allocations: 106.5 kB / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-05/0.1621, allocations: 0 / 477.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1622, allocations: 38.66 kB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.033e-06/0.1622, allocations: 3.938 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001633/0.1639, allocations: 321.3 kB / 477.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.164, allocations: 106.8 kB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.1645, allocations: 274.6 kB / 478.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.1646, allocations: 29.7 kB / 478.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1647, allocations: 143.8 kB / 478.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.1648, allocations: 39.36 kB / 478.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1649, allocations: 41.7 kB / 478.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1651, allocations: 342.8 kB / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.1656, allocations: 79.91 kB / 479 MB, free: 5.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.1661, allocations: 129 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.1671, allocations: 221.2 kB / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1671, allocations: 0 / 479.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001124/0.1682, allocations: 261.1 kB / 479.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.1683, allocations: 15.88 kB / 479.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/0.1683, allocations: 12.16 kB / 479.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.1684, allocations: 7.984 kB / 479.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.1687, allocations: 31.97 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.1688, allocations: 4 kB / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.1691, allocations: 27.73 kB / 479.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.1692, allocations: 15.98 kB / 479.7 MB, free: 4.355 MB / 350.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.0002418/0.1694, allocations: 149.7 kB / 479.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1696, allocations: 27.66 kB / 479.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008554/0.1705, allocations: 219.4 kB / 480.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1705, allocations: 0 / 480.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.1705, allocations: 4 kB / 480.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1705, allocations: 3.984 kB / 480.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.1713, allocations: 265.4 kB / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-05/0.1713, allocations: 8 kB / 480.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.1716, allocations: 35.84 kB / 480.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.1717, allocations: 7.938 kB / 480.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.1717, allocations: 12.08 kB / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.1717, allocations: 7.938 kB / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1718, allocations: 0 / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.1729, allocations: 473.7 kB / 480.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.173, allocations: 104.8 kB / 481 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.1731, allocations: 3.938 kB / 481 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.1736, allocations: 23.97 kB / 481 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.74e-05/0.1737, allocations: 11.98 kB / 481 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.1737, allocations: 4 kB / 481 MB, free: 2.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.174, allocations: 205.9 kB / 481.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1741, allocations: 0 / 481.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007726/0.1748, allocations: 79.92 kB / 481.3 MB, free: 2.645 MB / 350.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.0003679/0.1752, allocations: 155.2 kB / 481.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.1763, allocations: 280.8 kB / 481.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1763, allocations: 0 / 481.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.1769, allocations: 189.2 kB / 481.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.1778, allocations: 44.72 kB / 481.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.1792, allocations: 486.5 kB / 482.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.1797, allocations: 0.7593 MB / 483.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.1799, allocations: 41.5 kB / 483.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.18, allocations: 19.44 kB / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1801, allocations: 0 / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Templates: time 0.01256/0.1926, allocations: 3.899 MB / 487.1 MB, free: 12.76 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches