Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC,tolerance=1e-07,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.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,tolerance=1e-07,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.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.001548/0.001548, allocations: 203.5 kB / 8.537 MB, free: 1.727 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 97.58 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 45.15 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.034e-05, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4232, allocations: 90.25 MB / 0.5919 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4235, allocations: 92.56 kB / 0.592 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01615/0.4397, allocations: 5.609 MB / 0.5975 GB, free: 7.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.4397, allocations: 4 kB / 0.5975 GB, free: 7.973 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005009/0.4402, allocations: 428.3 kB / 0.5979 GB, free: 7.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4403, allocations: 8.031 kB / 0.5979 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009366/0.4412, allocations: 102.2 kB / 0.598 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.4415, allocations: 229.1 kB / 0.5982 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4415, allocations: 8 kB / 0.5982 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.4416, allocations: 4 kB / 0.5982 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004418/0.442, allocations: 262.6 kB / 0.5985 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.4424, allocations: 273.9 kB / 0.5988 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4424, allocations: 0 / 0.5988 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.4425, allocations: 7.891 kB / 0.5988 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.4425, allocations: 19.92 kB / 0.5988 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.4439, allocations: 0.6799 MB / 0.5994 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.4444, allocations: 273.5 kB / 0.5997 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.4446, allocations: 99.94 kB / 0.5998 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.4446, allocations: 3.984 kB / 0.5998 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4447, allocations: 34.56 kB / 0.5998 GB, free: 5.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.4447, allocations: 0 / 0.5998 GB, free: 5.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004878/0.4452, allocations: 241.6 kB / 0.6001 GB, free: 5.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4452, allocations: 55.34 kB / 0.6001 GB, free: 5.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4454, allocations: 143.9 kB / 0.6003 GB, free: 5.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4454, allocations: 29.7 kB / 0.6003 GB, free: 5.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.4455, allocations: 123.6 kB / 0.6004 GB, free: 5.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.4455, allocations: 42.39 kB / 0.6004 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.4456, allocations: 0 / 0.6004 GB, free: 5.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4457, allocations: 322.1 kB / 0.6008 GB, free: 4.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.4458, allocations: 97.89 kB / 0.6008 GB, free: 4.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.446, allocations: 116 kB / 0.601 GB, free: 4.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.4462, allocations: 113.4 kB / 0.6011 GB, free: 4.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4462, allocations: 0 / 0.6011 GB, free: 4.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004155/0.4466, allocations: 260.6 kB / 0.6013 GB, free: 4.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4466, allocations: 8 kB / 0.6013 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4466, allocations: 0 / 0.6013 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4467, allocations: 0 / 0.6013 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01931/0.466, allocations: 0.9457 MB / 0.6022 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/0.488, allocations: 9.825 MB / 0.6118 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.4884, allocations: 32 kB / 0.6119 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.4885, allocations: 15.97 kB / 0.6119 GB, free: 8.828 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001319/0.4886, allocations: 105 kB / 0.612 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.4887, allocations: 7.906 kB / 0.612 GB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007731/0.4964, allocations: 0.6562 MB / 0.6126 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.4965, allocations: 7.938 kB / 0.6126 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4965, allocations: 4 kB / 0.6126 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4965, allocations: 3.984 kB / 0.6126 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.4969, allocations: 246.6 kB / 0.6129 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.4969, allocations: 0 / 0.6129 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.4972, allocations: 39.91 kB / 0.6129 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008863/0.5061, allocations: 495.1 kB / 0.6134 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.5061, allocations: 3.984 kB / 0.6134 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.521, allocations: 9.234 MB / 0.6224 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.521, allocations: 4 kB / 0.6224 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00745/0.5285, allocations: 0.692 MB / 0.6231 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.5286, allocations: 96.84 kB / 0.6232 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.5287, allocations: 0 / 0.6232 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.529, allocations: 11.98 kB / 0.6232 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.5291, allocations: 11.97 kB / 0.6232 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.5291, allocations: 15.97 kB / 0.6232 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.794e-05/0.5292, allocations: 122.3 kB / 0.6233 GB, free: 12.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006449/0.5298, allocations: 91.91 kB / 0.6234 GB, free: 12.53 MB / 426.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 (13): * 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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.53, allocations: 123.8 kB / 0.6235 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02425/0.5543, allocations: 1.19 MB / 0.6247 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5544, allocations: 0 / 0.6247 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.5565, allocations: 494.6 kB / 0.6252 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.5567, allocations: 11.38 kB / 0.6252 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.56, allocations: 0.6022 MB / 0.6258 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.5604, allocations: 0.7807 MB / 0.6265 GB, free: 9.316 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5604, allocations: 0 / 0.6265 GB, free: 9.316 MB / 426.7 MB Notification: Performance of Templates: time 0.009357/0.5698, allocations: 6.263 MB / 0.6327 GB, free: 3.098 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches