Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009255/0.009255, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.00176/0.001761, allocations: 192.3 kB / 16.79 MB, free: 6.238 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.628/1.628, allocations: 205.1 MB / 222.7 MB, free: 4.758 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.3938/0.3938, allocations: 43.49 MB / 313.5 MB, free: 8.281 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.001612/0.001612, allocations: 63.91 kB / 382.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1576, allocations: 57.78 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00487/0.1625, allocations: 1.933 MB / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1646, allocations: 0.8423 MB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.1649, allocations: 3.938 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1653, allocations: 47.73 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.1658, allocations: 83.62 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1662, allocations: 67.81 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1666, allocations: 358.6 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.1667, allocations: 40.64 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.1669, allocations: 83.53 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.1671, allocations: 127.4 kB / 443.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.1671, allocations: 4 kB / 443.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1674, allocations: 115.8 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1676, allocations: 63.69 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1677, allocations: 107.2 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.1681, allocations: 306.8 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1681, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1681, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1682, allocations: 0 / 444 MB, free: 10.41 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009518/0.1691, allocations: 0.5459 MB / 444.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1692, allocations: 8.031 kB / 444.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.1692, allocations: 32.56 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1695, allocations: 243.8 kB / 444.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1696, allocations: 16.94 kB / 444.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.1696, allocations: 36.09 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006573/0.1703, allocations: 373.3 kB / 445.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1703, allocations: 3.984 kB / 445.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.1703, allocations: 11.98 kB / 445.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.1704, allocations: 24.64 kB / 445.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.171, allocations: 378.2 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1725, allocations: 0.8346 MB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.1729, allocations: 254.3 kB / 446.7 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.1731, allocations: 100.8 kB / 446.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.1732, allocations: 11.88 kB / 446.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1732, allocations: 34.56 kB / 446.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1732, allocations: 0 / 446.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008344/0.1741, allocations: 337 kB / 447.2 MB, free: 7.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1742, allocations: 55.41 kB / 447.3 MB, free: 6.965 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.1746, allocations: 342.8 kB / 447.6 MB, free: 6.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1746, allocations: 29.64 kB / 447.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1748, allocations: 168 kB / 447.8 MB, free: 6.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.1749, allocations: 55.2 kB / 447.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.175, allocations: 65.83 kB / 447.9 MB, free: 6.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1752, allocations: 334.8 kB / 448.2 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1754, allocations: 108.4 kB / 448.3 MB, free: 5.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.1758, allocations: 179.9 kB / 448.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.1763, allocations: 314.7 kB / 448.8 MB, free: 5.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1763, allocations: 4 kB / 448.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006054/0.1769, allocations: 336.9 kB / 449.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.177, allocations: 8 kB / 449.2 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.177, allocations: 0 / 449.2 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.177, allocations: 7.984 kB / 449.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/0.1777, allocations: 123.9 kB / 449.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.18, allocations: 3.653 MB / 452.9 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1803, allocations: 43.52 kB / 453 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1804, allocations: 16.28 kB / 453 MB, free: 0.9609 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004776/0.1809, allocations: 177.7 kB / 453.2 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.181, allocations: 23.72 kB / 453.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007502/0.1817, allocations: 323.5 kB / 453.5 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1817, allocations: 0 / 453.5 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1817, allocations: 4 kB / 453.5 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.1818, allocations: 4 kB / 453.5 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1822, allocations: 305.3 kB / 453.8 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1823, allocations: 0 / 453.8 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3063/0.4886, allocations: 102.2 kB / 453.9 MB, free: 49.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.4887, allocations: 2.688 kB / 453.9 MB, free: 49.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.4887, allocations: 7.875 kB / 453.9 MB, free: 49.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.4901, allocations: 3.646 MB / 457.6 MB, free: 46.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4901, allocations: 0 / 457.6 MB, free: 46.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.4906, allocations: 358.7 kB / 457.9 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.4907, allocations: 102.2 kB / 458 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.4908, allocations: 2.594 kB / 458 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.491, allocations: 9.062 kB / 458 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.4911, allocations: 16.72 kB / 458 MB, free: 45.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.4911, allocations: 11.38 kB / 458.1 MB, free: 45.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000247/0.4913, allocations: 252.7 kB / 458.3 MB, free: 45.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4913, allocations: 0 / 458.3 MB, free: 45.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.4918, allocations: 72.48 kB / 458.4 MB, free: 45.91 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002635/0.4921, allocations: 137.3 kB / 458.5 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008295/0.4929, allocations: 320.1 kB / 458.8 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4929, allocations: 0 / 458.8 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.4935, allocations: 190.3 kB / 459 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.4939, allocations: 59.09 kB / 459.1 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000984/0.4949, allocations: 0.639 MB / 459.7 MB, free: 45.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.4952, allocations: 0.7906 MB / 460.5 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.4954, allocations: 84.73 kB / 460.6 MB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.4954, allocations: 27.7 kB / 460.6 MB, free: 44.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4954, allocations: 0 / 460.6 MB, free: 44.83 MB / 382.1 MB Notification: Performance of Templates: time 0.008443/0.5039, allocations: 5.083 MB / 465.7 MB, free: 44.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches