Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall,tolerance=1e-06,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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_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_evenGapOverall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,tolerance=1e-06,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.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_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_evenGapOverall") [: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.002475/0.002476, allocations: 203 kB / 8.543 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 92.09 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.248/0.248, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.706e-06, allocations: 4 kB / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1518, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.5471, allocations: 99.67 MB / 0.6011 GB, free: 3.238 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/0.5476, allocations: 96.94 kB / 0.6012 GB, free: 3.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06313/0.6107, allocations: 21.52 MB / 0.6222 GB, free: 1.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.6108, allocations: 8 kB / 0.6222 GB, free: 1.027 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001536/0.6123, allocations: 0.7127 MB / 0.6229 GB, free: 304 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.6124, allocations: 8.031 kB / 0.623 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.613, allocations: 99.3 kB / 0.623 GB, free: 196 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.6136, allocations: 309 kB / 0.6233 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.6136, allocations: 20 kB / 0.6234 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/0.6137, allocations: 28 kB / 0.6234 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007223/0.6145, allocations: 421.2 kB / 0.6238 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.6154, allocations: 0.6012 MB / 0.6244 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.6155, allocations: 4 kB / 0.6244 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.6155, allocations: 0 / 0.6244 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.6156, allocations: 24.19 kB / 0.6244 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.6181, allocations: 1.354 MB / 0.6257 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.6186, allocations: 291.8 kB / 0.626 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.6188, allocations: 128.9 kB / 0.6261 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.624e-05/0.6189, allocations: 27.83 kB / 0.6262 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.619, allocations: 37.81 kB / 0.6262 GB, free: 13.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.619, allocations: 0 / 0.6262 GB, free: 13.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007727/0.6197, allocations: 315.7 kB / 0.6265 GB, free: 13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.6198, allocations: 110.8 kB / 0.6266 GB, free: 12.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.6201, allocations: 198 kB / 0.6268 GB, free: 12.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.6201, allocations: 29.77 kB / 0.6268 GB, free: 12.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.6203, allocations: 236.8 kB / 0.627 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.279e-05/0.6204, allocations: 77.47 kB / 0.6271 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.6204, allocations: 0 / 0.6271 GB, free: 12.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6206, allocations: 329 kB / 0.6274 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.6208, allocations: 124.7 kB / 0.6275 GB, free: 11.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.6211, allocations: 222.6 kB / 0.6278 GB, free: 11.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.6214, allocations: 161.8 kB / 0.6279 GB, free: 11.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6214, allocations: 4 kB / 0.6279 GB, free: 11.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006939/0.6221, allocations: 403.1 kB / 0.6283 GB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6221, allocations: 8 kB / 0.6283 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.552e-05/0.6222, allocations: 35.97 kB / 0.6283 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.6223, allocations: 8 kB / 0.6283 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.6225, allocations: 51.42 kB / 0.6284 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6226, allocations: 4 kB / 0.6284 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.6229, allocations: 43.78 kB / 0.6284 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.6229, allocations: 19.25 kB / 0.6285 GB, free: 11.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001509/0.6231, allocations: 120.8 kB / 0.6286 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.6232, allocations: 27.7 kB / 0.6286 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.6242, allocations: 492.7 kB / 0.6291 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6242, allocations: 8 kB / 0.6291 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6242, allocations: 0 / 0.6291 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6242, allocations: 4 kB / 0.6291 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.6248, allocations: 363.7 kB / 0.6294 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.547e-05/0.6249, allocations: 39.97 kB / 0.6295 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.6251, allocations: 39.72 kB / 0.6295 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.6251, allocations: 4 kB / 0.6295 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.6252, allocations: 11.98 kB / 0.6295 GB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.6252, allocations: 3.938 kB / 0.6295 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6252, allocations: 3.938 kB / 0.6295 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006981/0.6259, allocations: 0.5819 MB / 0.6301 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.626, allocations: 104.8 kB / 0.6302 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.6261, allocations: 0 / 0.6302 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.6263, allocations: 27.98 kB / 0.6302 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.6264, allocations: 19.97 kB / 0.6302 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.6265, allocations: 15.61 kB / 0.6303 GB, free: 9.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001419/0.6266, allocations: 147.8 kB / 0.6304 GB, free: 9.098 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009948/0.6276, allocations: 225.2 kB / 0.6306 GB, free: 8.887 MB / 426.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0007576/0.6284, allocations: 307 kB / 0.6309 GB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.6292, allocations: 0.6145 MB / 0.6315 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6292, allocations: 0 / 0.6315 GB, free: 7.934 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.6296, allocations: 470 kB / 0.632 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.63, allocations: 24.41 kB / 0.632 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.6317, allocations: 0.6295 MB / 0.6326 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/0.6323, allocations: 0.9211 MB / 0.6335 GB, free: 5.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6323, allocations: 0 / 0.6335 GB, free: 5.84 MB / 426.7 MB Notification: Performance of Templates: time 0.01187/0.6442, allocations: 6.023 MB / 0.6394 GB, free: 15.87 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapOverall/kc_evenGapOverall.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches