Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00153/0.00153, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001126/0.001126, allocations: 92.42 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.506/0.506, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004744, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6214, allocations: 90.71 MB / 0.5673 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.6218, allocations: 91.94 kB / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05662/0.6785, allocations: 11.9 MB / 0.579 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6785, allocations: 0 / 0.579 GB, free: 15.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.6785, allocations: 4 kB / 0.579 GB, free: 15.98 MB / 410.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.0009685/0.6795, allocations: 0.5067 MB / 0.5795 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6796, allocations: 8.031 kB / 0.5796 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.803e-05/0.6797, allocations: 31.7 kB / 0.5796 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.68, allocations: 242 kB / 0.5798 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.6801, allocations: 24.5 kB / 0.5798 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.6802, allocations: 24 kB / 0.5799 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.6811, allocations: 365.2 kB / 0.5802 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.6812, allocations: 4 kB / 0.5802 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.6812, allocations: 12 kB / 0.5802 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-05/0.6813, allocations: 21.67 kB / 0.5802 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.6823, allocations: 378.3 kB / 0.5806 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.6844, allocations: 0.8502 MB / 0.5814 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.6852, allocations: 266.3 kB / 0.5817 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-05/0.6853, allocations: 7.969 kB / 0.5817 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.6853, allocations: 34.56 kB / 0.5817 GB, free: 13.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.875e-06/0.6853, allocations: 0 / 0.5817 GB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001279/0.6866, allocations: 350.1 kB / 0.5821 GB, free: 12.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.6867, allocations: 51.41 kB / 0.5821 GB, free: 12.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.6872, allocations: 306 kB / 0.5824 GB, free: 12.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.6872, allocations: 29.7 kB / 0.5824 GB, free: 12.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6874, allocations: 214.5 kB / 0.5826 GB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.6875, allocations: 55.2 kB / 0.5827 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.6875, allocations: 8 kB / 0.5827 GB, free: 12.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6876, allocations: 324.9 kB / 0.583 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.688, allocations: 104.4 kB / 0.5831 GB, free: 11.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.6885, allocations: 187.9 kB / 0.5833 GB, free: 11.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.689, allocations: 126.9 kB / 0.5834 GB, free: 11.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.689, allocations: 4 kB / 0.5834 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001042/0.69, allocations: 337 kB / 0.5837 GB, free: 10.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6901, allocations: 12.33 kB / 0.5837 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6901, allocations: 8 kB / 0.5838 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6901, allocations: 7.984 kB / 0.5838 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.6913, allocations: 119.8 kB / 0.5839 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.6939, allocations: 3.653 MB / 0.5874 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/0.6944, allocations: 43.59 kB / 0.5875 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.6944, allocations: 19.98 kB / 0.5875 GB, free: 6.949 MB / 410.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.0002883/0.6947, allocations: 178.2 kB / 0.5877 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.6948, allocations: 23.67 kB / 0.5877 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.696, allocations: 345.8 kB / 0.588 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.696, allocations: 8 kB / 0.588 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.696, allocations: 0 / 0.588 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.696, allocations: 0 / 0.588 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.6965, allocations: 289.5 kB / 0.5883 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6966, allocations: 0 / 0.5883 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009683/0.6975, allocations: 107.8 kB / 0.5884 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6976, allocations: 4 kB / 0.5884 GB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.6976, allocations: 7.938 kB / 0.5884 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.7001, allocations: 3.653 MB / 0.592 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7001, allocations: 4.031 kB / 0.592 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009186/0.701, allocations: 359 kB / 0.5923 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.7012, allocations: 104.7 kB / 0.5924 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.7013, allocations: 11.89 kB / 0.5924 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.7016, allocations: 15.98 kB / 0.5925 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.7016, allocations: 11.98 kB / 0.5925 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.7017, allocations: 7.984 kB / 0.5925 GB, free: 1.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003954/0.7021, allocations: 245.9 kB / 0.5927 GB, free: 1.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7021, allocations: 0 / 0.5927 GB, free: 1.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005532/0.7027, allocations: 76 kB / 0.5928 GB, free: 1.293 MB / 410.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.0003589/0.703, allocations: 156.8 kB / 0.5929 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.7046, allocations: 308.2 kB / 0.5932 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7046, allocations: 0 / 0.5932 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7057, allocations: 171.8 kB / 0.5934 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.7062, allocations: 52.84 kB / 0.5934 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.7077, allocations: 0.6611 MB / 0.5941 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.7083, allocations: 0.7887 MB / 0.5949 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.7084, allocations: 35.36 kB / 0.5949 GB, free: 15.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7084, allocations: 0 / 0.5949 GB, free: 15.07 MB / 426.7 MB Notification: Performance of Templates: time 0.02141/0.7298, allocations: 10.58 MB / 0.6052 GB, free: 4.52 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches