Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009627/0.0009628, allocations: 188.4 kB / 7.804 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009002/0.0009001, allocations: 88.75 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1579/0.1579, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.211e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2349, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3409, allocations: 92.58 MB / 0.5558 GB, free: 6.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.3412, allocations: 99.92 kB / 0.5559 GB, free: 6.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03355/0.3748, allocations: 13.68 MB / 0.5693 GB, free: 8.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.3748, allocations: 8 kB / 0.5693 GB, free: 8.344 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.0009722/0.3758, allocations: 0.6383 MB / 0.5699 GB, free: 7.664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3759, allocations: 12.03 kB / 0.5699 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.376, allocations: 55.28 kB / 0.57 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.3764, allocations: 295 kB / 0.5703 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3765, allocations: 19.94 kB / 0.5703 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.3765, allocations: 35.91 kB / 0.5703 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00083/0.3774, allocations: 0.6467 MB / 0.5709 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.3782, allocations: 0.6129 MB / 0.5715 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3782, allocations: 0 / 0.5715 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.3782, allocations: 0 / 0.5715 GB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.3783, allocations: 53.27 kB / 0.5716 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.3803, allocations: 1.311 MB / 0.5729 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.381, allocations: 0.545 MB / 0.5734 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3813, allocations: 180.7 kB / 0.5736 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3813, allocations: 7.984 kB / 0.5736 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3813, allocations: 43.19 kB / 0.5736 GB, free: 3.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.3813, allocations: 4 kB / 0.5736 GB, free: 3.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007089/0.382, allocations: 436.3 kB / 0.574 GB, free: 3.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.3821, allocations: 55.41 kB / 0.5741 GB, free: 3.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3822, allocations: 174.6 kB / 0.5743 GB, free: 3.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3823, allocations: 25.7 kB / 0.5743 GB, free: 3.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3824, allocations: 236.2 kB / 0.5745 GB, free: 2.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3825, allocations: 122.2 kB / 0.5746 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.3825, allocations: 0 / 0.5746 GB, free: 2.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.3826, allocations: 334.8 kB / 0.5749 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3829, allocations: 176.7 kB / 0.5751 GB, free: 2.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3832, allocations: 270.4 kB / 0.5754 GB, free: 1.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.3835, allocations: 211.8 kB / 0.5756 GB, free: 1.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3835, allocations: 4 kB / 0.5756 GB, free: 1.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000702/0.3842, allocations: 0.4967 MB / 0.5761 GB, free: 1.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3842, allocations: 11.94 kB / 0.5761 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3842, allocations: 0 / 0.5761 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3842, allocations: 8 kB / 0.5761 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3853, allocations: 216.1 kB / 0.5763 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.3888, allocations: 7.423 MB / 0.5835 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3891, allocations: 23.78 kB / 0.5836 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.3891, allocations: 24.11 kB / 0.5836 GB, free: 9.164 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.0001299/0.3893, allocations: 130.2 kB / 0.5837 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3893, allocations: 23.72 kB / 0.5837 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.3903, allocations: 0.636 MB / 0.5844 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3903, allocations: 4 kB / 0.5844 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3903, allocations: 3.938 kB / 0.5844 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3903, allocations: 3.984 kB / 0.5844 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3908, allocations: 409.6 kB / 0.5848 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3908, allocations: 0 / 0.5848 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.3917, allocations: 211.8 kB / 0.585 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3918, allocations: 0 / 0.585 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.3918, allocations: 11.98 kB / 0.585 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.3952, allocations: 7.399 MB / 0.5922 GB, free: 16 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3952, allocations: 4.031 kB / 0.5922 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006603/0.3959, allocations: 0.531 MB / 0.5927 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.396, allocations: 100.8 kB / 0.5928 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.396, allocations: 0 / 0.5928 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3962, allocations: 16.08 kB / 0.5928 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.3963, allocations: 31.7 kB / 0.5929 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.3964, allocations: 15.98 kB / 0.5929 GB, free: 15.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.739e-05/0.3965, allocations: 132.1 kB / 0.593 GB, free: 15.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.397, allocations: 155.4 kB / 0.5931 GB, free: 15 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.0003088/0.3973, allocations: 189 kB / 0.5933 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.3988, allocations: 0.582 MB / 0.5939 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3988, allocations: 0 / 0.5939 GB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.4, allocations: 395.5 kB / 0.5943 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.4003, allocations: 16.05 kB / 0.5943 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4015, allocations: 0.6972 MB / 0.595 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.4021, allocations: 0.9516 MB / 0.5959 GB, free: 12.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4021, allocations: 0 / 0.5959 GB, free: 12.12 MB / 442.7 MB Notification: Performance of Templates: time 0.009531/0.4116, allocations: 6.006 MB / 0.6018 GB, free: 6.121 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches