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_overall_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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0007954/0.0007956, allocations: 104.8 kB / 281.6 MB, free: 5.305 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.2062/0.2062, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.795e-05, allocations: 4 kB / 444.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 61.91 MB / 0.4947 GB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.5048, allocations: 97.3 MB / 0.5897 GB, free: 15.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5052, allocations: 94.53 kB / 0.5898 GB, free: 15.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0413/0.5465, allocations: 14.57 MB / 0.604 GB, free: 376 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.5465, allocations: 0 / 0.604 GB, free: 376 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.5466, allocations: 8 kB / 0.604 GB, free: 368 kB / 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.0008875/0.5475, allocations: 0.6035 MB / 0.6046 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5475, allocations: 11.98 kB / 0.6046 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.5476, allocations: 39.53 kB / 0.6047 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.548, allocations: 270.5 kB / 0.6049 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.548, allocations: 12 kB / 0.6049 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.5481, allocations: 24 kB / 0.605 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006536/0.5487, allocations: 489.7 kB / 0.6054 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.5494, allocations: 477.1 kB / 0.6059 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5495, allocations: 0 / 0.6059 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.5495, allocations: 3.938 kB / 0.6059 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.5496, allocations: 33.3 kB / 0.6059 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.5511, allocations: 1.05 MB / 0.6069 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.5517, allocations: 407.8 kB / 0.6073 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.5519, allocations: 137.2 kB / 0.6075 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.552, allocations: 8.219 kB / 0.6075 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.552, allocations: 38.8 kB / 0.6075 GB, free: 12.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.552, allocations: 3.938 kB / 0.6075 GB, free: 12.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006896/0.5527, allocations: 328.4 kB / 0.6078 GB, free: 12.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.5528, allocations: 51.41 kB / 0.6079 GB, free: 12.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.5529, allocations: 134.3 kB / 0.608 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.5529, allocations: 25.7 kB / 0.608 GB, free: 12.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.553, allocations: 208.1 kB / 0.6082 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.5531, allocations: 90.59 kB / 0.6083 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.5531, allocations: 4 kB / 0.6083 GB, free: 11.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5533, allocations: 334.8 kB / 0.6086 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5534, allocations: 111.9 kB / 0.6087 GB, free: 11.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5536, allocations: 116.1 kB / 0.6088 GB, free: 11.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.5538, allocations: 139.8 kB / 0.609 GB, free: 11.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5538, allocations: 3.938 kB / 0.609 GB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004935/0.5543, allocations: 325.2 kB / 0.6093 GB, free: 10.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5543, allocations: 4 kB / 0.6093 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5543, allocations: 0 / 0.6093 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5543, allocations: 0 / 0.6093 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.5551, allocations: 163.8 kB / 0.6095 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.5579, allocations: 5.536 MB / 0.6149 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.5582, allocations: 27.86 kB / 0.6149 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.5582, allocations: 12 kB / 0.6149 GB, free: 4.809 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.0001439/0.5584, allocations: 120.8 kB / 0.615 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.5585, allocations: 15.81 kB / 0.615 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.5592, allocations: 427.7 kB / 0.6154 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5592, allocations: 4 kB / 0.6154 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5593, allocations: 7.984 kB / 0.6154 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5593, allocations: 0 / 0.6154 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.5597, allocations: 345.8 kB / 0.6158 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5597, allocations: 0 / 0.6158 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.5604, allocations: 163.8 kB / 0.6159 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5605, allocations: 0 / 0.6159 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.5605, allocations: 7.984 kB / 0.6159 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.5632, allocations: 5.543 MB / 0.6214 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5633, allocations: 0 / 0.6214 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.5638, allocations: 435.2 kB / 0.6218 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.5639, allocations: 100.8 kB / 0.6219 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.5639, allocations: 3.938 kB / 0.6219 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.5641, allocations: 11.98 kB / 0.6219 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.5641, allocations: 19.97 kB / 0.6219 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5642, allocations: 12 kB / 0.6219 GB, free: 13.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.959e-05/0.5643, allocations: 115.2 kB / 0.622 GB, free: 13.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5643, allocations: 0 / 0.622 GB, free: 13.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005727/0.5648, allocations: 167.4 kB / 0.6222 GB, free: 13.05 MB / 442.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.000432/0.5653, allocations: 258.7 kB / 0.6224 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009104/0.5662, allocations: 379.5 kB / 0.6228 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5662, allocations: 0 / 0.6228 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006742/0.5669, allocations: 235.7 kB / 0.623 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.5671, allocations: 15.95 kB / 0.623 GB, free: 12.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.5681, allocations: 0.5259 MB / 0.6235 GB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.5685, allocations: 0.8689 MB / 0.6244 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.5686, allocations: 65.72 kB / 0.6245 GB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.5687, allocations: 23.42 kB / 0.6245 GB, free: 10.64 MB / 442.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5687, allocations: 0 / 0.6245 GB, free: 10.64 MB / 442.7 MB Notification: Performance of Templates: time 0.008976/0.5777, allocations: 5.018 MB / 0.6294 GB, free: 5.648 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches