Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 179.6 kB / 8.522 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 88.67 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1859/0.1859, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.193e-06, allocations: 224 / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4514, allocations: 92.43 MB / 0.5844 GB, free: 4.395 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.4517, allocations: 99.3 kB / 0.5845 GB, free: 4.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02664/0.4784, allocations: 9.534 MB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.4784, allocations: 7.938 kB / 0.5938 GB, free: 10.72 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007457/0.4792, allocations: 0.5132 MB / 0.5943 GB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4792, allocations: 11.97 kB / 0.5943 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.4793, allocations: 27.72 kB / 0.5943 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.4796, allocations: 214.8 kB / 0.5945 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4796, allocations: 4 kB / 0.5945 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.4796, allocations: 11.91 kB / 0.5945 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002692/0.4799, allocations: 151.9 kB / 0.5947 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.4803, allocations: 232.4 kB / 0.5949 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4803, allocations: 3.938 kB / 0.5949 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.4803, allocations: 0 / 0.5949 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.4803, allocations: 20 kB / 0.5949 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.4814, allocations: 0.7231 MB / 0.5956 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.4818, allocations: 199.8 kB / 0.5958 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.4819, allocations: 74.55 kB / 0.5959 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.482, allocations: 11.94 kB / 0.5959 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.482, allocations: 34.55 kB / 0.5959 GB, free: 8.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.482, allocations: 0 / 0.5959 GB, free: 8.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004/0.4824, allocations: 173.5 kB / 0.5961 GB, free: 8.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.4825, allocations: 106.8 kB / 0.5962 GB, free: 8.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4827, allocations: 169.5 kB / 0.5964 GB, free: 7.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4827, allocations: 25.7 kB / 0.5964 GB, free: 7.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.4828, allocations: 132.1 kB / 0.5965 GB, free: 7.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.4828, allocations: 47.36 kB / 0.5966 GB, free: 7.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.4828, allocations: 0 / 0.5966 GB, free: 7.621 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.4829, allocations: 322.8 kB / 0.5969 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.75e-05/0.4831, allocations: 55.97 kB / 0.5969 GB, free: 7.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4832, allocations: 101.1 kB / 0.597 GB, free: 7.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4833, allocations: 71.88 kB / 0.5971 GB, free: 7.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4833, allocations: 4 kB / 0.5971 GB, free: 7.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003177/0.4836, allocations: 193.4 kB / 0.5973 GB, free: 6.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4837, allocations: 8.031 kB / 0.5973 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.4837, allocations: 11.98 kB / 0.5973 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4837, allocations: 7.938 kB / 0.5973 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.4839, allocations: 39.91 kB / 0.5973 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.484, allocations: 8 kB / 0.5973 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.4842, allocations: 35.81 kB / 0.5974 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.4842, allocations: 4 kB / 0.5974 GB, free: 6.742 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.212e-05/0.4843, allocations: 116.9 kB / 0.5975 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.4844, allocations: 15.81 kB / 0.5975 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.4848, allocations: 203 kB / 0.5977 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4848, allocations: 3.906 kB / 0.5977 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4848, allocations: 4 kB / 0.5977 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4848, allocations: 0 / 0.5977 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.4852, allocations: 242 kB / 0.5979 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.4852, allocations: 11.98 kB / 0.598 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.4854, allocations: 39.97 kB / 0.598 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4854, allocations: 0 / 0.598 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.4854, allocations: 4 kB / 0.598 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4854, allocations: 7.938 kB / 0.598 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4854, allocations: 3.984 kB / 0.598 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003827/0.4858, allocations: 453.1 kB / 0.5984 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.4859, allocations: 88.92 kB / 0.5985 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.4859, allocations: 3.984 kB / 0.5985 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4862, allocations: 23.98 kB / 0.5986 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.4863, allocations: 11.98 kB / 0.5986 GB, free: 5.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4863, allocations: 11.98 kB / 0.5986 GB, free: 5.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.735e-05/0.4864, allocations: 128.5 kB / 0.5987 GB, free: 5.297 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004659/0.4869, allocations: 91.77 kB / 0.5988 GB, free: 5.207 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.0003159/0.4872, allocations: 177.3 kB / 0.599 GB, free: 5.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.4876, allocations: 220.9 kB / 0.5992 GB, free: 4.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4876, allocations: 0 / 0.5992 GB, free: 4.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.4878, allocations: 157.3 kB / 0.5993 GB, free: 4.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4881, allocations: 28.2 kB / 0.5993 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.4888, allocations: 297.3 kB / 0.5996 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.4892, allocations: 0.7855 MB / 0.6004 GB, free: 3.449 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4893, allocations: 3.938 kB / 0.6004 GB, free: 3.445 MB / 410.7 MB Notification: Performance of Templates: time 0.00612/0.4954, allocations: 3.086 MB / 0.6034 GB, free: 416 kB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches