Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.0009828/0.0009828, allocations: 199.7 kB / 8.536 MB, free: 1.773 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008503, allocations: 96.61 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 45.14 MB / 383.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.493e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4625, allocations: 93.29 MB / 0.5949 GB, free: 9.688 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004363/0.463, allocations: 96.73 kB / 0.595 GB, free: 9.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0273/0.4903, allocations: 9.425 MB / 0.6042 GB, free: 1.664 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.4904, allocations: 8 kB / 0.6042 GB, free: 1.656 MB / 394.7 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.0007326/0.4911, allocations: 0.5579 MB / 0.6047 GB, free: 1.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4912, allocations: 12.03 kB / 0.6048 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.4913, allocations: 39.44 kB / 0.6048 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.4917, allocations: 284.2 kB / 0.6051 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.4917, allocations: 12 kB / 0.6051 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.4917, allocations: 24 kB / 0.6051 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006144/0.4924, allocations: 0.4975 MB / 0.6056 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.4931, allocations: 498.4 kB / 0.6061 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4931, allocations: 0 / 0.6061 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.4932, allocations: 0 / 0.6061 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.4932, allocations: 32.98 kB / 0.6061 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.4949, allocations: 1.068 MB / 0.6071 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.4955, allocations: 451.9 kB / 0.6076 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.4957, allocations: 147.1 kB / 0.6077 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.4958, allocations: 19.64 kB / 0.6077 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4958, allocations: 30.8 kB / 0.6078 GB, free: 14.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.4958, allocations: 0 / 0.6078 GB, free: 14.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006228/0.4965, allocations: 351.5 kB / 0.6081 GB, free: 14.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.4965, allocations: 58.72 kB / 0.6081 GB, free: 13.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.4966, allocations: 133.4 kB / 0.6083 GB, free: 13.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4967, allocations: 29.7 kB / 0.6083 GB, free: 13.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.4967, allocations: 194.3 kB / 0.6085 GB, free: 13.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/0.4968, allocations: 92.38 kB / 0.6086 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.4968, allocations: 0 / 0.6086 GB, free: 13.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.497, allocations: 330.3 kB / 0.6089 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.4971, allocations: 125.1 kB / 0.609 GB, free: 13.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.4973, allocations: 124.5 kB / 0.6091 GB, free: 12.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.4975, allocations: 148.6 kB / 0.6093 GB, free: 12.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4976, allocations: 7.938 kB / 0.6093 GB, free: 12.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005203/0.4981, allocations: 345.9 kB / 0.6096 GB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4981, allocations: 11.28 kB / 0.6096 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4981, allocations: 0 / 0.6096 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4981, allocations: 0 / 0.6096 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.499, allocations: 162.9 kB / 0.6098 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.5019, allocations: 5.597 MB / 0.6152 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.5021, allocations: 23.77 kB / 0.6153 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.5022, allocations: 15.36 kB / 0.6153 GB, free: 6.578 MB / 410.7 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.0001145/0.5023, allocations: 109.2 kB / 0.6154 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.5024, allocations: 15.81 kB / 0.6154 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008162/0.5032, allocations: 0.5002 MB / 0.6159 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5032, allocations: 4 kB / 0.6159 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5032, allocations: 0 / 0.6159 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5032, allocations: 0 / 0.6159 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.5037, allocations: 344.7 kB / 0.6162 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5037, allocations: 0 / 0.6162 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.5045, allocations: 167.1 kB / 0.6164 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5045, allocations: 0 / 0.6164 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.5046, allocations: 4 kB / 0.6164 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.5076, allocations: 5.599 MB / 0.6218 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.5076, allocations: 3.906 kB / 0.6218 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005704/0.5082, allocations: 453.9 kB / 0.6223 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.5083, allocations: 100.8 kB / 0.6224 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.5083, allocations: 0 / 0.6224 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.5085, allocations: 11.5 kB / 0.6224 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.5086, allocations: 19.95 kB / 0.6224 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.5086, allocations: 19.41 kB / 0.6224 GB, free: 15.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.407e-05/0.5087, allocations: 118.5 kB / 0.6225 GB, free: 15.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005115/0.5092, allocations: 135.3 kB / 0.6227 GB, free: 14.91 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 (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.0003181/0.5096, allocations: 177 kB / 0.6228 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.5109, allocations: 435.1 kB / 0.6233 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5109, allocations: 4 kB / 0.6233 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009571/0.5118, allocations: 301.3 kB / 0.6235 GB, free: 14.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5121, allocations: 15.5 kB / 0.6236 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5132, allocations: 0.544 MB / 0.6241 GB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/0.5138, allocations: 0.9011 MB / 0.625 GB, free: 12.59 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.5138, allocations: 0 / 0.625 GB, free: 12.59 MB / 426.7 MB Notification: Performance of Templates: time 0.008737/0.5225, allocations: 4.608 MB / 0.6295 GB, free: 8.023 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches