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.001444/0.001444, allocations: 103.8 kB / 16.27 MB, free: 6.41 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.001379/0.001379, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.523/1.523, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2326/0.2326, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.002602/0.002602, allocations: 64.11 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1589, allocations: 57.8 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.003844/0.1628, allocations: 1.769 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1642, allocations: 0.8459 MB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1644, allocations: 0 / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1647, allocations: 43.75 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.165, allocations: 67.64 kB / 443.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1653, allocations: 71.73 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1655, allocations: 147.3 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.1655, allocations: 21.33 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1657, allocations: 71.7 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1659, allocations: 75.67 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1659, allocations: 4 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.1662, allocations: 155.7 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1663, allocations: 35.89 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.725e-05/0.1663, allocations: 55.61 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1667, allocations: 199.3 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1667, allocations: 4 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1667, allocations: 0 / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1667, allocations: 0 / 444.1 MB, free: 3.32 MB / 318.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.0006641/0.1674, allocations: 450.9 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1674, allocations: 11.89 kB / 444.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.55e-05/0.1675, allocations: 16.75 kB / 444.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1677, allocations: 196.1 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1677, allocations: 8.375 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1677, allocations: 16.12 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1681, allocations: 169.5 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1681, allocations: 3.938 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1681, allocations: 8 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.1681, allocations: 8 kB / 445 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.1685, allocations: 167.8 kB / 445.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.1692, allocations: 499.9 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.1695, allocations: 150.5 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1697, allocations: 56.84 kB / 445.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1697, allocations: 4 kB / 445.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.1698, allocations: 42.5 kB / 445.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.1698, allocations: 0 / 445.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005249/0.1703, allocations: 193.4 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.1703, allocations: 51.78 kB / 446.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1705, allocations: 199.5 kB / 446.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1705, allocations: 25.7 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1706, allocations: 116 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1706, allocations: 35.56 kB / 446.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1707, allocations: 33.7 kB / 446.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.1707, allocations: 326.8 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1709, allocations: 47.95 kB / 446.9 MB, free: 336 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.171, allocations: 74.45 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.1713, allocations: 130.4 kB / 447.1 MB, free: 112 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1713, allocations: 0 / 447.1 MB, free: 112 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003598/0.1716, allocations: 173.3 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1717, allocations: 8.062 kB / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1717, allocations: 0 / 447.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1717, allocations: 4 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.172, allocations: 43.97 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007501/0.1728, allocations: 1.219 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.1729, allocations: 23.86 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1729, allocations: 7.938 kB / 448.5 MB, free: 14.58 MB / 334.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.0002248/0.1732, allocations: 135.8 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.1732, allocations: 19.75 kB / 448.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.1736, allocations: 187 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1737, allocations: 4 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1737, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1737, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.174, allocations: 225.5 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.174, allocations: 7.938 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.1742, allocations: 51.89 kB / 449.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1743, allocations: 0 / 449.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1743, allocations: 4 kB / 449.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006444/0.1749, allocations: 1.219 MB / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1749, allocations: 0 / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.1753, allocations: 263.4 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1754, allocations: 85.02 kB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1754, allocations: 3.938 kB / 450.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1756, allocations: 11.98 kB / 450.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.1756, allocations: 7.938 kB / 450.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1756, allocations: 7.984 kB / 450.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1758, allocations: 145.2 kB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1758, allocations: 0 / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1761, allocations: 43.89 kB / 450.9 MB, free: 12.04 MB / 334.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.0002566/0.1764, allocations: 135.2 kB / 451.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005018/0.1769, allocations: 155.9 kB / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1769, allocations: 0 / 451.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.1772, allocations: 91.86 kB / 451.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1775, allocations: 34.53 kB / 451.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.1783, allocations: 347.9 kB / 451.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.1787, allocations: 0.724 MB / 452.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1788, allocations: 40.98 kB / 452.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.1788, allocations: 11.44 kB / 452.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1788, allocations: 4 kB / 452.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Templates: time 0.007344/0.1862, allocations: 2.572 MB / 455 MB, free: 7.922 MB / 334.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