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.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.233/1.233, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007476/0.0007476, allocations: 90.3 kB / 271.9 MB, free: 8.246 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.3696/0.3696, allocations: 43.55 MB / 363.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 12 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1085, allocations: 58.85 MB / 491.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.4996, allocations: 92.82 MB / 0.5706 GB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004398/0.5001, allocations: 103.9 kB / 0.5707 GB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04233/0.5424, allocations: 13.46 MB / 0.5838 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5425, allocations: 0 / 0.5838 GB, free: 11.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5425, allocations: 4 kB / 0.5838 GB, free: 11.79 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008224/0.5433, allocations: 0.5844 MB / 0.5844 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.5433, allocations: 8.031 kB / 0.5844 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.5434, allocations: 32.56 kB / 0.5845 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.5437, allocations: 267.6 kB / 0.5847 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.5437, allocations: 20.94 kB / 0.5847 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.5438, allocations: 24.38 kB / 0.5848 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.5445, allocations: 450.4 kB / 0.5852 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5445, allocations: 7.031 kB / 0.5852 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.5446, allocations: 12 kB / 0.5852 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.5446, allocations: 16.56 kB / 0.5852 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.5453, allocations: 345.9 kB / 0.5855 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.5467, allocations: 1.089 MB / 0.5866 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.5472, allocations: 259.7 kB / 0.5869 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.5474, allocations: 122.5 kB / 0.587 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.5475, allocations: 7.922 kB / 0.587 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.5475, allocations: 46.5 kB / 0.587 GB, free: 8.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.5475, allocations: 0 / 0.587 GB, free: 8.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001004/0.5486, allocations: 393.2 kB / 0.5874 GB, free: 7.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.5486, allocations: 106.8 kB / 0.5875 GB, free: 7.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.549, allocations: 405.4 kB / 0.5879 GB, free: 7.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.5491, allocations: 29.7 kB / 0.5879 GB, free: 7.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5492, allocations: 183.8 kB / 0.5881 GB, free: 7.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.5492, allocations: 55.28 kB / 0.5881 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.5493, allocations: 4 kB / 0.5882 GB, free: 7.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5494, allocations: 346.8 kB / 0.5885 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.5497, allocations: 124.1 kB / 0.5886 GB, free: 6.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.55, allocations: 251.7 kB / 0.5888 GB, free: 6.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.5507, allocations: 391.5 kB / 0.5892 GB, free: 5.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5507, allocations: 4 kB / 0.5892 GB, free: 5.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008064/0.5515, allocations: 424.6 kB / 0.5896 GB, free: 5.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5515, allocations: 8 kB / 0.5896 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.152e-05/0.5516, allocations: 27.36 kB / 0.5897 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5516, allocations: 8.484 kB / 0.5897 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.5519, allocations: 59.91 kB / 0.5897 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5519, allocations: 4 kB / 0.5897 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.5522, allocations: 59.56 kB / 0.5898 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.5522, allocations: 12.56 kB / 0.5898 GB, free: 5.332 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.5524, allocations: 186.2 kB / 0.59 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.5525, allocations: 27.62 kB / 0.59 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.5531, allocations: 293 kB / 0.5903 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5531, allocations: 0 / 0.5903 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5531, allocations: 7.984 kB / 0.5903 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5531, allocations: 0 / 0.5903 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.5535, allocations: 305.3 kB / 0.5906 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.5536, allocations: 24.08 kB / 0.5906 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.5537, allocations: 39.91 kB / 0.5906 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5537, allocations: 0 / 0.5906 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5538, allocations: 8 kB / 0.5906 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5538, allocations: 7.938 kB / 0.5907 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5538, allocations: 3.938 kB / 0.5907 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.5545, allocations: 0.5327 MB / 0.5912 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.5545, allocations: 108.7 kB / 0.5913 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.5546, allocations: 0 / 0.5913 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.5549, allocations: 27.97 kB / 0.5913 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.5549, allocations: 11.98 kB / 0.5913 GB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.5549, allocations: 12 kB / 0.5913 GB, free: 3.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.5552, allocations: 287.1 kB / 0.5916 GB, free: 3.375 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.382e-06/0.5552, allocations: 0 / 0.5916 GB, free: 3.375 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004825/0.5557, allocations: 103.9 kB / 0.5917 GB, free: 3.273 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.556, allocations: 183.9 kB / 0.5919 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.5568, allocations: 450 kB / 0.5923 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5568, allocations: 0.875 kB / 0.5923 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.5572, allocations: 290 kB / 0.5926 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.5577, allocations: 65.84 kB / 0.5926 GB, free: 2.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.5588, allocations: 0.7018 MB / 0.5933 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.5592, allocations: 0.7989 MB / 0.5941 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.5592, allocations: 27.42 kB / 0.5941 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5592, allocations: 0 / 0.5941 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of Templates: time 0.008544/0.5678, allocations: 5.644 MB / 0.5996 GB, free: 11.02 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches