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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 94.98 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 180.1 kB / 18.91 MB, free: 4.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.25 MB / 338.3 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 12 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1577, allocations: 61.93 MB / 472.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003857/0.1617, allocations: 1.699 MB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.1665, allocations: 1.807 MB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1667, allocations: 0 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.1671, allocations: 63.7 kB / 476.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.1678, allocations: 107.5 kB / 476.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1694, allocations: 314.9 kB / 476.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009185/0.1703, allocations: 0.5058 MB / 477.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1705, allocations: 44.72 kB / 477.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.1709, allocations: 135.2 kB / 477.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.1713, allocations: 195.1 kB / 477.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.1714, allocations: 12 kB / 477.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.1727, allocations: 0.5342 MB / 478.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1729, allocations: 95.53 kB / 478.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.1733, allocations: 184.6 kB / 478.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.174, allocations: 419.1 kB / 479 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.174, allocations: 0 / 479 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.174, allocations: 0 / 479 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.174, allocations: 0 / 479 MB, free: 7.156 MB / 350.1 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.001415/0.1754, allocations: 0.6185 MB / 479.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1755, allocations: 8.031 kB / 479.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.1757, allocations: 44.45 kB / 479.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.1761, allocations: 271.6 kB / 480 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1762, allocations: 37.3 kB / 480 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.1763, allocations: 32.38 kB / 480 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1777, allocations: 0.5649 MB / 480.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1777, allocations: 0 / 480.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.1778, allocations: 19.98 kB / 480.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.602e-05/0.1779, allocations: 40.97 kB / 480.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1796, allocations: 0.5816 MB / 481.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1824, allocations: 1.179 MB / 482.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.1836, allocations: 378.2 kB / 482.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.1841, allocations: 140.9 kB / 482.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.1842, allocations: 15.92 kB / 482.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.1843, allocations: 38.59 kB / 483 MB, free: 3.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 3.036e-06/0.1843, allocations: 0 / 483 MB, free: 3.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001656/0.1859, allocations: 482.1 kB / 483.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.186, allocations: 51.41 kB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.1868, allocations: 453.6 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1869, allocations: 29.7 kB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1871, allocations: 184.4 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1872, allocations: 82.78 kB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.1873, allocations: 21.72 kB / 484.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1875, allocations: 350.8 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.188, allocations: 127.8 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.1884, allocations: 129.9 kB / 484.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.1892, allocations: 279.8 kB / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1893, allocations: 0 / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001062/0.1903, allocations: 349 kB / 485.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1904, allocations: 6.656 kB / 485.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1904, allocations: 0 / 485.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.1904, allocations: 7.938 kB / 485.5 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.1915, allocations: 155.9 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.1949, allocations: 5.524 MB / 491.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.1952, allocations: 51.45 kB / 491.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1952, allocations: 7.984 kB / 491.2 MB, free: 10.54 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.1954, allocations: 197.8 kB / 491.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.1955, allocations: 31.62 kB / 491.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.1965, allocations: 464.5 kB / 491.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1965, allocations: 11.94 kB / 491.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1965, allocations: 0 / 491.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1965, allocations: 0 / 491.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.197, allocations: 381.2 kB / 492.3 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.197, allocations: 4 kB / 492.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.1977, allocations: 159.9 kB / 492.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1977, allocations: 0 / 492.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.1977, allocations: 8 kB / 492.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.2004, allocations: 5.524 MB / 498 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.2005, allocations: 3.984 kB / 498 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.2012, allocations: 465.8 kB / 498.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2013, allocations: 116.6 kB / 498.5 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.2014, allocations: 8 kB / 498.5 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2016, allocations: 8 kB / 498.5 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.2017, allocations: 23.97 kB / 498.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2017, allocations: 23.86 kB / 498.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.2021, allocations: 335.1 kB / 498.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2021, allocations: 0 / 498.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004903/0.2026, allocations: 131.9 kB / 499 MB, free: 2.391 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.203, allocations: 203.6 kB / 499.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.2045, allocations: 411.6 kB / 499.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.2046, allocations: 0 / 499.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.2059, allocations: 287.6 kB / 499.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.2065, allocations: 93.41 kB / 0.4883 GB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.208, allocations: 0.9357 MB / 0.4892 GB, free: 452 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.2084, allocations: 0.8503 MB / 0.49 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.2085, allocations: 35.42 kB / 0.4901 GB, free: 15.53 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2085, allocations: 0 / 0.4901 GB, free: 15.53 MB / 382.1 MB Notification: Performance of Templates: time 0.2165/0.4251, allocations: 19.78 MB / 0.5094 GB, free: 50.6 MB / 382.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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