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.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,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_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_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 3.2.3+maint.om/package.mo): time 0.0009346/0.0009347, allocations: 183.7 kB / 7.8 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9934/0.9934, 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.0008538/0.0008538, allocations: 88.12 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.149/0.149, allocations: 43.49 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.569e-05, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2144, allocations: 58.84 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.3155, allocations: 91.94 MB / 0.5552 GB, free: 7.012 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.3157, allocations: 103.9 kB / 0.5553 GB, free: 6.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0343/0.35, allocations: 12.99 MB / 0.568 GB, free: 9.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3501, allocations: 4 kB / 0.568 GB, free: 9.805 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.0007133/0.3508, allocations: 0.5684 MB / 0.5685 GB, free: 9.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.3508, allocations: 8.031 kB / 0.5686 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.3509, allocations: 31.62 kB / 0.5686 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3512, allocations: 254.5 kB / 0.5688 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3512, allocations: 8 kB / 0.5688 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.3513, allocations: 16 kB / 0.5688 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003461/0.3516, allocations: 245.2 kB / 0.5691 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.3521, allocations: 377.3 kB / 0.5694 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3521, allocations: 3.984 kB / 0.5694 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3521, allocations: 0 / 0.5694 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3522, allocations: 16.66 kB / 0.5695 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.3534, allocations: 1.014 MB / 0.5705 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.3537, allocations: 215.8 kB / 0.5707 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3538, allocations: 86.52 kB / 0.5707 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.3538, allocations: 12.02 kB / 0.5708 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3539, allocations: 34.56 kB / 0.5708 GB, free: 6.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3539, allocations: 0 / 0.5708 GB, free: 6.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004086/0.3543, allocations: 213.2 kB / 0.571 GB, free: 6.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.3543, allocations: 106.8 kB / 0.5711 GB, free: 6.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3545, allocations: 211.8 kB / 0.5713 GB, free: 6.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.3546, allocations: 29.7 kB / 0.5713 GB, free: 6.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.3547, allocations: 195.5 kB / 0.5715 GB, free: 5.945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.3547, allocations: 43.36 kB / 0.5715 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.3547, allocations: 4 kB / 0.5716 GB, free: 5.898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.3548, allocations: 334.9 kB / 0.5719 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.355, allocations: 88.17 kB / 0.572 GB, free: 5.473 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3552, allocations: 209 kB / 0.5722 GB, free: 5.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3553, allocations: 127.8 kB / 0.5723 GB, free: 5.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3553, allocations: 3.906 kB / 0.5723 GB, free: 5.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004734/0.3558, allocations: 317.1 kB / 0.5726 GB, free: 4.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.3558, allocations: 4 kB / 0.5726 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/0.3559, allocations: 19.98 kB / 0.5726 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3559, allocations: 8 kB / 0.5726 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.3562, allocations: 60.3 kB / 0.5727 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3562, allocations: 4 kB / 0.5727 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.3565, allocations: 55.66 kB / 0.5727 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3565, allocations: 16 kB / 0.5727 GB, free: 4.605 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 8.986e-05/0.3566, allocations: 120.8 kB / 0.5729 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.3567, allocations: 27.7 kB / 0.5729 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.3572, allocations: 283.1 kB / 0.5732 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3572, allocations: 4 kB / 0.5732 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3572, allocations: 96 / 0.5732 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3572, allocations: 3.938 kB / 0.5732 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.3576, allocations: 274 kB / 0.5734 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-05/0.3576, allocations: 19.98 kB / 0.5734 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.3578, allocations: 31.97 kB / 0.5735 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3578, allocations: 4 kB / 0.5735 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3578, allocations: 7.906 kB / 0.5735 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3578, allocations: 3.938 kB / 0.5735 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3578, allocations: 8 kB / 0.5735 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000383/0.3582, allocations: 473.1 kB / 0.5739 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.3583, allocations: 96.86 kB / 0.574 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3583, allocations: 3.906 kB / 0.574 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.3586, allocations: 31.91 kB / 0.5741 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.3587, allocations: 15.98 kB / 0.5741 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3587, allocations: 8 kB / 0.5741 GB, free: 3.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001192/0.3588, allocations: 172.5 kB / 0.5743 GB, free: 2.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.3593, allocations: 103.7 kB / 0.5744 GB, free: 2.852 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.0002731/0.3596, allocations: 187 kB / 0.5745 GB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.36, allocations: 366 kB / 0.5749 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.36, allocations: 0 / 0.5749 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.3602, allocations: 250.1 kB / 0.5751 GB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3605, allocations: 22.23 kB / 0.5751 GB, free: 1.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.3614, allocations: 418.3 kB / 0.5755 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.3618, allocations: 0.8291 MB / 0.5764 GB, free: 0.668 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3618, allocations: 3.938 kB / 0.5764 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of Templates: time 0.006552/0.3683, allocations: 3.889 MB / 0.5802 GB, free: 12.78 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches