Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 178.3 kB / 8.519 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 221.4 MB / 230.3 MB, free: 7.645 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009397, allocations: 97.59 kB / 281.2 MB, free: 5.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.14 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.195e-06, allocations: 4 kB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 61.9 MB / 0.4941 GB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2698/0.3933, allocations: 93.06 MB / 0.585 GB, free: 3.688 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.3935, allocations: 91.94 kB / 0.5851 GB, free: 3.598 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03654/0.4301, allocations: 13.28 MB / 0.598 GB, free: 6.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.4301, allocations: 4 kB / 0.5981 GB, free: 6.215 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.0007321/0.4309, allocations: 0.5607 MB / 0.5986 GB, free: 5.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4309, allocations: 15.97 kB / 0.5986 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.431, allocations: 31.62 kB / 0.5986 GB, free: 5.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.4313, allocations: 250.5 kB / 0.5989 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4313, allocations: 8 kB / 0.5989 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.4314, allocations: 12 kB / 0.5989 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003726/0.4317, allocations: 245.2 kB / 0.5991 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.4322, allocations: 374.3 kB / 0.5995 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4322, allocations: 4 kB / 0.5995 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.4323, allocations: 0 / 0.5995 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.4323, allocations: 16.64 kB / 0.5995 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.4336, allocations: 1.026 MB / 0.6005 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.4339, allocations: 215.8 kB / 0.6007 GB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4341, allocations: 90.47 kB / 0.6008 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.4341, allocations: 7.984 kB / 0.6008 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.4341, allocations: 30.56 kB / 0.6008 GB, free: 3.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.4341, allocations: 3.938 kB / 0.6008 GB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004367/0.4346, allocations: 213.4 kB / 0.601 GB, free: 2.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.4346, allocations: 102.8 kB / 0.6011 GB, free: 2.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4348, allocations: 219.8 kB / 0.6014 GB, free: 2.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.4348, allocations: 25.7 kB / 0.6014 GB, free: 2.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.4349, allocations: 191.5 kB / 0.6016 GB, free: 2.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.435, allocations: 43.36 kB / 0.6016 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.435, allocations: 0 / 0.6016 GB, free: 2.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.4351, allocations: 334.9 kB / 0.6019 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4353, allocations: 92.17 kB / 0.602 GB, free: 1.887 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.4355, allocations: 204.8 kB / 0.6022 GB, free: 1.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.4357, allocations: 123.9 kB / 0.6023 GB, free: 1.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4357, allocations: 0 / 0.6023 GB, free: 1.512 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000478/0.4362, allocations: 325.1 kB / 0.6026 GB, free: 1.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4362, allocations: 5.094 kB / 0.6026 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/0.4362, allocations: 19.98 kB / 0.6027 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4363, allocations: 8 kB / 0.6027 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.4365, allocations: 64.17 kB / 0.6027 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4366, allocations: 7.938 kB / 0.6027 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.4368, allocations: 47.72 kB / 0.6028 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.4369, allocations: 12 kB / 0.6028 GB, free: 1.027 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.0001112/0.437, allocations: 124.8 kB / 0.6029 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.4371, allocations: 19.72 kB / 0.6029 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.4376, allocations: 291 kB / 0.6032 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4376, allocations: 0 / 0.6032 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4376, allocations: 4 kB / 0.6032 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4377, allocations: 0 / 0.6032 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.4381, allocations: 277.9 kB / 0.6035 GB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/0.4381, allocations: 23.97 kB / 0.6035 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4383, allocations: 31.97 kB / 0.6035 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4383, allocations: 8 kB / 0.6035 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.4383, allocations: 4 kB / 0.6035 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4383, allocations: 3.906 kB / 0.6035 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4383, allocations: 0 / 0.6035 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004618/0.4388, allocations: 481.1 kB / 0.604 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.4389, allocations: 96.91 kB / 0.6041 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.4389, allocations: 3.906 kB / 0.6041 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.4392, allocations: 31.91 kB / 0.6041 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.4393, allocations: 15.98 kB / 0.6041 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.4393, allocations: 8 kB / 0.6042 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001467/0.4395, allocations: 164.5 kB / 0.6043 GB, free: 15.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.44, allocations: 111.7 kB / 0.6044 GB, free: 15.26 MB / 426.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.0002704/0.4403, allocations: 171.1 kB / 0.6046 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.4407, allocations: 369.9 kB / 0.6049 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4407, allocations: 4 kB / 0.6049 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.441, allocations: 250.1 kB / 0.6052 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.4413, allocations: 24.14 kB / 0.6052 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.4422, allocations: 416.3 kB / 0.6056 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.4426, allocations: 0.829 MB / 0.6064 GB, free: 13.09 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4427, allocations: 4 kB / 0.6064 GB, free: 13.09 MB / 426.7 MB Notification: Performance of Templates: time 0.00691/0.4496, allocations: 3.902 MB / 0.6102 GB, free: 9.227 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches