Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.Plate.kc_turbulent,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") [: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.001382/0.001382, allocations: 179.4 kB / 8.516 MB, free: 1.797 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.299/1.299, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.0008978/0.000898, allocations: 77.8 kB / 281.2 MB, free: 5.477 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.1719/0.1719, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 224 / 444.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4495, allocations: 91.13 MB / 0.5831 GB, free: 5.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.4499, allocations: 95.92 kB / 0.5832 GB, free: 5.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02167/0.4715, allocations: 7.423 MB / 0.5904 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4716, allocations: 4 kB / 0.5904 GB, free: 14.18 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006945/0.4723, allocations: 490 kB / 0.5909 GB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4724, allocations: 15.97 kB / 0.5909 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.4724, allocations: 19.72 kB / 0.5909 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.4727, allocations: 220 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4727, allocations: 8 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.4727, allocations: 4 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000245/0.473, allocations: 140.4 kB / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.4733, allocations: 226.4 kB / 0.5915 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4733, allocations: 0 / 0.5915 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.4733, allocations: 3.984 kB / 0.5915 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.4734, allocations: 20.17 kB / 0.5915 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.4744, allocations: 0.7635 MB / 0.5923 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.4746, allocations: 163.7 kB / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4747, allocations: 78.53 kB / 0.5925 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.4748, allocations: 16.03 kB / 0.5925 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4748, allocations: 34.5 kB / 0.5926 GB, free: 11.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4748, allocations: 4 kB / 0.5926 GB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004163/0.4752, allocations: 173.3 kB / 0.5927 GB, free: 11.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4753, allocations: 110.9 kB / 0.5928 GB, free: 11.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4755, allocations: 166.7 kB / 0.593 GB, free: 11.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.4755, allocations: 25.7 kB / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.4756, allocations: 128 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.4756, allocations: 35.45 kB / 0.5932 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.4756, allocations: 0 / 0.5932 GB, free: 11.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4757, allocations: 326.8 kB / 0.5935 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4759, allocations: 75.88 kB / 0.5936 GB, free: 10.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.476, allocations: 109.1 kB / 0.5937 GB, free: 10.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4762, allocations: 79.95 kB / 0.5937 GB, free: 10.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4762, allocations: 0 / 0.5937 GB, free: 10.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003355/0.4765, allocations: 213.2 kB / 0.5939 GB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4765, allocations: 8 kB / 0.594 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.4766, allocations: 7.984 kB / 0.594 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4766, allocations: 4 kB / 0.594 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4769, allocations: 48.06 kB / 0.594 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4769, allocations: 7.984 kB / 0.594 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4771, allocations: 35.83 kB / 0.5941 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4771, allocations: 11.98 kB / 0.5941 GB, free: 10.18 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: 0 () * 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.907e-05/0.4773, allocations: 105 kB / 0.5942 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.4773, allocations: 15.75 kB / 0.5942 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.4777, allocations: 202.8 kB / 0.5944 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.4777, allocations: 3.984 kB / 0.5944 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4777, allocations: 4 kB / 0.5944 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4778, allocations: 0 / 0.5944 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.4781, allocations: 230 kB / 0.5946 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.4781, allocations: 8 kB / 0.5946 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4783, allocations: 43.89 kB / 0.5947 GB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4784, allocations: 4 kB / 0.5947 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4784, allocations: 0 / 0.5947 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4784, allocations: 4 kB / 0.5947 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4784, allocations: 4 kB / 0.5947 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004177/0.4788, allocations: 445.2 kB / 0.5951 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.4789, allocations: 96.86 kB / 0.5952 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.4789, allocations: 0 / 0.5952 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.4792, allocations: 31.88 kB / 0.5952 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4793, allocations: 20.02 kB / 0.5952 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.4793, allocations: 15.92 kB / 0.5952 GB, free: 8.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001137/0.4795, allocations: 141.2 kB / 0.5954 GB, free: 8.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004621/0.4799, allocations: 71.84 kB / 0.5954 GB, free: 8.664 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.0003178/0.4803, allocations: 159.1 kB / 0.5956 GB, free: 8.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.4806, allocations: 228.9 kB / 0.5958 GB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4806, allocations: 0 / 0.5958 GB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.4808, allocations: 153.3 kB / 0.596 GB, free: 8.086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4811, allocations: 32.22 kB / 0.596 GB, free: 8.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.482, allocations: 293.4 kB / 0.5963 GB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.4824, allocations: 0.7851 MB / 0.597 GB, free: 6.926 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4824, allocations: 0 / 0.597 GB, free: 6.926 MB / 410.7 MB Notification: Performance of Templates: time 0.005818/0.4882, allocations: 2.98 MB / 0.6 GB, free: 3.977 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches