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_turbulent_KC.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_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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 189.5 kB / 7.808 MB, free: 2.488 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.011/1.011, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000819/0.0008189, allocations: 88.33 kB / 261.4 MB, free: 13.55 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.1477/0.1477, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.92e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 58.84 MB / 476.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3193, allocations: 89.89 MB / 0.5532 GB, free: 9.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.3197, allocations: 95.92 kB / 0.5533 GB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03095/0.3507, allocations: 11.41 MB / 0.5644 GB, free: 13.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.3507, allocations: 4 kB / 0.5644 GB, free: 13.46 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.0006725/0.3514, allocations: 498.7 kB / 0.5649 GB, free: 12.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3515, allocations: 8.031 kB / 0.5649 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.3516, allocations: 27.62 kB / 0.5649 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.3518, allocations: 241.9 kB / 0.5652 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.3519, allocations: 16 kB / 0.5652 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3519, allocations: 19.94 kB / 0.5652 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004227/0.3523, allocations: 329 kB / 0.5655 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.3527, allocations: 316.7 kB / 0.5658 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3528, allocations: 3.906 kB / 0.5658 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3528, allocations: 0 / 0.5658 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.3528, allocations: 20.64 kB / 0.5658 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.354, allocations: 0.7598 MB / 0.5666 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.3544, allocations: 262.3 kB / 0.5668 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3545, allocations: 76.88 kB / 0.5669 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.3545, allocations: 7.969 kB / 0.5669 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3546, allocations: 38.56 kB / 0.567 GB, free: 10.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3546, allocations: 0 / 0.567 GB, free: 10.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003799/0.3549, allocations: 213.7 kB / 0.5672 GB, free: 10.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.355, allocations: 51.41 kB / 0.5672 GB, free: 10.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3551, allocations: 170.2 kB / 0.5674 GB, free: 10.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3552, allocations: 29.7 kB / 0.5674 GB, free: 10.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.3552, allocations: 167.8 kB / 0.5676 GB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3553, allocations: 51.2 kB / 0.5676 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.3553, allocations: 0 / 0.5676 GB, free: 10.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.3554, allocations: 334.7 kB / 0.5679 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3555, allocations: 88.39 kB / 0.568 GB, free: 9.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.3557, allocations: 169.2 kB / 0.5682 GB, free: 9.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3559, allocations: 124.6 kB / 0.5683 GB, free: 9.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3559, allocations: 4 kB / 0.5683 GB, free: 9.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004144/0.3563, allocations: 286.6 kB / 0.5686 GB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3563, allocations: 11.94 kB / 0.5686 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3563, allocations: 4 kB / 0.5686 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3564, allocations: 4 kB / 0.5686 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.357, allocations: 119.8 kB / 0.5687 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.3588, allocations: 3.699 MB / 0.5723 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.359, allocations: 28.11 kB / 0.5723 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.359, allocations: 12 kB / 0.5724 GB, free: 4.961 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.0001059/0.3591, allocations: 124.7 kB / 0.5725 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.3592, allocations: 19.72 kB / 0.5725 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005517/0.3597, allocations: 310.9 kB / 0.5728 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3597, allocations: 7.984 kB / 0.5728 GB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3598, allocations: 3.938 kB / 0.5728 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3598, allocations: 3.984 kB / 0.5728 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3601, allocations: 261.9 kB / 0.5731 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3601, allocations: 0 / 0.5731 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.3606, allocations: 115.8 kB / 0.5732 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3606, allocations: 0 / 0.5732 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.3606, allocations: 4 kB / 0.5732 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.3624, allocations: 3.696 MB / 0.5768 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3624, allocations: 0 / 0.5768 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003379/0.3627, allocations: 325.3 kB / 0.5771 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3628, allocations: 96.86 kB / 0.5772 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.3628, allocations: 0 / 0.5772 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.363, allocations: 15.98 kB / 0.5772 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.3631, allocations: 11.98 kB / 0.5772 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3631, allocations: 7.984 kB / 0.5772 GB, free: 15.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000101/0.3632, allocations: 139.5 kB / 0.5773 GB, free: 15.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.3636, allocations: 83.69 kB / 0.5774 GB, free: 15.54 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.0002447/0.3639, allocations: 151.5 kB / 0.5776 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008048/0.3647, allocations: 297.2 kB / 0.5779 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3647, allocations: 0 / 0.5779 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.3653, allocations: 184.5 kB / 0.578 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3655, allocations: 19.98 kB / 0.5781 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.3662, allocations: 360.9 kB / 0.5784 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.3666, allocations: 0.8251 MB / 0.5792 GB, free: 13.66 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3666, allocations: 0 / 0.5792 GB, free: 13.66 MB / 426.7 MB Notification: Performance of Templates: time 0.006577/0.3732, allocations: 3.53 MB / 0.5826 GB, free: 10.14 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches