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_laminar_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_laminar_KC,tolerance=1e-06,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_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,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_laminar_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.001546/0.001545, allocations: 179.1 kB / 8.519 MB, free: 1.852 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.202/1.202, allocations: 221.4 MB / 230.3 MB, free: 7.695 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.0008965/0.0008965, allocations: 84 kB / 281.2 MB, free: 5.512 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.1802/0.1802, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.666e-06, allocations: 224 / 444.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 61.91 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4393, allocations: 92.16 MB / 0.5841 GB, free: 4.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.4397, allocations: 87.94 kB / 0.5842 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02683/0.4665, allocations: 9.315 MB / 0.5933 GB, free: 11.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.4665, allocations: 4 kB / 0.5933 GB, free: 11.04 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007041/0.4673, allocations: 0.5605 MB / 0.5938 GB, free: 10.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4673, allocations: 15.97 kB / 0.5939 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.4674, allocations: 43.47 kB / 0.5939 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4677, allocations: 290.9 kB / 0.5942 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4678, allocations: 12 kB / 0.5942 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.4678, allocations: 20 kB / 0.5942 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006234/0.4685, allocations: 0.4936 MB / 0.5947 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.4691, allocations: 491.1 kB / 0.5952 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4691, allocations: 4 kB / 0.5952 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.4692, allocations: 0 / 0.5952 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.903e-05/0.4692, allocations: 40.95 kB / 0.5952 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.4708, allocations: 1.065 MB / 0.5962 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.4714, allocations: 443.8 kB / 0.5967 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4716, allocations: 149.2 kB / 0.5968 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.4716, allocations: 4.234 kB / 0.5968 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4717, allocations: 38.78 kB / 0.5969 GB, free: 7.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/0.4717, allocations: 0 / 0.5969 GB, free: 7.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006268/0.4723, allocations: 356.4 kB / 0.5972 GB, free: 6.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.4724, allocations: 55.41 kB / 0.5972 GB, free: 6.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4725, allocations: 137.7 kB / 0.5974 GB, free: 6.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.4725, allocations: 25.7 kB / 0.5974 GB, free: 6.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.4726, allocations: 192.1 kB / 0.5976 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.4727, allocations: 98.5 kB / 0.5977 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.4727, allocations: 0 / 0.5977 GB, free: 6.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4728, allocations: 334.8 kB / 0.598 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.473, allocations: 127.8 kB / 0.5981 GB, free: 5.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.4732, allocations: 123.9 kB / 0.5982 GB, free: 5.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.4734, allocations: 147.8 kB / 0.5984 GB, free: 5.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4734, allocations: 0 / 0.5984 GB, free: 5.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005212/0.4739, allocations: 353.2 kB / 0.5987 GB, free: 5.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.474, allocations: 9.094 kB / 0.5987 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.474, allocations: 0 / 0.5987 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.474, allocations: 0 / 0.5987 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008894/0.4749, allocations: 155.9 kB / 0.5989 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.478, allocations: 5.598 MB / 0.6043 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4782, allocations: 24.14 kB / 0.6044 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.4782, allocations: 15.89 kB / 0.6044 GB, free: 15.28 MB / 426.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.0001022/0.4783, allocations: 109.9 kB / 0.6045 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.4784, allocations: 15.81 kB / 0.6045 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.4793, allocations: 0.4946 MB / 0.605 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4793, allocations: 11.91 kB / 0.605 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4793, allocations: 0 / 0.605 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4793, allocations: 0 / 0.605 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.4798, allocations: 349.8 kB / 0.6053 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4798, allocations: 0 / 0.6053 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.4806, allocations: 159.8 kB / 0.6055 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.4807, allocations: 0 / 0.6055 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.4807, allocations: 7.984 kB / 0.6055 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.484, allocations: 5.602 MB / 0.611 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.484, allocations: 4.031 kB / 0.611 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005749/0.4846, allocations: 451 kB / 0.6114 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.4846, allocations: 92.86 kB / 0.6115 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.4847, allocations: 3.938 kB / 0.6115 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4849, allocations: 20.08 kB / 0.6115 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.485, allocations: 19.97 kB / 0.6115 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.485, allocations: 11.98 kB / 0.6115 GB, free: 7.664 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.78e-05/0.4851, allocations: 115.3 kB / 0.6116 GB, free: 7.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000489/0.4856, allocations: 123.4 kB / 0.6118 GB, free: 7.43 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.0003147/0.4859, allocations: 177.1 kB / 0.6119 GB, free: 7.246 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4872, allocations: 435.5 kB / 0.6123 GB, free: 6.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4872, allocations: 3.938 kB / 0.6123 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009793/0.4882, allocations: 304.6 kB / 0.6126 GB, free: 6.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.4884, allocations: 15.84 kB / 0.6127 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4896, allocations: 0.5522 MB / 0.6132 GB, free: 5.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.4901, allocations: 0.8997 MB / 0.6141 GB, free: 5 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4901, allocations: 0 / 0.6141 GB, free: 5 MB / 426.7 MB Notification: Performance of Templates: time 0.0081/0.4982, allocations: 4.656 MB / 0.6186 GB, free: 384 kB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches