Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_turbulent,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [: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.001664/0.001664, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009014/0.0009013, allocations: 87.69 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.554e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4682, allocations: 94.21 MB / 0.5958 GB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4685, allocations: 90.12 kB / 0.5959 GB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03867/0.5072, allocations: 13.42 MB / 0.609 GB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.5073, allocations: 4 kB / 0.609 GB, free: 13.5 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00104/0.5083, allocations: 0.5609 MB / 0.6096 GB, free: 12.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.5084, allocations: 12.03 kB / 0.6096 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004575/0.5088, allocations: 75.58 kB / 0.6096 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.5092, allocations: 260.6 kB / 0.6099 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.5093, allocations: 8 kB / 0.6099 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.5093, allocations: 16 kB / 0.6099 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004937/0.5098, allocations: 241.5 kB / 0.6101 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.5104, allocations: 376.8 kB / 0.6105 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5104, allocations: 4 kB / 0.6105 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.5105, allocations: 0 / 0.6105 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.5105, allocations: 20.58 kB / 0.6105 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.5119, allocations: 1.014 MB / 0.6115 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.5122, allocations: 216.5 kB / 0.6117 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.5124, allocations: 80.03 kB / 0.6118 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.5124, allocations: 11.98 kB / 0.6118 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.5125, allocations: 42.12 kB / 0.6118 GB, free: 10.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.5125, allocations: 3.938 kB / 0.6118 GB, free: 10.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004625/0.513, allocations: 204.9 kB / 0.612 GB, free: 10.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.513, allocations: 106.8 kB / 0.6121 GB, free: 10.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.5132, allocations: 217.8 kB / 0.6124 GB, free: 10.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5133, allocations: 25.7 kB / 0.6124 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.5134, allocations: 188.2 kB / 0.6126 GB, free: 9.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.5135, allocations: 46.42 kB / 0.6126 GB, free: 9.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.5135, allocations: 0 / 0.6126 GB, free: 9.914 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5136, allocations: 336.7 kB / 0.6129 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5138, allocations: 94.66 kB / 0.613 GB, free: 9.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.514, allocations: 205.4 kB / 0.6132 GB, free: 9.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.5142, allocations: 124.1 kB / 0.6133 GB, free: 9.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5142, allocations: 7.906 kB / 0.6133 GB, free: 9.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004844/0.5147, allocations: 317.7 kB / 0.6136 GB, free: 8.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5147, allocations: 8.094 kB / 0.6136 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/0.5147, allocations: 23.92 kB / 0.6137 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5148, allocations: 8 kB / 0.6137 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.5151, allocations: 63.61 kB / 0.6137 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5151, allocations: 4 kB / 0.6137 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.5153, allocations: 43.73 kB / 0.6138 GB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.5154, allocations: 19.97 kB / 0.6138 GB, free: 8.699 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001027/0.5155, allocations: 115.5 kB / 0.6139 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/0.5156, allocations: 23.72 kB / 0.6139 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.5161, allocations: 289.3 kB / 0.6142 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5161, allocations: 0 / 0.6142 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5161, allocations: 8 kB / 0.6142 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5161, allocations: 0 / 0.6142 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.5166, allocations: 268.3 kB / 0.6145 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/0.5166, allocations: 19.92 kB / 0.6145 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5168, allocations: 35.97 kB / 0.6145 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5168, allocations: 0 / 0.6145 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.5168, allocations: 15.89 kB / 0.6145 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5168, allocations: 0 / 0.6145 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5169, allocations: 4 kB / 0.6145 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000425/0.5173, allocations: 479 kB / 0.615 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.5174, allocations: 96.84 kB / 0.6151 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.5174, allocations: 7.906 kB / 0.6151 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.5177, allocations: 23.98 kB / 0.6151 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.5178, allocations: 18.75 kB / 0.6151 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.5178, allocations: 7.938 kB / 0.6151 GB, free: 7.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001251/0.518, allocations: 173.9 kB / 0.6153 GB, free: 7.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006042/0.5186, allocations: 115 kB / 0.6154 GB, free: 7.047 MB / 410.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003585/0.5189, allocations: 186.5 kB / 0.6156 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.5194, allocations: 363.2 kB / 0.6159 GB, free: 6.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5194, allocations: 0 / 0.6159 GB, free: 6.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.5196, allocations: 253.6 kB / 0.6162 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.5199, allocations: 21.86 kB / 0.6162 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.521, allocations: 429.3 kB / 0.6166 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.5214, allocations: 0.8322 MB / 0.6174 GB, free: 4.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5214, allocations: 0 / 0.6174 GB, free: 4.93 MB / 410.7 MB Notification: Performance of Templates: time 0.007389/0.5288, allocations: 3.929 MB / 0.6213 GB, free: 1.051 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches