Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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.StraightPipe.kc_laminar_KC,tolerance=1e-05,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_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_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.StraightPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,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_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_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.StraightPipe.kc_laminar_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.001165/0.001165, allocations: 207.8 kB / 8.537 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 225.5 MB / 234.4 MB, free: 9.484 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008779/0.000878, allocations: 91.17 kB / 286.3 MB, free: 5.918 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1844/0.1844, allocations: 45.15 MB / 383.3 MB, free: 4.938 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.192e-06, allocations: 0 / 452.6 MB, free: 48.27 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1154, allocations: 63.24 MB / 0.5038 GB, free: 0.9727 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2895/0.4049, allocations: 94.78 MB / 0.5964 GB, free: 8.992 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4052, allocations: 95.94 kB / 0.5964 GB, free: 8.898 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.03353/0.4387, allocations: 11.78 MB / 0.608 GB, free: 12.95 MB / 434.8 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4388, allocations: 4 kB / 0.608 GB, free: 12.95 MB / 434.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009364/0.4397, allocations: 0.6151 MB / 0.6086 GB, free: 12.29 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4398, allocations: 12.03 kB / 0.6086 GB, free: 12.27 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.4399, allocations: 43.44 kB / 0.6086 GB, free: 12.23 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.4403, allocations: 290.4 kB / 0.6089 GB, free: 11.91 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4404, allocations: 16 kB / 0.6089 GB, free: 11.89 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.4405, allocations: 32 kB / 0.6089 GB, free: 11.86 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008784/0.4413, allocations: 0.6042 MB / 0.6095 GB, free: 11.26 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.4422, allocations: 0.5762 MB / 0.6101 GB, free: 10.68 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4422, allocations: 0 / 0.6101 GB, free: 10.68 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.4422, allocations: 0 / 0.6101 GB, free: 10.68 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.4423, allocations: 49.22 kB / 0.6101 GB, free: 10.63 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.4443, allocations: 1.23 MB / 0.6113 GB, free: 9.359 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.4451, allocations: 0.5529 MB / 0.6119 GB, free: 8.797 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4454, allocations: 180.7 kB / 0.612 GB, free: 8.617 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.4454, allocations: 11.92 kB / 0.6121 GB, free: 8.605 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4454, allocations: 38.56 kB / 0.6121 GB, free: 8.559 MB / 434.8 MB Notification: Performance of pre-optimization done (n=37): time 4.178e-06/0.4455, allocations: 3.984 kB / 0.6121 GB, free: 8.555 MB / 434.8 MB Notification: Performance of matching and sorting (n=37): time 0.000738/0.4462, allocations: 429.4 kB / 0.6125 GB, free: 8.129 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.4462, allocations: 59.41 kB / 0.6126 GB, free: 8.059 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4464, allocations: 169.5 kB / 0.6127 GB, free: 7.883 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4465, allocations: 25.7 kB / 0.6127 GB, free: 7.852 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4466, allocations: 216.4 kB / 0.613 GB, free: 7.637 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4467, allocations: 134.1 kB / 0.6131 GB, free: 7.504 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.4467, allocations: 0 / 0.6131 GB, free: 7.504 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4469, allocations: 327.1 kB / 0.6134 GB, free: 7.176 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.4471, allocations: 172.7 kB / 0.6136 GB, free: 7.004 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.4474, allocations: 274.5 kB / 0.6138 GB, free: 6.695 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.4478, allocations: 223.5 kB / 0.614 GB, free: 6.477 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4478, allocations: 4 kB / 0.614 GB, free: 6.473 MB / 434.8 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007428/0.4485, allocations: 0.4891 MB / 0.6145 GB, free: 5.977 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4485, allocations: 4 kB / 0.6145 GB, free: 5.973 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4485, allocations: 7.906 kB / 0.6145 GB, free: 5.965 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4486, allocations: 4 kB / 0.6145 GB, free: 5.961 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4497, allocations: 211.7 kB / 0.6147 GB, free: 5.754 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.4537, allocations: 7.388 MB / 0.6219 GB, free: 14.09 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.4541, allocations: 27.77 kB / 0.622 GB, free: 14.06 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/0.4541, allocations: 27.98 kB / 0.622 GB, free: 14.03 MB / 450.8 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.0001756/0.4543, allocations: 128.9 kB / 0.6221 GB, free: 13.9 MB / 450.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.4544, allocations: 27.72 kB / 0.6222 GB, free: 13.87 MB / 450.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4554, allocations: 0.6202 MB / 0.6228 GB, free: 13.24 MB / 450.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4555, allocations: 4 kB / 0.6228 GB, free: 13.24 MB / 450.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4555, allocations: 4 kB / 0.6228 GB, free: 13.23 MB / 450.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4555, allocations: 0 / 0.6228 GB, free: 13.23 MB / 450.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.456, allocations: 393.5 kB / 0.6231 GB, free: 12.81 MB / 450.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.456, allocations: 0 / 0.6231 GB, free: 12.81 MB / 450.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4571, allocations: 203.8 kB / 0.6233 GB, free: 12.61 MB / 450.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.4571, allocations: 3.984 kB / 0.6233 GB, free: 12.61 MB / 450.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.4571, allocations: 8 kB / 0.6233 GB, free: 12.6 MB / 450.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.461, allocations: 7.391 MB / 0.6306 GB, free: 4.926 MB / 450.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.461, allocations: 4.281 kB / 0.6306 GB, free: 4.922 MB / 450.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006765/0.4617, allocations: 0.5191 MB / 0.6311 GB, free: 4.387 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.4617, allocations: 100.8 kB / 0.6312 GB, free: 4.27 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.4618, allocations: 0 / 0.6312 GB, free: 4.27 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.462, allocations: 11.98 kB / 0.6312 GB, free: 4.258 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.4621, allocations: 27.95 kB / 0.6312 GB, free: 4.23 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.4621, allocations: 15.98 kB / 0.6312 GB, free: 4.215 MB / 450.8 MB Notification: Performance of sort global known variables: time 9.62e-05/0.4623, allocations: 128.3 kB / 0.6313 GB, free: 4.09 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.0005968/0.4629, allocations: 155.4 kB / 0.6315 GB, free: 3.938 MB / 450.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 (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.0003427/0.4632, allocations: 197.8 kB / 0.6317 GB, free: 3.738 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.4648, allocations: 0.5744 MB / 0.6322 GB, free: 3.164 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4649, allocations: 4 kB / 0.6322 GB, free: 3.16 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.4661, allocations: 375.5 kB / 0.6326 GB, free: 2.793 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4664, allocations: 16 kB / 0.6326 GB, free: 2.777 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4676, allocations: 0.6581 MB / 0.6333 GB, free: 2.086 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.4682, allocations: 0.9432 MB / 0.6342 GB, free: 1.109 MB / 450.8 MB Notification: Performance of SimCode: time 3.1e-07/0.4682, allocations: 0 / 0.6342 GB, free: 1.109 MB / 450.8 MB Notification: Performance of Templates: time 0.009927/0.4781, allocations: 6.049 MB / 0.6401 GB, free: 11.09 MB / 466.8 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_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 Variables in the result:L,Nu[1],Nu[2],Nu[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],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],lambda[1],lambda[2],lambda[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],n,rho[1],rho[2],rho[3],time