Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") [: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.001944/0.001945, allocations: 199.2 kB / 8.539 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 92.03 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 45.15 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.683e-06/6.703e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4569, allocations: 93.48 MB / 0.5951 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4572, allocations: 95.86 kB / 0.5952 GB, free: 9.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02741/0.4846, allocations: 9.692 MB / 0.6046 GB, free: 1.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.4847, allocations: 4 kB / 0.6046 GB, free: 1.328 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000802/0.4855, allocations: 0.5102 MB / 0.6051 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4855, allocations: 8.031 kB / 0.6051 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.486, allocations: 75.67 kB / 0.6052 GB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4863, allocations: 226.2 kB / 0.6054 GB, free: 460 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4863, allocations: 11.91 kB / 0.6054 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.4864, allocations: 8 kB / 0.6055 GB, free: 440 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000266/0.4866, allocations: 142.8 kB / 0.6056 GB, free: 336 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.487, allocations: 242.2 kB / 0.6058 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.487, allocations: 0 / 0.6058 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.487, allocations: 0 / 0.6058 GB, free: 120 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.4871, allocations: 11.98 kB / 0.6058 GB, free: 108 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.4881, allocations: 0.7223 MB / 0.6065 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.4886, allocations: 197.3 kB / 0.6067 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.4887, allocations: 73.22 kB / 0.6068 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.4888, allocations: 11.98 kB / 0.6068 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4888, allocations: 41.97 kB / 0.6068 GB, free: 15.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.4888, allocations: 0 / 0.6068 GB, free: 15.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004167/0.4892, allocations: 167.1 kB / 0.607 GB, free: 14.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.4893, allocations: 110.3 kB / 0.6071 GB, free: 14.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.4895, allocations: 170 kB / 0.6073 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4895, allocations: 29.77 kB / 0.6073 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.4896, allocations: 130 kB / 0.6074 GB, free: 14.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.4897, allocations: 43.17 kB / 0.6075 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.4897, allocations: 0 / 0.6075 GB, free: 14.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4898, allocations: 325.6 kB / 0.6078 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4899, allocations: 58.23 kB / 0.6078 GB, free: 14.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.49, allocations: 102.2 kB / 0.6079 GB, free: 13.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.4902, allocations: 77.97 kB / 0.608 GB, free: 13.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4902, allocations: 0 / 0.608 GB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003253/0.4905, allocations: 202.3 kB / 0.6082 GB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4905, allocations: 4 kB / 0.6082 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.4906, allocations: 12.16 kB / 0.6082 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4906, allocations: 4 kB / 0.6082 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.4908, allocations: 39.95 kB / 0.6083 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4908, allocations: 4 kB / 0.6083 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.491, allocations: 31.83 kB / 0.6083 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4911, allocations: 14.67 kB / 0.6083 GB, free: 13.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 9.701e-05/0.4912, allocations: 108.9 kB / 0.6084 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.4913, allocations: 15.81 kB / 0.6084 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.4916, allocations: 212.7 kB / 0.6086 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4917, allocations: 3.984 kB / 0.6086 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4917, allocations: 0 / 0.6086 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.4917, allocations: 7.984 kB / 0.6086 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.4921, allocations: 236.4 kB / 0.6089 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.4921, allocations: 8 kB / 0.6089 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.4923, allocations: 47.83 kB / 0.6089 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4923, allocations: 4 kB / 0.6089 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4923, allocations: 7.812 kB / 0.6089 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4923, allocations: 0 / 0.6089 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4923, allocations: 0 / 0.6089 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003841/0.4927, allocations: 449.4 kB / 0.6094 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.4928, allocations: 96.92 kB / 0.6094 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.4928, allocations: 0 / 0.6094 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.4931, allocations: 27.97 kB / 0.6095 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.4932, allocations: 19.3 kB / 0.6095 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4932, allocations: 4 kB / 0.6095 GB, free: 12.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001025/0.4933, allocations: 131.2 kB / 0.6096 GB, free: 12.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000475/0.4938, allocations: 87.27 kB / 0.6097 GB, free: 12.15 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003375/0.4941, allocations: 183 kB / 0.6099 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.4945, allocations: 223.8 kB / 0.6101 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4945, allocations: 0 / 0.6101 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.4947, allocations: 159.1 kB / 0.6102 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.495, allocations: 20.52 kB / 0.6103 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.4957, allocations: 309.4 kB / 0.6106 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.4961, allocations: 0.7926 MB / 0.6113 GB, free: 10.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4961, allocations: 0 / 0.6113 GB, free: 10.44 MB / 410.7 MB Notification: Performance of Templates: time 0.006383/0.5025, allocations: 3.116 MB / 0.6144 GB, free: 7.379 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches