Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 178.6 kB / 8.151 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 94.84 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3124/0.3124, allocations: 43.49 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.156e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 58.83 MB / 476.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5592, allocations: 96.07 MB / 0.5592 GB, free: 2.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004603/0.5597, allocations: 95.42 kB / 0.5593 GB, free: 2.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08214/0.6419, allocations: 13.94 MB / 0.5729 GB, free: 4.801 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6419, allocations: 8 kB / 0.5729 GB, free: 4.793 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.001379/0.6433, allocations: 0.5918 MB / 0.5735 GB, free: 4.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.6434, allocations: 8.031 kB / 0.5735 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.6435, allocations: 47.38 kB / 0.5735 GB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.6441, allocations: 286.2 kB / 0.5738 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.6441, allocations: 20 kB / 0.5738 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.6442, allocations: 20 kB / 0.5739 GB, free: 3.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00122/0.6455, allocations: 0.4975 MB / 0.5743 GB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.6467, allocations: 491.1 kB / 0.5748 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6467, allocations: 0 / 0.5748 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.6468, allocations: 0 / 0.5748 GB, free: 2.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.6468, allocations: 36.98 kB / 0.5749 GB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.65, allocations: 1.069 MB / 0.5759 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.6512, allocations: 453.2 kB / 0.5763 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.6517, allocations: 145.2 kB / 0.5765 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.6517, allocations: 12.22 kB / 0.5765 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.6518, allocations: 34.8 kB / 0.5765 GB, free: 0.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 6.462e-06/0.6518, allocations: 0 / 0.5765 GB, free: 0.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001125/0.6529, allocations: 355.2 kB / 0.5768 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.653, allocations: 55.41 kB / 0.5769 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.6532, allocations: 129.4 kB / 0.577 GB, free: 416 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.6532, allocations: 25.7 kB / 0.577 GB, free: 384 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.6534, allocations: 262.5 kB / 0.5773 GB, free: 120 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6536, allocations: 94.5 kB / 0.5774 GB, free: 24 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.6536, allocations: 0 / 0.5774 GB, free: 24 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6538, allocations: 322.8 kB / 0.5777 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.6542, allocations: 127.9 kB / 0.5778 GB, free: 15.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.6546, allocations: 127.9 kB / 0.5779 GB, free: 15.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.655, allocations: 147.8 kB / 0.5781 GB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6551, allocations: 0 / 0.5781 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001033/0.6561, allocations: 346 kB / 0.5784 GB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.6562, allocations: 8 kB / 0.5784 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6562, allocations: 4 kB / 0.5784 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.6562, allocations: 0 / 0.5784 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.658, allocations: 155.9 kB / 0.5786 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004634/0.6626, allocations: 5.551 MB / 0.584 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.663, allocations: 28.14 kB / 0.584 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.6631, allocations: 11.98 kB / 0.584 GB, free: 8.996 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.0001372/0.6633, allocations: 29.64 kB / 0.5841 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.6634, allocations: 15.81 kB / 0.5841 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.6649, allocations: 0.5023 MB / 0.5846 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.665, allocations: 4 kB / 0.5846 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.665, allocations: 4 kB / 0.5846 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.665, allocations: 0 / 0.5846 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008014/0.6658, allocations: 345.8 kB / 0.5849 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6658, allocations: 0 / 0.5849 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.6674, allocations: 159.8 kB / 0.5851 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.6674, allocations: 4 kB / 0.5851 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.6675, allocations: 7.906 kB / 0.5851 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.6721, allocations: 5.602 MB / 0.5905 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6722, allocations: 0 / 0.5905 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001121/0.6733, allocations: 447.1 kB / 0.591 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6735, allocations: 96.84 kB / 0.5911 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.6736, allocations: 4.125 kB / 0.5911 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.6739, allocations: 15.98 kB / 0.5911 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.6741, allocations: 27.88 kB / 0.5911 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.6741, allocations: 12 kB / 0.5911 GB, free: 1.453 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001237/0.6743, allocations: 116.1 kB / 0.5912 GB, free: 1.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008058/0.6751, allocations: 163.5 kB / 0.5914 GB, free: 1.18 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.0006591/0.6758, allocations: 256.7 kB / 0.5916 GB, free: 0.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.6782, allocations: 436.3 kB / 0.592 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6782, allocations: 0 / 0.592 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.6801, allocations: 303.7 kB / 0.5923 GB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.6805, allocations: 20.53 kB / 0.5924 GB, free: 180 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.6825, allocations: 0.5848 MB / 0.5929 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/0.6833, allocations: 0.8958 MB / 0.5938 GB, free: 14.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6833, allocations: 0 / 0.5938 GB, free: 14.64 MB / 442.7 MB Notification: Performance of Templates: time 0.03226/0.7156, allocations: 17.65 MB / 0.611 GB, free: 12.96 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches