Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00233/0.00233, allocations: 171.8 kB / 8.147 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00133/0.001329, allocations: 95.39 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2612/0.2612, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.428e-06, allocations: 4 kB / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 58.84 MB / 476.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.4399, allocations: 91.93 MB / 0.5552 GB, free: 7.125 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.4403, allocations: 103.2 kB / 0.5553 GB, free: 7.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0686/0.5089, allocations: 13 MB / 0.568 GB, free: 9.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.509, allocations: 4 kB / 0.568 GB, free: 9.918 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.00132/0.5103, allocations: 0.5684 MB / 0.5685 GB, free: 9.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5104, allocations: 8.031 kB / 0.5685 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.5105, allocations: 35.62 kB / 0.5686 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.511, allocations: 254.5 kB / 0.5688 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.511, allocations: 8 kB / 0.5688 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.5111, allocations: 16 kB / 0.5688 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006814/0.5118, allocations: 241.2 kB / 0.5691 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.5126, allocations: 381.3 kB / 0.5694 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5127, allocations: 0 / 0.5694 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.5127, allocations: 0 / 0.5694 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/0.5128, allocations: 16.66 kB / 0.5694 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.5152, allocations: 1.018 MB / 0.5704 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.5158, allocations: 219.8 kB / 0.5707 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.5161, allocations: 86.56 kB / 0.5707 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.5161, allocations: 7.984 kB / 0.5707 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5162, allocations: 42.56 kB / 0.5708 GB, free: 6.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.926e-06/0.5162, allocations: 0 / 0.5708 GB, free: 6.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007647/0.517, allocations: 205.2 kB / 0.571 GB, free: 6.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.517, allocations: 106.8 kB / 0.5711 GB, free: 6.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.5174, allocations: 219.8 kB / 0.5713 GB, free: 6.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.5175, allocations: 25.7 kB / 0.5713 GB, free: 6.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.5177, allocations: 253.9 kB / 0.5716 GB, free: 5.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.5177, allocations: 51.42 kB / 0.5716 GB, free: 5.941 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.5178, allocations: 0 / 0.5716 GB, free: 5.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5179, allocations: 322.8 kB / 0.5719 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.5182, allocations: 88.17 kB / 0.572 GB, free: 5.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.5186, allocations: 205 kB / 0.5722 GB, free: 5.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.519, allocations: 123.8 kB / 0.5723 GB, free: 5.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.519, allocations: 7.906 kB / 0.5723 GB, free: 5.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009131/0.5199, allocations: 305.1 kB / 0.5726 GB, free: 4.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.52, allocations: 8 kB / 0.5726 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-05/0.5201, allocations: 19.98 kB / 0.5726 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.5201, allocations: 8 kB / 0.5726 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.5206, allocations: 64.42 kB / 0.5727 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.5206, allocations: 7.938 kB / 0.5727 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.5211, allocations: 39.83 kB / 0.5727 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.5211, allocations: 19.92 kB / 0.5728 GB, free: 4.676 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.0001232/0.5213, allocations: 45.62 kB / 0.5728 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5214, allocations: 19.72 kB / 0.5728 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5225, allocations: 291 kB / 0.5731 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.5225, allocations: 4 kB / 0.5731 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5225, allocations: 96 / 0.5731 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5225, allocations: 7.938 kB / 0.5731 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.5232, allocations: 274 kB / 0.5734 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-05/0.5233, allocations: 15.98 kB / 0.5734 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.5237, allocations: 35.91 kB / 0.5734 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.5237, allocations: 0 / 0.5734 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.5237, allocations: 15.98 kB / 0.5734 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.5237, allocations: 0 / 0.5734 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5237, allocations: 0 / 0.5734 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007591/0.5245, allocations: 481 kB / 0.5739 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5246, allocations: 100.8 kB / 0.574 GB, free: 3.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.5247, allocations: 4 kB / 0.574 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.5252, allocations: 19.98 kB / 0.574 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.5253, allocations: 31.81 kB / 0.5741 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.5254, allocations: 4 kB / 0.5741 GB, free: 3.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002839/0.5257, allocations: 168.5 kB / 0.5742 GB, free: 3.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007989/0.5265, allocations: 115.6 kB / 0.5743 GB, free: 2.98 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.0004379/0.5269, allocations: 171.2 kB / 0.5745 GB, free: 2.805 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008139/0.5277, allocations: 369.9 kB / 0.5748 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5278, allocations: 0 / 0.5748 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.5282, allocations: 247.2 kB / 0.5751 GB, free: 2.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.5287, allocations: 32.69 kB / 0.5751 GB, free: 2.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.5304, allocations: 448.3 kB / 0.5755 GB, free: 1.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/0.5311, allocations: 0.8213 MB / 0.5763 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5311, allocations: 0 / 0.5763 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of Templates: time 0.01184/0.543, allocations: 4.671 MB / 0.5809 GB, free: 12.11 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches