Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 179 kB / 8.516 MB, free: 0.4961 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 230.3 MB, free: 13.6 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008707, allocations: 92.14 kB / 281.2 MB, free: 10.5 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.172/0.172, allocations: 44.13 MB / 376.1 MB, free: 11.66 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.973e-06, allocations: 0 / 444.1 MB, free: 54.35 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09403, allocations: 61.91 MB / 0.4941 GB, free: 8.367 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/0.3726, allocations: 92.22 MB / 0.5842 GB, free: 6.496 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.3729, allocations: 91.94 kB / 0.5843 GB, free: 6.406 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.02659/0.3995, allocations: 9.37 MB / 0.5934 GB, free: 12.88 MB / 418.8 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3996, allocations: 8 kB / 0.5934 GB, free: 12.88 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007239/0.4003, allocations: 0.5683 MB / 0.594 GB, free: 12.26 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4003, allocations: 11.97 kB / 0.594 GB, free: 12.25 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.4004, allocations: 39.53 kB / 0.594 GB, free: 12.21 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4008, allocations: 280.8 kB / 0.5943 GB, free: 11.89 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4008, allocations: 12 kB / 0.5943 GB, free: 11.88 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.4008, allocations: 24 kB / 0.5943 GB, free: 11.86 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006571/0.4015, allocations: 0.4975 MB / 0.5948 GB, free: 11.36 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.4022, allocations: 491.2 kB / 0.5953 GB, free: 10.87 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4022, allocations: 0 / 0.5953 GB, free: 10.87 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4022, allocations: 3.938 kB / 0.5953 GB, free: 10.87 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.4023, allocations: 36.97 kB / 0.5953 GB, free: 10.83 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.4041, allocations: 1.073 MB / 0.5964 GB, free: 9.715 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.4048, allocations: 440.8 kB / 0.5968 GB, free: 9.277 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.405, allocations: 150.6 kB / 0.5969 GB, free: 9.129 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.405, allocations: 4.234 kB / 0.5969 GB, free: 9.125 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.4051, allocations: 34.8 kB / 0.597 GB, free: 9.082 MB / 418.8 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.4051, allocations: 0 / 0.597 GB, free: 9.082 MB / 418.8 MB Notification: Performance of matching and sorting (n=28): time 0.0006212/0.4057, allocations: 355.2 kB / 0.5973 GB, free: 8.73 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4058, allocations: 59.41 kB / 0.5974 GB, free: 8.66 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.4059, allocations: 129.4 kB / 0.5975 GB, free: 8.527 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.4059, allocations: 25.7 kB / 0.5975 GB, free: 8.496 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.406, allocations: 196.1 kB / 0.5977 GB, free: 8.301 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 8e-05/0.4061, allocations: 90.56 kB / 0.5978 GB, free: 8.211 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.4061, allocations: 0 / 0.5978 GB, free: 8.211 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4062, allocations: 326.8 kB / 0.5981 GB, free: 7.883 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.4064, allocations: 123.9 kB / 0.5982 GB, free: 7.762 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.4066, allocations: 135.9 kB / 0.5983 GB, free: 7.629 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4069, allocations: 151.8 kB / 0.5985 GB, free: 7.48 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4069, allocations: 0 / 0.5985 GB, free: 7.48 MB / 418.8 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005715/0.4075, allocations: 345.2 kB / 0.5988 GB, free: 7.137 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4075, allocations: 4 kB / 0.5988 GB, free: 7.133 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4075, allocations: 0 / 0.5988 GB, free: 7.133 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4075, allocations: 7.984 kB / 0.5988 GB, free: 7.125 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.4084, allocations: 155.8 kB / 0.599 GB, free: 6.973 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.4114, allocations: 5.598 MB / 0.6044 GB, free: 1.16 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.4116, allocations: 23.86 kB / 0.6045 GB, free: 1.137 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.4116, allocations: 15.91 kB / 0.6045 GB, free: 1.121 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.4117, allocations: 117.9 kB / 0.6046 GB, free: 1 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.4118, allocations: 15.81 kB / 0.6046 GB, free: 0.9844 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.4126, allocations: 0.4946 MB / 0.6051 GB, free: 500 kB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4126, allocations: 3.906 kB / 0.6051 GB, free: 496 kB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4126, allocations: 4 kB / 0.6051 GB, free: 492 kB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4127, allocations: 3.984 kB / 0.6051 GB, free: 488 kB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.4131, allocations: 345.8 kB / 0.6054 GB, free: 104 kB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4131, allocations: 0 / 0.6054 GB, free: 104 kB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/0.4139, allocations: 159.8 kB / 0.6056 GB, free: 15.95 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.414, allocations: 4 kB / 0.6056 GB, free: 15.94 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.414, allocations: 19.91 kB / 0.6056 GB, free: 15.92 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.4168, allocations: 5.59 MB / 0.6111 GB, free: 10.12 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4168, allocations: 0 / 0.6111 GB, free: 10.12 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005439/0.4173, allocations: 463.2 kB / 0.6115 GB, free: 9.652 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.4174, allocations: 92.86 kB / 0.6116 GB, free: 9.543 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.4175, allocations: 0 / 0.6116 GB, free: 9.543 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.4177, allocations: 11.98 kB / 0.6116 GB, free: 9.531 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.4177, allocations: 19.97 kB / 0.6116 GB, free: 9.512 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.4178, allocations: 15.98 kB / 0.6116 GB, free: 9.496 MB / 434.8 MB Notification: Performance of sort global known variables: time 6.686e-05/0.4178, allocations: 114.1 kB / 0.6117 GB, free: 9.387 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.0004476/0.4183, allocations: 135.4 kB / 0.6119 GB, free: 9.254 MB / 434.8 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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/0.4186, allocations: 173.8 kB / 0.612 GB, free: 9.074 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.4198, allocations: 435.6 kB / 0.6125 GB, free: 8.648 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4198, allocations: 0 / 0.6125 GB, free: 8.648 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4209, allocations: 304.5 kB / 0.6127 GB, free: 8.352 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.4211, allocations: 27.78 kB / 0.6128 GB, free: 8.324 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.4222, allocations: 0.5483 MB / 0.6133 GB, free: 7.754 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.4227, allocations: 0.8919 MB / 0.6142 GB, free: 6.832 MB / 434.8 MB Notification: Performance of SimCode: time 6.91e-07/0.4227, allocations: 4 kB / 0.6142 GB, free: 6.828 MB / 434.8 MB Notification: Performance of Templates: time 0.007861/0.4305, allocations: 4.615 MB / 0.6187 GB, free: 2.25 MB / 434.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches