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.001477/0.001477, allocations: 180.6 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001079/0.001079, allocations: 105.8 kB / 267.5 MB, free: 14.04 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.2784/0.2784, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.714e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.6038, allocations: 90.62 MB / 0.5613 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/0.6042, allocations: 102.7 kB / 0.5614 GB, free: 12.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05707/0.6613, allocations: 11.91 MB / 0.573 GB, free: 2.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.6614, allocations: 0 / 0.573 GB, free: 2.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.6614, allocations: 7.938 kB / 0.573 GB, free: 2.816 MB / 378.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.001005/0.6624, allocations: 496.8 kB / 0.5735 GB, free: 2.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6625, allocations: 8.031 kB / 0.5735 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.6626, allocations: 31.62 kB / 0.5736 GB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.663, allocations: 244.5 kB / 0.5738 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.663, allocations: 20.31 kB / 0.5738 GB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.6631, allocations: 23.31 kB / 0.5738 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.6639, allocations: 343.8 kB / 0.5742 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.664, allocations: 4 kB / 0.5742 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.664, allocations: 14.19 kB / 0.5742 GB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.6641, allocations: 24.7 kB / 0.5742 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007604/0.6649, allocations: 344 kB / 0.5745 GB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.667, allocations: 0.8481 MB / 0.5754 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.6677, allocations: 247 kB / 0.5756 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.6679, allocations: 79.55 kB / 0.5757 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.668, allocations: 11.52 kB / 0.5757 GB, free: 332 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.668, allocations: 34.56 kB / 0.5757 GB, free: 288 kB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.554e-06/0.668, allocations: 0 / 0.5757 GB, free: 288 kB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006814/0.6687, allocations: 223.4 kB / 0.5759 GB, free: 80 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.6688, allocations: 51.47 kB / 0.576 GB, free: 16 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.6693, allocations: 302.6 kB / 0.5763 GB, free: 15.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.6694, allocations: 33.02 kB / 0.5763 GB, free: 15.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.6695, allocations: 220.1 kB / 0.5765 GB, free: 15.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.146e-05/0.6696, allocations: 57.56 kB / 0.5766 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.6696, allocations: 4.375 kB / 0.5766 GB, free: 15.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6698, allocations: 322.3 kB / 0.5769 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.67, allocations: 87.27 kB / 0.577 GB, free: 15.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.6704, allocations: 169.4 kB / 0.5771 GB, free: 14.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.6707, allocations: 117.4 kB / 0.5772 GB, free: 14.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6707, allocations: 0 / 0.5772 GB, free: 14.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007839/0.6715, allocations: 300.3 kB / 0.5775 GB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6716, allocations: 8 kB / 0.5775 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6716, allocations: 4 kB / 0.5775 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.6716, allocations: 4 kB / 0.5775 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6727, allocations: 124.2 kB / 0.5776 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.6753, allocations: 3.66 MB / 0.5812 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.6758, allocations: 46.62 kB / 0.5813 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.6758, allocations: 15.98 kB / 0.5813 GB, free: 10.58 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 () * 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.0001536/0.676, allocations: 122 kB / 0.5814 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.6761, allocations: 27.67 kB / 0.5814 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009282/0.677, allocations: 298.2 kB / 0.5817 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6771, allocations: 4 kB / 0.5817 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6771, allocations: 3.984 kB / 0.5817 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.6771, allocations: 3.984 kB / 0.5817 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.6776, allocations: 295 kB / 0.582 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6776, allocations: 4 kB / 0.582 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6787, allocations: 107.3 kB / 0.5821 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.6787, allocations: 3.953 kB / 0.5821 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.6787, allocations: 7.984 kB / 0.5821 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/0.6812, allocations: 3.649 MB / 0.5857 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6813, allocations: 0 / 0.5857 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.682, allocations: 315.4 kB / 0.586 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.6821, allocations: 108.8 kB / 0.5861 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.6822, allocations: 7.516 kB / 0.5861 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.6825, allocations: 15.92 kB / 0.5861 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.6826, allocations: 11.17 kB / 0.5861 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.6827, allocations: 11.98 kB / 0.5861 GB, free: 5.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003839/0.6831, allocations: 233.6 kB / 0.5864 GB, free: 5.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6831, allocations: 4 kB / 0.5864 GB, free: 5.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005603/0.6837, allocations: 87.45 kB / 0.5864 GB, free: 5.25 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 () * 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.0003381/0.684, allocations: 153.3 kB / 0.5866 GB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.6853, allocations: 270.5 kB / 0.5868 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6853, allocations: 0 / 0.5868 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.6862, allocations: 155.5 kB / 0.587 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.6868, allocations: 67.45 kB / 0.5871 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.688, allocations: 419.1 kB / 0.5875 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.6884, allocations: 0.798 MB / 0.5882 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.6886, allocations: 19.44 kB / 0.5883 GB, free: 3.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6886, allocations: 4 kB / 0.5883 GB, free: 3.406 MB / 394.7 MB Notification: Performance of Templates: time 0.02159/0.7102, allocations: 10.56 MB / 0.5986 GB, free: 8.859 MB / 410.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