Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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,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.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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 trunk/package.mo): time 0.001562/0.001562, allocations: 196.4 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008791/0.000879, allocations: 98.86 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1891/0.1891, allocations: 45.14 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.743e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4546, allocations: 94.3 MB / 0.5959 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.455, allocations: 94.12 kB / 0.596 GB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02893/0.4839, allocations: 10.72 MB / 0.6064 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.484, allocations: 8 kB / 0.6064 GB, free: 15.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008422/0.4848, allocations: 0.6153 MB / 0.607 GB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4849, allocations: 12.03 kB / 0.6071 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.4853, allocations: 94.95 kB / 0.6072 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.4856, allocations: 284.6 kB / 0.6074 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.4857, allocations: 12 kB / 0.6074 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.4857, allocations: 20 kB / 0.6075 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005396/0.4863, allocations: 344.7 kB / 0.6078 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.4869, allocations: 0.4978 MB / 0.6083 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.487, allocations: 4 kB / 0.6083 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.487, allocations: 0 / 0.6083 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.487, allocations: 27.95 kB / 0.6083 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.4886, allocations: 1.242 MB / 0.6095 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.489, allocations: 260.3 kB / 0.6098 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.4892, allocations: 109 kB / 0.6099 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.4892, allocations: 11.89 kB / 0.6099 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4893, allocations: 41.62 kB / 0.6099 GB, free: 12.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.4893, allocations: 0 / 0.6099 GB, free: 12.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005953/0.4899, allocations: 269.3 kB / 0.6102 GB, free: 11.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.4899, allocations: 106.8 kB / 0.6103 GB, free: 11.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.4901, allocations: 188.8 kB / 0.6105 GB, free: 11.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4901, allocations: 29.64 kB / 0.6105 GB, free: 11.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.4902, allocations: 205.2 kB / 0.6107 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.4903, allocations: 62.78 kB / 0.6107 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.4903, allocations: 0 / 0.6107 GB, free: 11.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.4904, allocations: 328.8 kB / 0.611 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.4906, allocations: 107.5 kB / 0.6112 GB, free: 10.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4908, allocations: 143.6 kB / 0.6113 GB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.491, allocations: 118.5 kB / 0.6114 GB, free: 10.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.491, allocations: 4 kB / 0.6114 GB, free: 10.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000485/0.4915, allocations: 306.8 kB / 0.6117 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4915, allocations: 4 kB / 0.6117 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.498e-05/0.4916, allocations: 31.28 kB / 0.6117 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4916, allocations: 4 kB / 0.6117 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.4918, allocations: 44.06 kB / 0.6118 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4918, allocations: 4.781 kB / 0.6118 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.4921, allocations: 39.81 kB / 0.6118 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.4921, allocations: 12.11 kB / 0.6118 GB, free: 10.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.691e-05/0.4922, allocations: 108.7 kB / 0.6119 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.4923, allocations: 23.7 kB / 0.612 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.493, allocations: 391.3 kB / 0.6123 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.493, allocations: 8 kB / 0.6123 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.493, allocations: 0 / 0.6123 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.493, allocations: 0 / 0.6123 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.4935, allocations: 332.7 kB / 0.6127 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.934e-05/0.4935, allocations: 27.97 kB / 0.6127 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4937, allocations: 39.72 kB / 0.6127 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.4937, allocations: 7.906 kB / 0.6127 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.4938, allocations: 4 kB / 0.6127 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.4938, allocations: 8 kB / 0.6127 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4938, allocations: 0 / 0.6127 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005348/0.4943, allocations: 0.5337 MB / 0.6133 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.4944, allocations: 96.83 kB / 0.6134 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.4944, allocations: 0 / 0.6134 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.4947, allocations: 27.97 kB / 0.6134 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.4948, allocations: 19.36 kB / 0.6134 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.4948, allocations: 11.98 kB / 0.6134 GB, free: 8.531 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001083/0.495, allocations: 149 kB / 0.6136 GB, free: 8.406 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005801/0.4956, allocations: 143 kB / 0.6137 GB, free: 8.27 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003371/0.4959, allocations: 209.1 kB / 0.6139 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005487/0.4965, allocations: 480 kB / 0.6143 GB, free: 7.562 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4965, allocations: 4 kB / 0.6143 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.4968, allocations: 356.9 kB / 0.6147 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.4971, allocations: 26.84 kB / 0.6147 GB, free: 7.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4984, allocations: 0.5538 MB / 0.6153 GB, free: 6.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.4989, allocations: 0.8797 MB / 0.6161 GB, free: 5.695 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4989, allocations: 0 / 0.6161 GB, free: 5.695 MB / 410.7 MB Notification: Performance of Templates: time 0.007851/0.5067, allocations: 4.204 MB / 0.6202 GB, free: 1.543 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches