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.001038/0.001038, allocations: 96.86 kB / 15.7 MB, free: 468 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.001921/0.001921, allocations: 171.2 kB / 16.58 MB, free: 6.848 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.832/1.832, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.388/0.388, allocations: 43.57 MB / 314.6 MB, free: 9.031 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.000802/0.0008021, allocations: 12 kB / 384 MB, free: 8.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1638, allocations: 58.87 MB / 442.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002062/0.1659, allocations: 1.556 MB / 444.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1672, allocations: 0.761 MB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.1672, allocations: 0 / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1675, allocations: 51.69 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1678, allocations: 83.62 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.168, allocations: 59.88 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.1683, allocations: 310.6 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.29e-05/0.1684, allocations: 32.64 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1686, allocations: 99.5 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1688, allocations: 123.5 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1688, allocations: 7.984 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.169, allocations: 111.8 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.1691, allocations: 55.75 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.1692, allocations: 69.52 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.1694, allocations: 207.3 kB / 446.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1694, allocations: 3.984 kB / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1694, allocations: 0 / 446.3 MB, free: 9.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1694, allocations: 0 / 446.3 MB, free: 9.703 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.0007201/0.1702, allocations: 0.5106 MB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1702, allocations: 15.97 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.1703, allocations: 27.67 kB / 446.9 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1705, allocations: 234.7 kB / 447.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1706, allocations: 20.55 kB / 447.2 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.1706, allocations: 24 kB / 447.2 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.1712, allocations: 385.2 kB / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1712, allocations: 0 / 447.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1712, allocations: 11.95 kB / 447.6 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.1713, allocations: 24.64 kB / 447.6 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.1719, allocations: 386.3 kB / 448 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.1733, allocations: 0.8307 MB / 448.8 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.1739, allocations: 274.2 kB / 449.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1741, allocations: 92.84 kB / 449.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.1742, allocations: 11.92 kB / 449.2 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1742, allocations: 38.56 kB / 449.2 MB, free: 6.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1742, allocations: 0 / 449.2 MB, free: 6.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007417/0.1749, allocations: 352.8 kB / 449.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.175, allocations: 51.41 kB / 449.6 MB, free: 6.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1753, allocations: 342.8 kB / 449.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1754, allocations: 25.7 kB / 450 MB, free: 5.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1755, allocations: 168 kB / 450.1 MB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.1755, allocations: 55.19 kB / 450.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.1755, allocations: 8 kB / 450.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1757, allocations: 342.8 kB / 450.5 MB, free: 5.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1759, allocations: 104.4 kB / 450.6 MB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.1763, allocations: 188 kB / 450.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.1765, allocations: 139.8 kB / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1765, allocations: 0 / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006677/0.1772, allocations: 344.9 kB / 451.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1772, allocations: 8 kB / 451.3 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1772, allocations: 4 kB / 451.3 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1772, allocations: 4 kB / 451.3 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.1778, allocations: 124.2 kB / 451.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.1798, allocations: 3.661 MB / 455.1 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.18, allocations: 47.59 kB / 455.1 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.1801, allocations: 15.98 kB / 455.1 MB, free: 0.5117 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.1803, allocations: 185.6 kB / 455.3 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1803, allocations: 23.72 kB / 455.3 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2391/0.4195, allocations: 338.5 kB / 455.7 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4196, allocations: 4.375 kB / 455.7 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4196, allocations: 0 / 455.7 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4196, allocations: 0.75 kB / 455.7 MB, free: 46.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.42, allocations: 294.8 kB / 456 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.42, allocations: 0.7031 kB / 456 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.4205, allocations: 113.2 kB / 456.1 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4205, allocations: 1.625 kB / 456.1 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4206, allocations: 7.688 kB / 456.1 MB, free: 46.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.4217, allocations: 3.652 MB / 459.7 MB, free: 43.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4217, allocations: 0 / 459.7 MB, free: 43.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.4222, allocations: 363.6 kB / 460.1 MB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.4223, allocations: 107.8 kB / 460.2 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.4224, allocations: 6.328 kB / 460.2 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4225, allocations: 11.41 kB / 460.2 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.4226, allocations: 20.19 kB / 460.2 MB, free: 42.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4226, allocations: 6.906 kB / 460.2 MB, free: 42.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.4229, allocations: 241.6 kB / 460.5 MB, free: 42.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4229, allocations: 0 / 460.5 MB, free: 42.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.4233, allocations: 81.11 kB / 460.6 MB, free: 42.82 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002229/0.4236, allocations: 123.8 kB / 460.7 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007711/0.4244, allocations: 335.8 kB / 461 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4244, allocations: 0 / 461 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.4248, allocations: 195 kB / 461.2 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.4253, allocations: 60.7 kB / 461.3 MB, free: 42.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.4261, allocations: 0.6444 MB / 461.9 MB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.4264, allocations: 0.789 MB / 462.7 MB, free: 41.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.4266, allocations: 86.8 kB / 462.8 MB, free: 41.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.4267, allocations: 21.16 kB / 462.8 MB, free: 41.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4267, allocations: 0 / 462.8 MB, free: 41.75 MB / 382.1 MB Notification: Performance of Templates: time 0.008438/0.4351, allocations: 4.897 MB / 467.7 MB, free: 41.46 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