Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.002042/0.002042, allocations: 196.4 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 98.97 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.728e-06/1.003e-05, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/0.4381, allocations: 91.35 MB / 0.593 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4384, allocations: 96.84 kB / 0.5931 GB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01925/0.4577, allocations: 6.616 MB / 0.5996 GB, free: 6.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4577, allocations: 4 kB / 0.5996 GB, free: 6.004 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000572/0.4583, allocations: 413.4 kB / 0.6 GB, free: 5.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4584, allocations: 8.031 kB / 0.6 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.4584, allocations: 19.56 kB / 0.6 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.4587, allocations: 198.7 kB / 0.6002 GB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4587, allocations: 4 kB / 0.6002 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.4587, allocations: 4 kB / 0.6002 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002194/0.459, allocations: 129.7 kB / 0.6003 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.4592, allocations: 139.6 kB / 0.6004 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4592, allocations: 3.984 kB / 0.6004 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4593, allocations: 4 kB / 0.6004 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4593, allocations: 12 kB / 0.6005 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.4601, allocations: 451.9 kB / 0.6009 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.4604, allocations: 147.4 kB / 0.601 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.4605, allocations: 39.72 kB / 0.6011 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.4605, allocations: 7.984 kB / 0.6011 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4606, allocations: 34.69 kB / 0.6011 GB, free: 4.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.4606, allocations: 0 / 0.6011 GB, free: 4.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002817/0.4609, allocations: 120.1 kB / 0.6012 GB, free: 4.281 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4609, allocations: 55.5 kB / 0.6013 GB, free: 4.215 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.4611, allocations: 133.7 kB / 0.6014 GB, free: 4.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4611, allocations: 29.64 kB / 0.6014 GB, free: 4.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.4612, allocations: 122.9 kB / 0.6015 GB, free: 3.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.4612, allocations: 23.64 kB / 0.6016 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.4612, allocations: 0 / 0.6016 GB, free: 3.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4613, allocations: 329.2 kB / 0.6019 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.4614, allocations: 31.92 kB / 0.6019 GB, free: 3.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.4615, allocations: 71.47 kB / 0.602 GB, free: 3.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.4616, allocations: 39.78 kB / 0.602 GB, free: 3.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4616, allocations: 0 / 0.602 GB, free: 3.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002159/0.4618, allocations: 134.8 kB / 0.6021 GB, free: 3.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4618, allocations: 8 kB / 0.6022 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4618, allocations: 0 / 0.6022 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4619, allocations: 7.922 kB / 0.6022 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.4622, allocations: 48.03 kB / 0.6022 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007918/0.463, allocations: 1.243 MB / 0.6034 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4631, allocations: 8.031 kB / 0.6034 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.4631, allocations: 11.47 kB / 0.6034 GB, free: 1.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.4633, allocations: 109 kB / 0.6035 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.4633, allocations: 7.906 kB / 0.6036 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.4636, allocations: 167.5 kB / 0.6037 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4636, allocations: 0 / 0.6037 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4637, allocations: 0 / 0.6037 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4637, allocations: 3.906 kB / 0.6037 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.4639, allocations: 194.4 kB / 0.6039 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4639, allocations: 0 / 0.6039 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.4642, allocations: 43.97 kB / 0.6039 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4642, allocations: 0 / 0.6039 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.4642, allocations: 7.984 kB / 0.604 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007078/0.4649, allocations: 1.235 MB / 0.6052 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.465, allocations: 4 kB / 0.6052 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002431/0.4652, allocations: 236.3 kB / 0.6054 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.4653, allocations: 88.95 kB / 0.6055 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4653, allocations: 0 / 0.6055 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4654, allocations: 11.98 kB / 0.6055 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4655, allocations: 3.984 kB / 0.6055 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4655, allocations: 8 kB / 0.6055 GB, free: 15.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.352e-05/0.4656, allocations: 106.6 kB / 0.6056 GB, free: 15.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.4659, allocations: 51.84 kB / 0.6056 GB, free: 15.64 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000246/0.4662, allocations: 146 kB / 0.6058 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003871/0.4666, allocations: 122.2 kB / 0.6059 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4666, allocations: 0 / 0.6059 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.4669, allocations: 82.56 kB / 0.606 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.4671, allocations: 19.39 kB / 0.606 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.4675, allocations: 193.9 kB / 0.6062 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.4679, allocations: 0.7535 MB / 0.6069 GB, free: 14.31 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4679, allocations: 0 / 0.6069 GB, free: 14.31 MB / 410.7 MB Notification: Performance of Templates: time 0.00455/0.4725, allocations: 2.062 MB / 0.6089 GB, free: 12.3 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches