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_KC.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_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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002438/0.002437, allocations: 172.8 kB / 8.146 MB, free: 2.195 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.751/1.751, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001199/0.001199, allocations: 91.67 kB / 261.8 MB, free: 13.61 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.2644/0.2644, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.727e-06, allocations: 4 kB / 417.7 MB, free: 40.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2779, allocations: 58.83 MB / 476.6 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4533, allocations: 89.89 MB / 0.5532 GB, free: 9.176 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005105/0.4539, allocations: 91.94 kB / 0.5533 GB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08185/0.5358, allocations: 11.42 MB / 0.5644 GB, free: 13.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.5359, allocations: 4 kB / 0.5644 GB, free: 13.57 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001492/0.5374, allocations: 498.7 kB / 0.5649 GB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.5375, allocations: 12.03 kB / 0.5649 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.5377, allocations: 27.62 kB / 0.5649 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.5383, allocations: 238.1 kB / 0.5652 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.5383, allocations: 8 kB / 0.5652 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/0.5384, allocations: 15.94 kB / 0.5652 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/0.5396, allocations: 333 kB / 0.5655 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5409, allocations: 320.6 kB / 0.5658 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5409, allocations: 3.906 kB / 0.5658 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.541, allocations: 4 kB / 0.5658 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/0.5411, allocations: 24.64 kB / 0.5658 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.5443, allocations: 0.7598 MB / 0.5666 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009538/0.5454, allocations: 255.6 kB / 0.5668 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.5458, allocations: 76.88 kB / 0.5669 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.5459, allocations: 11.98 kB / 0.5669 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.5459, allocations: 38.55 kB / 0.567 GB, free: 10.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 4.197e-06/0.5459, allocations: 0 / 0.567 GB, free: 10.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001115/0.5471, allocations: 213.7 kB / 0.5672 GB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.5472, allocations: 55.41 kB / 0.5672 GB, free: 10.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.5475, allocations: 166.2 kB / 0.5674 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.5476, allocations: 25.7 kB / 0.5674 GB, free: 10.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.5478, allocations: 234.2 kB / 0.5676 GB, free: 10.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5479, allocations: 59.19 kB / 0.5677 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.548, allocations: 0 / 0.5677 GB, free: 10.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.5482, allocations: 322.8 kB / 0.568 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.5486, allocations: 88.39 kB / 0.5681 GB, free: 9.645 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.5491, allocations: 169.2 kB / 0.5682 GB, free: 9.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.5496, allocations: 121.2 kB / 0.5683 GB, free: 9.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.5496, allocations: 0 / 0.5683 GB, free: 9.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00143/0.5511, allocations: 290.1 kB / 0.5686 GB, free: 9.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.5512, allocations: 7.281 kB / 0.5686 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.5512, allocations: 4 kB / 0.5686 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.5513, allocations: 4 kB / 0.5686 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.553, allocations: 124.2 kB / 0.5687 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.5573, allocations: 3.676 MB / 0.5723 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.5579, allocations: 19.83 kB / 0.5724 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.558, allocations: 19.98 kB / 0.5724 GB, free: 5.047 MB / 410.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: 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.5582, allocations: 41.77 kB / 0.5724 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5583, allocations: 15.81 kB / 0.5724 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.5599, allocations: 322.9 kB / 0.5727 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.5599, allocations: 4 kB / 0.5727 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.56, allocations: 0 / 0.5727 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.56, allocations: 11.83 kB / 0.5728 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.5608, allocations: 269.9 kB / 0.573 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5609, allocations: 0 / 0.573 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.5625, allocations: 103.8 kB / 0.5731 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.5626, allocations: 4 kB / 0.5731 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.5626, allocations: 4 kB / 0.5731 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.5669, allocations: 3.704 MB / 0.5767 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.567, allocations: 0 / 0.5767 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001018/0.568, allocations: 320 kB / 0.577 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.5683, allocations: 88.92 kB / 0.5771 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.5684, allocations: 0 / 0.5771 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.5689, allocations: 16.08 kB / 0.5771 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.569, allocations: 19.83 kB / 0.5772 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.5691, allocations: 7.984 kB / 0.5772 GB, free: 15.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002316/0.5693, allocations: 135.5 kB / 0.5773 GB, free: 15.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000893/0.5702, allocations: 75.84 kB / 0.5774 GB, free: 15.71 MB / 426.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004893/0.5707, allocations: 163.4 kB / 0.5775 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.5732, allocations: 292.4 kB / 0.5778 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5733, allocations: 0 / 0.5778 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.5751, allocations: 183.8 kB / 0.578 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.5756, allocations: 19.92 kB / 0.578 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.5775, allocations: 394.5 kB / 0.5784 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008151/0.5784, allocations: 0.8212 MB / 0.5792 GB, free: 13.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5784, allocations: 0 / 0.5792 GB, free: 13.79 MB / 426.7 MB Notification: Performance of Templates: time 0.02732/0.6057, allocations: 9.472 MB / 0.5884 GB, free: 4.309 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches