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_evenGapLaminar_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_evenGapLaminar_KC,tolerance=1e-06,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.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,tolerance=1e-06,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.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.001043/0.001043, allocations: 184.4 kB / 8.523 MB, free: 1.828 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.293/1.293, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.0009352/0.0009353, allocations: 87.36 kB / 281.2 MB, free: 5.492 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.1856/0.1856, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.103e-06, allocations: 0 / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 61.91 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3152/0.4643, allocations: 93.74 MB / 0.5857 GB, free: 3.113 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.4646, allocations: 95.92 kB / 0.5857 GB, free: 3.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03628/0.5009, allocations: 14.07 MB / 0.5995 GB, free: 4.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.501, allocations: 11.94 kB / 0.5995 GB, free: 4.719 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.0008536/0.5018, allocations: 0.6349 MB / 0.6001 GB, free: 4.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5019, allocations: 11.97 kB / 0.6001 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.502, allocations: 51.34 kB / 0.6002 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.5024, allocations: 295 kB / 0.6005 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.5025, allocations: 16 kB / 0.6005 GB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.5025, allocations: 39.89 kB / 0.6005 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008459/0.5034, allocations: 0.6467 MB / 0.6011 GB, free: 2.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008635/0.5043, allocations: 0.6167 MB / 0.6017 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5043, allocations: 0 / 0.6017 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.5043, allocations: 8 kB / 0.6017 GB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.5044, allocations: 41.28 kB / 0.6018 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.5065, allocations: 1.312 MB / 0.6031 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.5072, allocations: 0.5493 MB / 0.6036 GB, free: 368 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.5075, allocations: 180.5 kB / 0.6038 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.5076, allocations: 15.98 kB / 0.6038 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.5076, allocations: 42.48 kB / 0.6038 GB, free: 116 kB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.342e-06/0.5076, allocations: 0 / 0.6038 GB, free: 116 kB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007276/0.5083, allocations: 425.5 kB / 0.6042 GB, free: 15.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.5084, allocations: 55.41 kB / 0.6043 GB, free: 15.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.5086, allocations: 174.6 kB / 0.6045 GB, free: 15.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.5086, allocations: 25.7 kB / 0.6045 GB, free: 15.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5087, allocations: 248.1 kB / 0.6047 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.5088, allocations: 126.1 kB / 0.6048 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.5089, allocations: 0 / 0.6048 GB, free: 15.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.509, allocations: 326.8 kB / 0.6052 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.5092, allocations: 172.7 kB / 0.6053 GB, free: 14.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.5096, allocations: 278.5 kB / 0.6056 GB, free: 14.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.5099, allocations: 216 kB / 0.6058 GB, free: 14.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5099, allocations: 4 kB / 0.6058 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007762/0.5107, allocations: 0.4964 MB / 0.6063 GB, free: 13.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5107, allocations: 8.375 kB / 0.6063 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5107, allocations: 4 kB / 0.6063 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.5107, allocations: 11.94 kB / 0.6063 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5118, allocations: 215.8 kB / 0.6065 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.5159, allocations: 7.415 MB / 0.6137 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.5162, allocations: 28.11 kB / 0.6138 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.5162, allocations: 23.98 kB / 0.6138 GB, free: 5.527 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.5164, allocations: 124.8 kB / 0.6139 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.5164, allocations: 23.72 kB / 0.6139 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.5175, allocations: 0.6321 MB / 0.6146 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.5175, allocations: 4 kB / 0.6146 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5175, allocations: 0 / 0.6146 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5175, allocations: 3.984 kB / 0.6146 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.5181, allocations: 401.5 kB / 0.6149 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5181, allocations: 0 / 0.6149 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/0.5191, allocations: 215.8 kB / 0.6152 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5191, allocations: 0 / 0.6152 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.5192, allocations: 19.98 kB / 0.6152 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004045/0.5232, allocations: 7.403 MB / 0.6224 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5232, allocations: 0 / 0.6224 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007139/0.5239, allocations: 0.5311 MB / 0.6229 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.524, allocations: 105 kB / 0.623 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.5241, allocations: 0 / 0.623 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.5243, allocations: 15.92 kB / 0.623 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.5244, allocations: 23.95 kB / 0.6231 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.5245, allocations: 19.98 kB / 0.6231 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001096/0.5246, allocations: 128.1 kB / 0.6232 GB, free: 11.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.5252, allocations: 155.4 kB / 0.6233 GB, free: 11.38 MB / 442.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.5255, allocations: 197 kB / 0.6235 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.5272, allocations: 0.578 MB / 0.6241 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5272, allocations: 0 / 0.6241 GB, free: 10.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.5285, allocations: 387.5 kB / 0.6245 GB, free: 10.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.5287, allocations: 16.17 kB / 0.6245 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.5301, allocations: 0.6946 MB / 0.6252 GB, free: 9.477 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.5307, allocations: 0.9548 MB / 0.6261 GB, free: 8.496 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5307, allocations: 4 kB / 0.6261 GB, free: 8.492 MB / 442.7 MB Notification: Performance of Templates: time 0.01022/0.5409, allocations: 6.012 MB / 0.632 GB, free: 2.516 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches