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_KC.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_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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 184.7 kB / 8.52 MB, free: 1.844 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.283/1.283, allocations: 221.4 MB / 230.3 MB, free: 7.73 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.0008496/0.0008497, allocations: 91.28 kB / 281.2 MB, free: 5.48 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.197/0.197, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.011e-06, allocations: 224 / 444.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 61.92 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4564, allocations: 89.18 MB / 0.5812 GB, free: 7.535 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004726/0.4569, allocations: 97.34 kB / 0.5813 GB, free: 7.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03173/0.4887, allocations: 5.553 MB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4888, allocations: 4 kB / 0.5867 GB, free: 1.879 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.0008584/0.4896, allocations: 429.9 kB / 0.5871 GB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4897, allocations: 11.97 kB / 0.5871 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.4911, allocations: 107.7 kB / 0.5872 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.4915, allocations: 218.8 kB / 0.5875 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4915, allocations: 4 kB / 0.5875 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.4916, allocations: 8 kB / 0.5875 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006675/0.4922, allocations: 264.1 kB / 0.5877 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.4928, allocations: 267.9 kB / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4929, allocations: 0 / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.4929, allocations: 7.984 kB / 0.588 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.493, allocations: 15.91 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.4951, allocations: 0.6697 MB / 0.5886 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.4958, allocations: 286.2 kB / 0.5889 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.4961, allocations: 88.83 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.4962, allocations: 7.984 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4962, allocations: 38.56 kB / 0.589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.4962, allocations: 0 / 0.589 GB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007984/0.497, allocations: 234.2 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.4971, allocations: 51.41 kB / 0.5893 GB, free: 15.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.4973, allocations: 145.5 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.4974, allocations: 25.7 kB / 0.5895 GB, free: 14.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.4975, allocations: 120.1 kB / 0.5896 GB, free: 14.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.4975, allocations: 39.36 kB / 0.5896 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.4975, allocations: 4 kB / 0.5896 GB, free: 14.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4977, allocations: 326.8 kB / 0.59 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.4978, allocations: 91.91 kB / 0.59 GB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.498, allocations: 119.5 kB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.4983, allocations: 113.1 kB / 0.5903 GB, free: 14.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4983, allocations: 7.906 kB / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005168/0.4988, allocations: 265.3 kB / 0.5905 GB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4988, allocations: 14.33 kB / 0.5905 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4988, allocations: 3.938 kB / 0.5905 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4989, allocations: 0 / 0.5905 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02078/0.5196, allocations: 0.9436 MB / 0.5915 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.5419, allocations: 9.84 MB / 0.6011 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.5424, allocations: 16.02 kB / 0.6011 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.5425, allocations: 15.97 kB / 0.6011 GB, free: 2.227 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.0001407/0.5426, allocations: 112.9 kB / 0.6012 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.5427, allocations: 7.906 kB / 0.6012 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007657/0.5503, allocations: 0.6589 MB / 0.6019 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.5504, allocations: 0 / 0.6019 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5504, allocations: 3.984 kB / 0.6019 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5504, allocations: 0 / 0.6019 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.5508, allocations: 249.9 kB / 0.6021 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5508, allocations: 0 / 0.6021 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.5511, allocations: 43.97 kB / 0.6021 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008829/0.5599, allocations: 489.9 kB / 0.6026 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.56, allocations: 7.922 kB / 0.6026 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.575, allocations: 9.215 MB / 0.6116 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.575, allocations: 0 / 0.6116 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007638/0.5827, allocations: 0.6964 MB / 0.6123 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/0.5828, allocations: 92.91 kB / 0.6124 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.5828, allocations: 4 kB / 0.6124 GB, free: 5.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.5832, allocations: 11.98 kB / 0.6124 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.5833, allocations: 19.97 kB / 0.6124 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.5833, allocations: 11.97 kB / 0.6124 GB, free: 5.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001188/0.5834, allocations: 119.6 kB / 0.6125 GB, free: 5.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007126/0.5842, allocations: 95.84 kB / 0.6126 GB, free: 5.594 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.0002248/0.5844, allocations: 122.6 kB / 0.6128 GB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02458/0.609, allocations: 1.19 MB / 0.6139 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.609, allocations: 0 / 0.6139 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.6113, allocations: 493 kB / 0.6144 GB, free: 3.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.6116, allocations: 20.72 kB / 0.6144 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.6149, allocations: 0.6156 MB / 0.615 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.6153, allocations: 0.7666 MB / 0.6158 GB, free: 2.309 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6153, allocations: 0 / 0.6158 GB, free: 2.309 MB / 426.7 MB Notification: Performance of Templates: time 0.01033/0.6256, allocations: 6.271 MB / 0.6219 GB, free: 12.06 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches