Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 190.2 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 86.48 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1482/0.1482, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 224 / 417.7 MB, free: 40.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2162, allocations: 58.83 MB / 476.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3272, allocations: 98.48 MB / 0.5616 GB, free: 456 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.3275, allocations: 95.92 kB / 0.5617 GB, free: 360 kB / 394.7 MB Notification: Performance of FrontEnd: time 0.05992/0.3875, allocations: 23.67 MB / 0.5848 GB, free: 8.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.3875, allocations: 15.94 kB / 0.5848 GB, free: 8.461 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.001025/0.3885, allocations: 0.7323 MB / 0.5855 GB, free: 7.684 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3886, allocations: 12.02 kB / 0.5855 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.3887, allocations: 55.34 kB / 0.5856 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3891, allocations: 306.4 kB / 0.5859 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.3891, allocations: 19.91 kB / 0.5859 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3892, allocations: 32 kB / 0.5859 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006767/0.3899, allocations: 478.3 kB / 0.5864 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009031/0.3908, allocations: 0.6618 MB / 0.587 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3908, allocations: 4 kB / 0.587 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.3908, allocations: 0 / 0.587 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.3909, allocations: 29.31 kB / 0.5871 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.3928, allocations: 1.538 MB / 0.5886 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.3932, allocations: 275.6 kB / 0.5888 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3934, allocations: 126.5 kB / 0.5889 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.3934, allocations: 20.06 kB / 0.589 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3935, allocations: 34.8 kB / 0.589 GB, free: 3.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.3935, allocations: 0 / 0.589 GB, free: 3.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.000585/0.3941, allocations: 309.1 kB / 0.5893 GB, free: 3.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.3941, allocations: 110.8 kB / 0.5894 GB, free: 3.516 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3944, allocations: 311.2 kB / 0.5897 GB, free: 3.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3944, allocations: 25.7 kB / 0.5897 GB, free: 3.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3946, allocations: 286.7 kB / 0.59 GB, free: 2.887 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.3946, allocations: 75.03 kB / 0.5901 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.3947, allocations: 0 / 0.5901 GB, free: 2.812 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3948, allocations: 346.7 kB / 0.5904 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.395, allocations: 164.9 kB / 0.5905 GB, free: 2.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.3954, allocations: 427.9 kB / 0.591 GB, free: 1.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3957, allocations: 243.7 kB / 0.5912 GB, free: 1.516 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3957, allocations: 8 kB / 0.5912 GB, free: 1.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008239/0.3965, allocations: 0.5673 MB / 0.5917 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3966, allocations: 4 kB / 0.5918 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.414e-05/0.3966, allocations: 47.97 kB / 0.5918 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3967, allocations: 16.06 kB / 0.5918 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.397, allocations: 83.77 kB / 0.5919 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.397, allocations: 23.83 kB / 0.5919 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.3974, allocations: 59.64 kB / 0.592 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.3974, allocations: 36 kB / 0.592 GB, free: 0.6719 MB / 426.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.0001212/0.3975, allocations: 140.8 kB / 0.5921 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.3976, allocations: 31.62 kB / 0.5922 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008963/0.3985, allocations: 0.5064 MB / 0.5927 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3986, allocations: 4 kB / 0.5927 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3986, allocations: 0 / 0.5927 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3986, allocations: 7.984 kB / 0.5927 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.3991, allocations: 377.8 kB / 0.593 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.831e-05/0.3992, allocations: 35.97 kB / 0.5931 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3993, allocations: 35.88 kB / 0.5931 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3993, allocations: 4 kB / 0.5931 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.3994, allocations: 11.98 kB / 0.5931 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3994, allocations: 4 kB / 0.5931 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3994, allocations: 0 / 0.5931 GB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005497/0.3999, allocations: 0.5717 MB / 0.5937 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.4, allocations: 108.7 kB / 0.5938 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4001, allocations: 0 / 0.5938 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.4004, allocations: 27.91 kB / 0.5938 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.4005, allocations: 35.81 kB / 0.5938 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.4005, allocations: 12 kB / 0.5939 GB, free: 14.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001698/0.4007, allocations: 215.1 kB / 0.5941 GB, free: 14.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007614/0.4015, allocations: 211.4 kB / 0.5943 GB, free: 14.26 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.0004543/0.4019, allocations: 292.6 kB / 0.5945 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.4026, allocations: 0.6967 MB / 0.5952 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4026, allocations: 4 kB / 0.5952 GB, free: 13.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.4029, allocations: 456.3 kB / 0.5957 GB, free: 12.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.4033, allocations: 32.28 kB / 0.5957 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.4048, allocations: 0.7073 MB / 0.5964 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.4053, allocations: 0.935 MB / 0.5973 GB, free: 10.95 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4053, allocations: 0 / 0.5973 GB, free: 10.95 MB / 442.7 MB Notification: Performance of Templates: time 0.01068/0.416, allocations: 6.839 MB / 0.604 GB, free: 4.109 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches