Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.00169/0.00169, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 225.5 MB / 234.4 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 94.95 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 45.14 MB / 383.3 MB, free: 476 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.488e-06, allocations: 0 / 452.6 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.153, allocations: 63.24 MB / 0.5038 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5891, allocations: 94.8 MB / 0.5964 GB, free: 8.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5894, allocations: 95.75 kB / 0.5965 GB, free: 8.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03786/0.6273, allocations: 14.13 MB / 0.6103 GB, free: 12.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.6274, allocations: 8 kB / 0.6103 GB, free: 12.26 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.001176/0.6286, allocations: 0.6349 MB / 0.6109 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.6286, allocations: 8.031 kB / 0.6109 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.6288, allocations: 51.34 kB / 0.6109 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.6294, allocations: 301.8 kB / 0.6112 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.6294, allocations: 27.89 kB / 0.6113 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.6295, allocations: 28 kB / 0.6113 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009112/0.6304, allocations: 0.648 MB / 0.6119 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.6314, allocations: 0.6172 MB / 0.6125 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6314, allocations: 4 kB / 0.6125 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.6314, allocations: 0 / 0.6125 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.6315, allocations: 45.28 kB / 0.6126 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.6339, allocations: 1.319 MB / 0.6139 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007915/0.6347, allocations: 0.5509 MB / 0.6144 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.6351, allocations: 184.2 kB / 0.6146 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.6351, allocations: 7.984 kB / 0.6146 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.6352, allocations: 45.55 kB / 0.6146 GB, free: 8.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.893e-06/0.6352, allocations: 0 / 0.6146 GB, free: 8.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.000801/0.636, allocations: 422.9 kB / 0.615 GB, free: 7.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.636, allocations: 55.41 kB / 0.6151 GB, free: 7.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.6362, allocations: 175.4 kB / 0.6152 GB, free: 7.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.6363, allocations: 25.7 kB / 0.6153 GB, free: 7.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.6364, allocations: 243.3 kB / 0.6155 GB, free: 7.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.6366, allocations: 115.3 kB / 0.6156 GB, free: 7.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.6366, allocations: 0 / 0.6156 GB, free: 7.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6367, allocations: 336.9 kB / 0.6159 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.637, allocations: 173.2 kB / 0.6161 GB, free: 6.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.6374, allocations: 270.6 kB / 0.6164 GB, free: 6.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.6377, allocations: 232.7 kB / 0.6166 GB, free: 6.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6377, allocations: 0 / 0.6166 GB, free: 6.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008278/0.6385, allocations: 0.4888 MB / 0.6171 GB, free: 5.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6386, allocations: 8.312 kB / 0.6171 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6386, allocations: 8 kB / 0.6171 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.6386, allocations: 4 kB / 0.6171 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6398, allocations: 215.3 kB / 0.6173 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.6442, allocations: 7.42 MB / 0.6245 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.6445, allocations: 28.11 kB / 0.6246 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.6446, allocations: 23.67 kB / 0.6246 GB, free: 13.95 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.000182/0.6448, allocations: 120.8 kB / 0.6247 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.6449, allocations: 23.72 kB / 0.6247 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.646, allocations: 0.6327 MB / 0.6253 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.646, allocations: 4 kB / 0.6253 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6461, allocations: 4 kB / 0.6253 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6461, allocations: 3.984 kB / 0.6253 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.6468, allocations: 403.2 kB / 0.6257 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6468, allocations: 0 / 0.6257 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6478, allocations: 207.1 kB / 0.6259 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.6478, allocations: 4 kB / 0.6259 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.6478, allocations: 11.98 kB / 0.6259 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/0.6521, allocations: 7.407 MB / 0.6332 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6522, allocations: 3.906 kB / 0.6332 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007862/0.653, allocations: 0.5283 MB / 0.6337 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.6531, allocations: 108.7 kB / 0.6338 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.6532, allocations: 0 / 0.6338 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.6534, allocations: 11.98 kB / 0.6338 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.6535, allocations: 31.14 kB / 0.6338 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.6536, allocations: 15.67 kB / 0.6339 GB, free: 4.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001251/0.6537, allocations: 130.8 kB / 0.634 GB, free: 4.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007126/0.6544, allocations: 158.9 kB / 0.6341 GB, free: 4.051 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 (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.0004377/0.6549, allocations: 184.2 kB / 0.6343 GB, free: 3.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.6567, allocations: 0.5821 MB / 0.6349 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6567, allocations: 3.938 kB / 0.6349 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.658, allocations: 394.8 kB / 0.6353 GB, free: 2.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6583, allocations: 11.62 kB / 0.6353 GB, free: 2.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.6601, allocations: 0.6943 MB / 0.6359 GB, free: 2.266 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/0.6608, allocations: 0.9563 MB / 0.6369 GB, free: 1.297 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6608, allocations: 0 / 0.6369 GB, free: 1.297 MB / 426.7 MB Notification: Performance of Templates: time 0.01225/0.6731, allocations: 6.015 MB / 0.6428 GB, free: 11.31 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches