Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002444, allocations: 175.7 kB / 8.149 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 82.66 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2696/0.2696, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.329e-05, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3026, allocations: 58.84 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.473, allocations: 92.58 MB / 0.5558 GB, free: 6.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/0.4735, allocations: 99.42 kB / 0.5559 GB, free: 6.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06469/0.5382, allocations: 13.69 MB / 0.5693 GB, free: 8.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.5383, allocations: 8 kB / 0.5693 GB, free: 8.453 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.001616/0.5399, allocations: 0.6271 MB / 0.5699 GB, free: 7.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.54, allocations: 12.03 kB / 0.5699 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.5402, allocations: 51.34 kB / 0.5699 GB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.5409, allocations: 302.9 kB / 0.5702 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.541, allocations: 19.94 kB / 0.5703 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5411, allocations: 31.91 kB / 0.5703 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/0.5428, allocations: 0.6428 MB / 0.5709 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.5445, allocations: 0.6168 MB / 0.5715 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5446, allocations: 0 / 0.5715 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.5447, allocations: 0 / 0.5715 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/0.5448, allocations: 49.28 kB / 0.5716 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.549, allocations: 1.319 MB / 0.5729 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.5506, allocations: 0.545 MB / 0.5734 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.5512, allocations: 176.7 kB / 0.5736 GB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.5513, allocations: 19.91 kB / 0.5736 GB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5513, allocations: 39.19 kB / 0.5736 GB, free: 3.852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 3.346e-06/0.5513, allocations: 0 / 0.5736 GB, free: 3.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.001452/0.5528, allocations: 432.3 kB / 0.574 GB, free: 3.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.5529, allocations: 55.41 kB / 0.5741 GB, free: 3.355 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.5533, allocations: 182.5 kB / 0.5742 GB, free: 3.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.5534, allocations: 25.7 kB / 0.5743 GB, free: 3.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.5537, allocations: 294.6 kB / 0.5746 GB, free: 2.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.5539, allocations: 122.2 kB / 0.5747 GB, free: 2.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.554, allocations: 4 kB / 0.5747 GB, free: 2.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5542, allocations: 330.8 kB / 0.575 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/0.5549, allocations: 172.7 kB / 0.5752 GB, free: 2.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.5557, allocations: 266.5 kB / 0.5754 GB, free: 1.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.5566, allocations: 211.8 kB / 0.5756 GB, free: 1.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.5566, allocations: 7.984 kB / 0.5756 GB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002044/0.5587, allocations: 0.4929 MB / 0.5761 GB, free: 1.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.5588, allocations: 4 kB / 0.5761 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.5588, allocations: 8 kB / 0.5761 GB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.5588, allocations: 4.375 kB / 0.5761 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.5617, allocations: 223.7 kB / 0.5763 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/0.5703, allocations: 7.357 MB / 0.5835 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/0.5712, allocations: 35.92 kB / 0.5835 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.5713, allocations: 19.98 kB / 0.5836 GB, free: 9.281 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.0002662/0.5716, allocations: 46.98 kB / 0.5836 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.5718, allocations: 19.72 kB / 0.5836 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.5746, allocations: 0.6321 MB / 0.5842 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5747, allocations: 11.88 kB / 0.5843 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.5747, allocations: 4 kB / 0.5843 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.5747, allocations: 7.984 kB / 0.5843 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.576, allocations: 409.6 kB / 0.5847 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.576, allocations: 0 / 0.5847 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/0.5788, allocations: 203.8 kB / 0.5849 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.5789, allocations: 4 kB / 0.5849 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.579, allocations: 7.984 kB / 0.5849 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008053/0.587, allocations: 7.403 MB / 0.5921 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.5871, allocations: 0 / 0.5921 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001903/0.589, allocations: 0.5311 MB / 0.5926 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5892, allocations: 100.8 kB / 0.5927 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5893, allocations: 0 / 0.5927 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/0.59, allocations: 19.98 kB / 0.5927 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.5902, allocations: 31.7 kB / 0.5928 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/0.5903, allocations: 11.98 kB / 0.5928 GB, free: 15.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002326/0.5905, allocations: 132.1 kB / 0.5929 GB, free: 15.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001238/0.5918, allocations: 159.4 kB / 0.593 GB, free: 15.2 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.000584/0.5924, allocations: 192.9 kB / 0.5932 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.5969, allocations: 0.5858 MB / 0.5938 GB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.5969, allocations: 4 kB / 0.5938 GB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003593/0.6005, allocations: 387.6 kB / 0.5942 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.6012, allocations: 24.02 kB / 0.5942 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.6046, allocations: 0.7067 MB / 0.5949 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.6058, allocations: 0.9477 MB / 0.5958 GB, free: 12.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6059, allocations: 4 kB / 0.5958 GB, free: 12.29 MB / 442.7 MB Notification: Performance of Templates: time 0.0547/0.6606, allocations: 26.3 MB / 0.6215 GB, free: 1.957 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches