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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.6 kB / 15.76 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 90.8 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2651/0.2651, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005312, allocations: 12 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 58.86 MB / 490.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4508/0.6163, allocations: 90.71 MB / 0.5674 GB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.6166, allocations: 97.12 kB / 0.5675 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03157/0.6482, allocations: 11.9 MB / 0.5791 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6482, allocations: 4 kB / 0.5791 GB, free: 14.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.6482, allocations: 0 / 0.5791 GB, free: 14.86 MB / 394.7 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.0007085/0.649, allocations: 0.5064 MB / 0.5796 GB, free: 14.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.649, allocations: 8.031 kB / 0.5796 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.6491, allocations: 27.72 kB / 0.5796 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.6494, allocations: 238.1 kB / 0.5798 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.6494, allocations: 20.06 kB / 0.5799 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.6495, allocations: 27.38 kB / 0.5799 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.65, allocations: 364.6 kB / 0.5802 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6501, allocations: 4 kB / 0.5802 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.6501, allocations: 19.36 kB / 0.5803 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.6501, allocations: 16.66 kB / 0.5803 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.6507, allocations: 379.2 kB / 0.5806 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.652, allocations: 0.8588 MB / 0.5815 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.6525, allocations: 274.4 kB / 0.5817 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.6525, allocations: 0 / 0.5817 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6526, allocations: 38.5 kB / 0.5818 GB, free: 12.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 9.719e-06/0.6526, allocations: 0 / 0.5818 GB, free: 12.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006889/0.6533, allocations: 344.3 kB / 0.5821 GB, free: 11.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.6533, allocations: 51.41 kB / 0.5821 GB, free: 11.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.6536, allocations: 311.3 kB / 0.5824 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.6537, allocations: 25.7 kB / 0.5825 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6538, allocations: 170.5 kB / 0.5826 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.6538, allocations: 58.88 kB / 0.5827 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.6539, allocations: 4 kB / 0.5827 GB, free: 11.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.654, allocations: 338.1 kB / 0.583 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.6542, allocations: 100.1 kB / 0.5831 GB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.6545, allocations: 195 kB / 0.5833 GB, free: 10.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.6547, allocations: 135.3 kB / 0.5834 GB, free: 10.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6547, allocations: 0 / 0.5834 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005708/0.6553, allocations: 351.7 kB / 0.5838 GB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6553, allocations: 11.77 kB / 0.5838 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6553, allocations: 8 kB / 0.5838 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6554, allocations: 4 kB / 0.5838 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.6559, allocations: 119.8 kB / 0.5839 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.658, allocations: 3.658 MB / 0.5875 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.6582, allocations: 35.44 kB / 0.5875 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.6583, allocations: 19.67 kB / 0.5875 GB, free: 6.461 MB / 394.7 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.0002123/0.6585, allocations: 177.4 kB / 0.5877 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.6586, allocations: 35.73 kB / 0.5877 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.6592, allocations: 325.8 kB / 0.588 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6592, allocations: 4 kB / 0.588 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6592, allocations: 0 / 0.588 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6592, allocations: 7.922 kB / 0.588 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.6596, allocations: 292.2 kB / 0.5883 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6596, allocations: 0 / 0.5883 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.6601, allocations: 111.7 kB / 0.5884 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.6601, allocations: 0 / 0.5884 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.6601, allocations: 11.94 kB / 0.5884 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.662, allocations: 3.647 MB / 0.592 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.662, allocations: 0 / 0.592 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.6625, allocations: 362.5 kB / 0.5923 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.6626, allocations: 104.8 kB / 0.5924 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.6627, allocations: 7.516 kB / 0.5925 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.6628, allocations: 15.98 kB / 0.5925 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.6629, allocations: 19.84 kB / 0.5925 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.6629, allocations: 4 kB / 0.5925 GB, free: 1.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000212/0.6631, allocations: 240.3 kB / 0.5927 GB, free: 1.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6631, allocations: 0 / 0.5927 GB, free: 1.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.6635, allocations: 75.62 kB / 0.5928 GB, free: 1.012 MB / 394.7 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.0002661/0.6638, allocations: 161.7 kB / 0.5929 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.6646, allocations: 310.8 kB / 0.5932 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6646, allocations: 0 / 0.5932 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.6651, allocations: 171.5 kB / 0.5934 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.6654, allocations: 59.7 kB / 0.5935 GB, free: 380 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.6663, allocations: 0.6362 MB / 0.5941 GB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6667, allocations: 0.7976 MB / 0.5949 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.6669, allocations: 82.88 kB / 0.5949 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.6669, allocations: 19.44 kB / 0.595 GB, free: 14.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6669, allocations: 4 kB / 0.595 GB, free: 14.81 MB / 410.7 MB Notification: Performance of Templates: time 0.008374/0.6753, allocations: 4.953 MB / 0.5998 GB, free: 9.891 MB / 410.7 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