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_overall.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_overall,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [: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.00138/0.00138, allocations: 182.8 kB / 8.519 MB, free: 1.848 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.219/1.219, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.0009997/0.0009999, allocations: 88.72 kB / 281.2 MB, free: 5.445 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.1717/0.1717, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.253e-06/7.264e-06, allocations: 0 / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 61.91 MB / 0.4941 GB, free: 1.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/0.392, allocations: 99.6 MB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3923, allocations: 91.94 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.06442/0.4567, allocations: 24.15 MB / 0.6151 GB, free: 4.727 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.4568, allocations: 8 kB / 0.6151 GB, free: 4.719 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001051/0.4578, allocations: 0.7403 MB / 0.6158 GB, free: 3.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.4579, allocations: 8.031 kB / 0.6158 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.313e-05/0.458, allocations: 55.34 kB / 0.6158 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4584, allocations: 306.3 kB / 0.6161 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4584, allocations: 20 kB / 0.6162 GB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.4585, allocations: 39.89 kB / 0.6162 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006397/0.4591, allocations: 470.3 kB / 0.6166 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.46, allocations: 0.6656 MB / 0.6173 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.46, allocations: 0 / 0.6173 GB, free: 2.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.46, allocations: 4 kB / 0.6173 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.4601, allocations: 29.3 kB / 0.6173 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.4621, allocations: 1.542 MB / 0.6188 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.4625, allocations: 279.6 kB / 0.6191 GB, free: 408 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.4627, allocations: 130.4 kB / 0.6192 GB, free: 268 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.4627, allocations: 19.97 kB / 0.6192 GB, free: 248 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4628, allocations: 38.62 kB / 0.6193 GB, free: 200 kB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.4628, allocations: 0 / 0.6193 GB, free: 200 kB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006522/0.4634, allocations: 318 kB / 0.6196 GB, free: 15.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4635, allocations: 102.8 kB / 0.6197 GB, free: 15.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.4638, allocations: 303.3 kB / 0.62 GB, free: 15.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.4638, allocations: 25.7 kB / 0.62 GB, free: 15.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.464, allocations: 298.5 kB / 0.6203 GB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.464, allocations: 71.09 kB / 0.6203 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.4641, allocations: 0 / 0.6203 GB, free: 15.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4642, allocations: 342.7 kB / 0.6207 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.4644, allocations: 164.9 kB / 0.6208 GB, free: 14.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.4648, allocations: 427.7 kB / 0.6212 GB, free: 14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.4651, allocations: 245.9 kB / 0.6215 GB, free: 13.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4652, allocations: 4 kB / 0.6215 GB, free: 13.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009035/0.4661, allocations: 0.5638 MB / 0.622 GB, free: 13.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4661, allocations: 8.25 kB / 0.622 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.778e-05/0.4662, allocations: 47.95 kB / 0.6221 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.4662, allocations: 16 kB / 0.6221 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.4665, allocations: 79.83 kB / 0.6222 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.4666, allocations: 23.92 kB / 0.6222 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.467, allocations: 51.58 kB / 0.6222 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.467, allocations: 35.98 kB / 0.6223 GB, free: 12.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.4672, allocations: 147.8 kB / 0.6224 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.4673, allocations: 27.62 kB / 0.6224 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009511/0.4682, allocations: 0.505 MB / 0.6229 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.4682, allocations: 4 kB / 0.6229 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4683, allocations: 8 kB / 0.6229 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4683, allocations: 0 / 0.6229 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.4689, allocations: 369.8 kB / 0.6233 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.796e-05/0.469, allocations: 47.89 kB / 0.6233 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.4691, allocations: 35.97 kB / 0.6234 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.4692, allocations: 3.906 kB / 0.6234 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.4692, allocations: 11.94 kB / 0.6234 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4692, allocations: 0 / 0.6234 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4692, allocations: 4 kB / 0.6234 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006456/0.4699, allocations: 0.5742 MB / 0.624 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.47, allocations: 108.7 kB / 0.6241 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.47, allocations: 4 kB / 0.6241 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.4703, allocations: 23.98 kB / 0.6241 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.4704, allocations: 23.97 kB / 0.6241 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4705, allocations: 19.89 kB / 0.6241 GB, free: 10.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0002117/0.4707, allocations: 215.1 kB / 0.6243 GB, free: 10.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009375/0.4716, allocations: 207.4 kB / 0.6245 GB, free: 10.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005065/0.4722, allocations: 284.8 kB / 0.6248 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.4729, allocations: 0.6907 MB / 0.6255 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4729, allocations: 0 / 0.6255 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.4734, allocations: 460.3 kB / 0.6259 GB, free: 8.949 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4737, allocations: 38.53 kB / 0.626 GB, free: 8.914 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.4754, allocations: 0.7025 MB / 0.6266 GB, free: 8.184 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.476, allocations: 0.935 MB / 0.6276 GB, free: 7.219 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.476, allocations: 0 / 0.6276 GB, free: 7.219 MB / 442.7 MB Notification: Performance of Templates: time 0.01115/0.4872, allocations: 6.836 MB / 0.6342 GB, free: 424 kB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches