Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008566/0.0008566, allocations: 99.72 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 4 kB / 452.7 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4643, allocations: 92.06 MB / 0.5937 GB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.4646, allocations: 93.92 kB / 0.5938 GB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.034/0.4987, allocations: 11.74 MB / 0.6053 GB, free: 1.043 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.4987, allocations: 4 kB / 0.6053 GB, free: 1.039 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.0006826/0.4994, allocations: 0.5037 MB / 0.6058 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4994, allocations: 8.031 kB / 0.6058 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.4995, allocations: 27.62 kB / 0.6058 GB, free: 480 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.4998, allocations: 233.6 kB / 0.606 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4998, allocations: 8 kB / 0.606 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.4999, allocations: 19.94 kB / 0.606 GB, free: 184 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004349/0.5003, allocations: 323.7 kB / 0.6063 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.5008, allocations: 321 kB / 0.6067 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5008, allocations: 0 / 0.6067 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.5008, allocations: 7.984 kB / 0.6067 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.5009, allocations: 24.39 kB / 0.6067 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.5021, allocations: 0.7558 MB / 0.6074 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.5025, allocations: 259.4 kB / 0.6077 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.5026, allocations: 83.3 kB / 0.6077 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.5026, allocations: 3.984 kB / 0.6078 GB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5027, allocations: 34.56 kB / 0.6078 GB, free: 14.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.5027, allocations: 4 kB / 0.6078 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003974/0.5031, allocations: 209.6 kB / 0.608 GB, free: 14.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5031, allocations: 55.39 kB / 0.608 GB, free: 14.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.5033, allocations: 169.9 kB / 0.6082 GB, free: 14.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5033, allocations: 29.69 kB / 0.6082 GB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.5034, allocations: 165.8 kB / 0.6084 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.5034, allocations: 58.42 kB / 0.6084 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.5035, allocations: 0 / 0.6084 GB, free: 13.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5036, allocations: 338 kB / 0.6088 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5037, allocations: 87.2 kB / 0.6089 GB, free: 13.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.5039, allocations: 166.1 kB / 0.609 GB, free: 13.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5041, allocations: 118.5 kB / 0.6091 GB, free: 13.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5041, allocations: 4 kB / 0.6091 GB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004417/0.5045, allocations: 298 kB / 0.6094 GB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5045, allocations: 4 kB / 0.6094 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5046, allocations: 7.984 kB / 0.6094 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5046, allocations: 8 kB / 0.6094 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.5052, allocations: 126.6 kB / 0.6096 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.5072, allocations: 3.697 MB / 0.6132 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.5074, allocations: 23.83 kB / 0.6132 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.5075, allocations: 15.38 kB / 0.6132 GB, free: 8.984 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 () * 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.0001215/0.5076, allocations: 119.4 kB / 0.6133 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.5077, allocations: 23.7 kB / 0.6133 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005643/0.5082, allocations: 315.9 kB / 0.6136 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5082, allocations: 8 kB / 0.6136 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5083, allocations: 0 / 0.6136 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5083, allocations: 0 / 0.6136 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.5086, allocations: 267 kB / 0.6139 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5086, allocations: 0 / 0.6139 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.5091, allocations: 103.9 kB / 0.614 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5091, allocations: 3.984 kB / 0.614 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.5092, allocations: 4 kB / 0.614 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.511, allocations: 3.699 MB / 0.6176 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5111, allocations: 0 / 0.6176 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003733/0.5114, allocations: 316.8 kB / 0.6179 GB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.5115, allocations: 96.86 kB / 0.618 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.5115, allocations: 0 / 0.618 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.5117, allocations: 12.08 kB / 0.618 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.5118, allocations: 11.98 kB / 0.618 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.5118, allocations: 7.812 kB / 0.618 GB, free: 3.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.926e-05/0.5119, allocations: 131 kB / 0.6182 GB, free: 3.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.5123, allocations: 86.94 kB / 0.6182 GB, free: 3.723 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 () * 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.000282/0.5126, allocations: 163 kB / 0.6184 GB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008495/0.5135, allocations: 297 kB / 0.6187 GB, free: 3.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5135, allocations: 4 kB / 0.6187 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.5141, allocations: 186.5 kB / 0.6189 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.5143, allocations: 19.66 kB / 0.6189 GB, free: 3.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/0.5151, allocations: 370 kB / 0.6192 GB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.5156, allocations: 0.8202 MB / 0.62 GB, free: 1.891 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5156, allocations: 0 / 0.62 GB, free: 1.891 MB / 410.7 MB Notification: Performance of Templates: time 0.006973/0.5226, allocations: 3.563 MB / 0.6235 GB, free: 14.38 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches