Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0008693/0.0008694, allocations: 173.8 kB / 8.518 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.189/1.189, allocations: 221.4 MB / 230.3 MB, free: 7.668 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.0009203/0.0009203, allocations: 85.92 kB / 281.2 MB, free: 5.484 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.1795/0.1795, allocations: 44.14 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.065e-06, allocations: 0 / 444.1 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 61.91 MB / 0.4941 GB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2881/0.4077, allocations: 93.71 MB / 0.5856 GB, free: 3.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.408, allocations: 91.94 kB / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03181/0.4398, allocations: 11.72 MB / 0.5972 GB, free: 7.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.4399, allocations: 8 kB / 0.5972 GB, free: 7.066 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0008/0.4407, allocations: 0.6074 MB / 0.5978 GB, free: 6.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4407, allocations: 11.97 kB / 0.5978 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.4408, allocations: 47.44 kB / 0.5978 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.4412, allocations: 290.4 kB / 0.5981 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4412, allocations: 16 kB / 0.5981 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4413, allocations: 24 kB / 0.5981 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007699/0.442, allocations: 0.6151 MB / 0.5987 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.4429, allocations: 0.5762 MB / 0.5993 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4429, allocations: 0 / 0.5993 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.4429, allocations: 3.906 kB / 0.5993 GB, free: 4.789 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.018e-05/0.443, allocations: 41.28 kB / 0.5993 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.445, allocations: 1.245 MB / 0.6006 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.4458, allocations: 0.5491 MB / 0.6011 GB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.446, allocations: 192.3 kB / 0.6013 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.4461, allocations: 7.984 kB / 0.6013 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.4461, allocations: 38.56 kB / 0.6013 GB, free: 2.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.4461, allocations: 0 / 0.6013 GB, free: 2.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007486/0.4469, allocations: 425.5 kB / 0.6017 GB, free: 2.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4469, allocations: 55.41 kB / 0.6018 GB, free: 2.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4471, allocations: 169.5 kB / 0.6019 GB, free: 1.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.4471, allocations: 25.7 kB / 0.602 GB, free: 1.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.4473, allocations: 216.4 kB / 0.6022 GB, free: 1.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4474, allocations: 126.1 kB / 0.6023 GB, free: 1.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.4474, allocations: 0 / 0.6023 GB, free: 1.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4476, allocations: 331.1 kB / 0.6026 GB, free: 1.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.4478, allocations: 172.7 kB / 0.6028 GB, free: 1.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.4481, allocations: 274.5 kB / 0.603 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.4484, allocations: 215.9 kB / 0.6032 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4484, allocations: 0 / 0.6032 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000739/0.4492, allocations: 0.5005 MB / 0.6037 GB, free: 100 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4492, allocations: 11.94 kB / 0.6037 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4492, allocations: 3.984 kB / 0.6037 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4493, allocations: 15.89 kB / 0.6038 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.4504, allocations: 203.8 kB / 0.604 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.4542, allocations: 7.392 MB / 0.6112 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.4545, allocations: 27.73 kB / 0.6112 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.4545, allocations: 20 kB / 0.6112 GB, free: 8.145 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.0001354/0.4547, allocations: 124.8 kB / 0.6113 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.4547, allocations: 27.75 kB / 0.6114 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4558, allocations: 0.6202 MB / 0.612 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4558, allocations: 4 kB / 0.612 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4558, allocations: 0 / 0.612 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4558, allocations: 0 / 0.612 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.4563, allocations: 397.4 kB / 0.6124 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.4564, allocations: 3.938 kB / 0.6124 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.4574, allocations: 207.8 kB / 0.6126 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4574, allocations: 0 / 0.6126 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.4574, allocations: 7.984 kB / 0.6126 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003688/0.4611, allocations: 7.391 MB / 0.6198 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4611, allocations: 0 / 0.6198 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006635/0.4618, allocations: 0.5314 MB / 0.6203 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.4619, allocations: 96.77 kB / 0.6204 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.4619, allocations: 7.984 kB / 0.6204 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.4622, allocations: 8 kB / 0.6204 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.4622, allocations: 19.95 kB / 0.6204 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4623, allocations: 19.98 kB / 0.6204 GB, free: 14.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.895e-05/0.4624, allocations: 132.3 kB / 0.6206 GB, free: 14.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005408/0.4629, allocations: 159.4 kB / 0.6207 GB, free: 14.04 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.0003208/0.4633, allocations: 181 kB / 0.6209 GB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.4648, allocations: 0.5734 MB / 0.6215 GB, free: 13.28 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4648, allocations: 0.6875 kB / 0.6215 GB, free: 13.28 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.466, allocations: 375.6 kB / 0.6218 GB, free: 12.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.4663, allocations: 16.81 kB / 0.6218 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4675, allocations: 0.6596 MB / 0.6225 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/0.4681, allocations: 0.9355 MB / 0.6234 GB, free: 11.24 MB / 442.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4681, allocations: 3.938 kB / 0.6234 GB, free: 11.24 MB / 442.7 MB Notification: Performance of Templates: time 0.01029/0.4784, allocations: 6.058 MB / 0.6293 GB, free: 5.211 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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