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_turbulent_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_turbulent_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_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 94.42 kB / 16.98 MB, free: 5.934 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.001481/0.00148, allocations: 186.5 kB / 17.88 MB, free: 5.594 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.399/1.399, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2031/0.2031, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005225, allocations: 13.16 kB / 409.6 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1617, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.002306/0.1641, allocations: 1.614 MB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1654, allocations: 0.8032 MB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.1655, allocations: 0 / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1657, allocations: 51.67 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.166, allocations: 87.77 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1662, allocations: 79.77 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.1665, allocations: 251.4 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.1665, allocations: 48.7 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1667, allocations: 111.5 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.1669, allocations: 143.4 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.1669, allocations: 8 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.1672, allocations: 147.8 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.1673, allocations: 87.64 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.1673, allocations: 81.52 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1676, allocations: 271.6 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1676, allocations: 0 / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1676, allocations: 0 / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1676, allocations: 0 / 475.2 MB, free: 9.922 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.0007988/0.1684, allocations: 0.5927 MB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.1685, allocations: 12.03 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.1686, allocations: 43.47 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1689, allocations: 270.4 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1689, allocations: 32.98 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.169, allocations: 36 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.1697, allocations: 0.5568 MB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1698, allocations: 0 / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.1698, allocations: 15.94 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-05/0.1699, allocations: 44.97 kB / 476.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.1707, allocations: 0.5776 MB / 477.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.1724, allocations: 1.187 MB / 478.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.1731, allocations: 388.1 kB / 479 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.1731, allocations: 12.12 kB / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1731, allocations: 34.75 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.565e-06/0.1731, allocations: 3.984 kB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009285/0.1741, allocations: 484.1 kB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1741, allocations: 51.41 kB / 479.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.1746, allocations: 449.6 kB / 480 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.1746, allocations: 25.7 kB / 480 MB, free: 4.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1748, allocations: 192.3 kB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.1748, allocations: 74.91 kB / 480.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.1749, allocations: 8 kB / 480.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.175, allocations: 346.8 kB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1753, allocations: 119.8 kB / 480.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1755, allocations: 125.9 kB / 480.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1758, allocations: 139.8 kB / 481 MB, free: 3.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1758, allocations: 0 / 481 MB, free: 3.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006016/0.1764, allocations: 351.8 kB / 481.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1764, allocations: 7.953 kB / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1764, allocations: 0 / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1764, allocations: 0 / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/0.1772, allocations: 159.8 kB / 481.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.1803, allocations: 5.516 MB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.1806, allocations: 47.38 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1806, allocations: 11.98 kB / 487.1 MB, free: 13.66 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 (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.0002522/0.1809, allocations: 194.4 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.1809, allocations: 47.42 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/0.1818, allocations: 456.5 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1818, allocations: 0 / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1818, allocations: 0 / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1818, allocations: 8 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.1823, allocations: 377.2 kB / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1823, allocations: 0 / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/0.183, allocations: 151.8 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.183, allocations: 7.953 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.183, allocations: 11.94 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.1861, allocations: 5.524 MB / 493.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1861, allocations: 4.031 kB / 493.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.187, allocations: 454.1 kB / 494.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1872, allocations: 116.6 kB / 494.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.1873, allocations: 8 kB / 494.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.1876, allocations: 11.98 kB / 494.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.1877, allocations: 27.97 kB / 494.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.1878, allocations: 8 kB / 494.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005022/0.1883, allocations: 331.1 kB / 494.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1883, allocations: 0 / 494.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006025/0.1889, allocations: 107.8 kB / 494.9 MB, free: 5.555 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 (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.0002829/0.1892, allocations: 139.1 kB / 495 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.1904, allocations: 415.5 kB / 495.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1904, allocations: 0 / 495.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008726/0.1913, allocations: 287.6 kB / 495.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.1918, allocations: 81.44 kB / 495.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.193, allocations: 0.8648 MB / 496.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1935, allocations: 0.862 MB / 497.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.1937, allocations: 87.22 kB / 497.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.1938, allocations: 31.42 kB / 497.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1938, allocations: 0 / 497.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of Templates: time 0.0111/0.2049, allocations: 6.478 MB / 0.4923 GB, free: 12.37 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches