Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 183.4 kB / 8.518 MB, free: 0.4922 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 221.4 MB / 230.3 MB, free: 13.47 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009603, allocations: 98.11 kB / 281.2 MB, free: 10.5 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1754/0.1754, allocations: 44.14 MB / 376.1 MB, free: 11.65 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 8.245e-06/8.275e-06, allocations: 4 kB / 444.1 MB, free: 54.36 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 61.9 MB / 0.4941 GB, free: 8.383 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.4054, allocations: 90.28 MB / 0.5823 GB, free: 8.449 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4057, allocations: 99.38 kB / 0.5824 GB, free: 8.355 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.01873/0.4244, allocations: 6.497 MB / 0.5887 GB, free: 1.832 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.4245, allocations: 4 kB / 0.5887 GB, free: 1.828 MB / 402.8 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.0005757/0.425, allocations: 426.3 kB / 0.5891 GB, free: 1.367 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.869e-05/0.4251, allocations: 11.97 kB / 0.5891 GB, free: 1.355 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.4252, allocations: 15.81 kB / 0.5891 GB, free: 1.34 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.4255, allocations: 202.8 kB / 0.5893 GB, free: 1.102 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.4255, allocations: 7.906 kB / 0.5893 GB, free: 1.094 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.4255, allocations: 4 kB / 0.5893 GB, free: 1.09 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002223/0.4258, allocations: 123.9 kB / 0.5895 GB, free: 0.9688 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.426, allocations: 146.8 kB / 0.5896 GB, free: 0.8203 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.426, allocations: 0 / 0.5896 GB, free: 0.8203 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.426, allocations: 0 / 0.5896 GB, free: 0.8203 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.4261, allocations: 19.98 kB / 0.5896 GB, free: 0.8008 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.4269, allocations: 452.7 kB / 0.5901 GB, free: 328 kB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.4272, allocations: 138.5 kB / 0.5902 GB, free: 180 kB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.4273, allocations: 48.83 kB / 0.5902 GB, free: 128 kB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4273, allocations: 0 / 0.5902 GB, free: 128 kB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4274, allocations: 34.56 kB / 0.5903 GB, free: 84 kB / 402.8 MB Notification: Performance of pre-optimization done (n=9): time 4.879e-06/0.4274, allocations: 4.172 kB / 0.5903 GB, free: 80 kB / 402.8 MB Notification: Performance of matching and sorting (n=9): time 0.0002915/0.4277, allocations: 125.4 kB / 0.5904 GB, free: 15.95 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4277, allocations: 55.41 kB / 0.5904 GB, free: 15.88 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.4278, allocations: 126.5 kB / 0.5906 GB, free: 15.75 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4279, allocations: 25.7 kB / 0.5906 GB, free: 15.72 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.4279, allocations: 111.9 kB / 0.5907 GB, free: 15.61 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.428, allocations: 27.56 kB / 0.5907 GB, free: 15.58 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.428, allocations: 3.938 kB / 0.5907 GB, free: 15.57 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4281, allocations: 322.7 kB / 0.591 GB, free: 15.25 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.4282, allocations: 39.97 kB / 0.5911 GB, free: 15.21 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.4283, allocations: 66.48 kB / 0.5911 GB, free: 15.14 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.4284, allocations: 51.98 kB / 0.5912 GB, free: 15.09 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4284, allocations: 0 / 0.5912 GB, free: 15.09 MB / 418.8 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002157/0.4286, allocations: 129.5 kB / 0.5913 GB, free: 14.95 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.4286, allocations: 4 kB / 0.5913 GB, free: 14.95 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4286, allocations: 4 kB / 0.5913 GB, free: 14.95 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4286, allocations: 0 / 0.5913 GB, free: 14.95 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.4289, allocations: 59.95 kB / 0.5914 GB, free: 14.89 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007561/0.4297, allocations: 1.231 MB / 0.5926 GB, free: 13.61 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.4298, allocations: 12.02 kB / 0.5926 GB, free: 13.6 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.4299, allocations: 4 kB / 0.5926 GB, free: 13.59 MB / 418.8 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.0001021/0.43, allocations: 114.5 kB / 0.5927 GB, free: 13.48 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.43, allocations: 11.91 kB / 0.5927 GB, free: 13.46 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.4303, allocations: 170.1 kB / 0.5929 GB, free: 13.29 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4303, allocations: 0 / 0.5929 GB, free: 13.29 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4304, allocations: 0 / 0.5929 GB, free: 13.29 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4304, allocations: 0 / 0.5929 GB, free: 13.29 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4306, allocations: 202.1 kB / 0.5931 GB, free: 13.06 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4306, allocations: 0 / 0.5931 GB, free: 13.06 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.4309, allocations: 43.95 kB / 0.5931 GB, free: 13.02 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4309, allocations: 4 kB / 0.5931 GB, free: 13.01 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4309, allocations: 4 kB / 0.5931 GB, free: 13.01 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006627/0.4316, allocations: 1.242 MB / 0.5943 GB, free: 11.72 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4316, allocations: 192 / 0.5943 GB, free: 11.72 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002309/0.4318, allocations: 227.3 kB / 0.5945 GB, free: 11.48 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.4319, allocations: 85.02 kB / 0.5946 GB, free: 11.38 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4319, allocations: 0 / 0.5946 GB, free: 11.38 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.4321, allocations: 8.172 kB / 0.5946 GB, free: 11.37 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.4321, allocations: 8 kB / 0.5946 GB, free: 11.36 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4321, allocations: 11.94 kB / 0.5947 GB, free: 11.35 MB / 418.8 MB Notification: Performance of sort global known variables: time 6.536e-05/0.4322, allocations: 109 kB / 0.5948 GB, free: 11.25 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0003218/0.4325, allocations: 51.78 kB / 0.5948 GB, free: 11.2 MB / 418.8 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.0002527/0.4328, allocations: 138 kB / 0.5949 GB, free: 11.05 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.4332, allocations: 119.9 kB / 0.5951 GB, free: 10.93 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4332, allocations: 0 / 0.5951 GB, free: 10.93 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4335, allocations: 84 kB / 0.5951 GB, free: 10.85 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.4337, allocations: 11.98 kB / 0.5951 GB, free: 10.84 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.4342, allocations: 199.2 kB / 0.5953 GB, free: 10.62 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.4345, allocations: 0.7581 MB / 0.5961 GB, free: 9.832 MB / 418.8 MB Notification: Performance of SimCode: time 2.7e-07/0.4345, allocations: 0 / 0.5961 GB, free: 9.832 MB / 418.8 MB Notification: Performance of Templates: time 0.004932/0.4395, allocations: 2.033 MB / 0.5981 GB, free: 7.84 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches