Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001326, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 173.7 kB / 16.58 MB, free: 6.84 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.722/1.722, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4187/0.4187, allocations: 43.57 MB / 314.6 MB, free: 8.715 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.0006154/0.0006154, allocations: 15.98 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1568, allocations: 58.85 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002233/0.159, allocations: 1.501 MB / 444.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1608, allocations: 0.9091 MB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.1609, allocations: 0 / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1611, allocations: 39.81 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1614, allocations: 71.66 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1617, allocations: 91.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.1621, allocations: 255.1 kB / 445.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.1622, allocations: 13.83 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1623, allocations: 75.7 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1625, allocations: 107.6 kB / 445.9 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1626, allocations: 4 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.1628, allocations: 119.8 kB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.1629, allocations: 55.81 kB / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.163, allocations: 53.58 kB / 446.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1632, allocations: 163.6 kB / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1632, allocations: 0 / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1632, allocations: 0 / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1632, allocations: 4 kB / 446.3 MB, free: 9.531 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00098/0.1642, allocations: 0.5105 MB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1643, allocations: 8.031 kB / 446.8 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.1643, allocations: 31.61 kB / 446.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1646, allocations: 219.5 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1646, allocations: 4.234 kB / 447 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1646, allocations: 19.94 kB / 447.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.1652, allocations: 282.5 kB / 447.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1652, allocations: 0 / 447.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1652, allocations: 4 kB / 447.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.1653, allocations: 16.22 kB / 447.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.1658, allocations: 252.4 kB / 447.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1669, allocations: 0.8061 MB / 448.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1673, allocations: 207.6 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1676, allocations: 110.5 kB / 448.7 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.1676, allocations: 7.984 kB / 448.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1677, allocations: 42.64 kB / 448.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.316e-06/0.1677, allocations: 4 kB / 448.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009356/0.1686, allocations: 361.5 kB / 449.1 MB, free: 6.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.1687, allocations: 107 kB / 449.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.169, allocations: 260.9 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.169, allocations: 25.7 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1691, allocations: 135.9 kB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.1692, allocations: 43.44 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.1692, allocations: 0 / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1693, allocations: 330.8 kB / 450 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1696, allocations: 107.9 kB / 450.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.1698, allocations: 149 kB / 450.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1701, allocations: 119.8 kB / 450.4 MB, free: 5.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1701, allocations: 0 / 450.4 MB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006265/0.1708, allocations: 293.2 kB / 450.7 MB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1708, allocations: 8.156 kB / 450.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.1708, allocations: 15.94 kB / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1709, allocations: 4 kB / 450.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1711, allocations: 43.91 kB / 450.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1711, allocations: 3.984 kB / 450.7 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.1713, allocations: 43.73 kB / 450.8 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1714, allocations: 8 kB / 450.8 MB, free: 4.723 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: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.1715, allocations: 145.7 kB / 450.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.1716, allocations: 15.81 kB / 450.9 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.1721, allocations: 235.2 kB / 451.2 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1721, allocations: 7.953 kB / 451.2 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1721, allocations: 3.938 kB / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1721, allocations: 0 / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1725, allocations: 253.5 kB / 451.4 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.1726, allocations: 8 kB / 451.4 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.1728, allocations: 35.95 kB / 451.5 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1728, allocations: 8 kB / 451.5 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1728, allocations: 4 kB / 451.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1728, allocations: 7.984 kB / 451.5 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1728, allocations: 3.953 kB / 451.5 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.1735, allocations: 0.4899 MB / 452 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.124e-05/0.1736, allocations: 100.8 kB / 452.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.1736, allocations: 8 kB / 452.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.1739, allocations: 23.92 kB / 452.1 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.174, allocations: 24.02 kB / 452.1 MB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.174, allocations: 7.938 kB / 452.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.1742, allocations: 196.4 kB / 452.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1742, allocations: 0 / 452.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000424/0.1746, allocations: 68 kB / 452.4 MB, free: 3.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002899/0.1749, allocations: 155.1 kB / 452.6 MB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.1756, allocations: 313 kB / 452.9 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1756, allocations: 0 / 452.9 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.176, allocations: 193.1 kB / 453.1 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.1765, allocations: 36.41 kB / 453.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1775, allocations: 0.4975 MB / 453.6 MB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.178, allocations: 0.7439 MB / 454.3 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.1781, allocations: 41.5 kB / 454.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.1782, allocations: 19.42 kB / 454.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1782, allocations: 0 / 454.4 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of Templates: time 0.2597/0.4379, allocations: 3.23 MB / 457.6 MB, free: 46.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches