Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 113.5 kB / 17.08 MB, free: 6.008 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.001639/0.00164, allocations: 197.3 kB / 18.01 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 43.52 MB / 314.8 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1354, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.005207/0.1407, allocations: 2.111 MB / 0.4906 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1435, allocations: 1.192 MB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.1437, allocations: 4 kB / 0.4918 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.1442, allocations: 71.58 kB / 0.4919 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1446, allocations: 87.38 kB / 0.4919 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008552/0.1455, allocations: 175.4 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.1463, allocations: 445.9 kB / 0.4925 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1465, allocations: 48.7 kB / 0.4926 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.1468, allocations: 151.2 kB / 0.4927 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.1472, allocations: 183.1 kB / 0.4929 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.1473, allocations: 12 kB / 0.4929 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.148, allocations: 207.7 kB / 0.4931 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1481, allocations: 91.53 kB / 0.4932 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.1484, allocations: 174.8 kB / 0.4934 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009286/0.1494, allocations: 498.2 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1494, allocations: 0 / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1494, allocations: 0 / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1494, allocations: 0 / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001741/0.1512, allocations: 0.7014 MB / 0.4945 GB, free: 5.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.1513, allocations: 11.89 kB / 0.4945 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1514, allocations: 48.38 kB / 0.4946 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.152, allocations: 299.4 kB / 0.4949 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.152, allocations: 25.38 kB / 0.4949 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-05/0.1521, allocations: 40.38 kB / 0.4949 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.1536, allocations: 0.5741 MB / 0.4955 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1536, allocations: 4 kB / 0.4955 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.1537, allocations: 16 kB / 0.4955 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.1537, allocations: 17 kB / 0.4955 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.1549, allocations: 431.5 kB / 0.4959 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.1578, allocations: 1.367 MB / 0.4973 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.1586, allocations: 271.6 kB / 0.4975 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.1591, allocations: 141.7 kB / 0.4977 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/0.1591, allocations: 11.92 kB / 0.4977 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1592, allocations: 42.56 kB / 0.4977 GB, free: 2.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 4.819e-06/0.1592, allocations: 112 / 0.4977 GB, free: 2.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001718/0.1609, allocations: 456.7 kB / 0.4982 GB, free: 1.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.161, allocations: 115 kB / 0.4983 GB, free: 1.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.1619, allocations: 0.4979 MB / 0.4988 GB, free: 1.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.162, allocations: 25.7 kB / 0.4988 GB, free: 1.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.1622, allocations: 204.1 kB / 0.499 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/0.1623, allocations: 55.2 kB / 0.499 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.1625, allocations: 57.59 kB / 0.4991 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1627, allocations: 350.8 kB / 0.4994 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.1631, allocations: 127.9 kB / 0.4995 GB, free: 264 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.1636, allocations: 165 kB / 0.4997 GB, free: 80 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.1646, allocations: 300.8 kB / 0.5 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1647, allocations: 0 / 0.5 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001237/0.1659, allocations: 384.5 kB / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.166, allocations: 14.59 kB / 0.5004 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.684e-05/0.1661, allocations: 31.98 kB / 0.5004 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1661, allocations: 4 kB / 0.5004 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.1664, allocations: 36.06 kB / 0.5004 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1664, allocations: 4 kB / 0.5004 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.1668, allocations: 59.41 kB / 0.5005 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.1669, allocations: 8 kB / 0.5005 GB, free: 15.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000328/0.1672, allocations: 189.6 kB / 0.5007 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.1674, allocations: 39.47 kB / 0.5007 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.1686, allocations: 388.5 kB / 0.5011 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.1686, allocations: 7.984 kB / 0.5011 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.1686, allocations: 8 kB / 0.5011 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1686, allocations: 0 / 0.5011 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.1695, allocations: 361.3 kB / 0.5015 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-05/0.1696, allocations: 35.98 kB / 0.5015 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.1698, allocations: 23.97 kB / 0.5015 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1698, allocations: 3.938 kB / 0.5015 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.1698, allocations: 8 kB / 0.5015 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1699, allocations: 4 kB / 0.5015 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1699, allocations: 3.938 kB / 0.5015 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1711, allocations: 0.5755 MB / 0.5021 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.1713, allocations: 128.5 kB / 0.5022 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.1714, allocations: 0 / 0.5022 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.1718, allocations: 23.97 kB / 0.5022 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.172, allocations: 15.98 kB / 0.5022 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.172, allocations: 11.98 kB / 0.5023 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006266/0.1727, allocations: 375.1 kB / 0.5026 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.1727, allocations: 0 / 0.5026 GB, free: 12.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008064/0.1735, allocations: 108 kB / 0.5027 GB, free: 12.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004398/0.174, allocations: 163.1 kB / 0.5029 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1752, allocations: 0.5147 MB / 0.5034 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1752, allocations: 0 / 0.5034 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006447/0.1759, allocations: 392 kB / 0.5038 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.177, allocations: 105.2 kB / 0.5039 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1792, allocations: 0.835 MB / 0.5047 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.1798, allocations: 0.838 MB / 0.5055 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1799, allocations: 31.42 kB / 0.5055 GB, free: 9.805 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1799, allocations: 0 / 0.5055 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Templates: time 0.01604/0.196, allocations: 6.99 MB / 0.5123 GB, free: 2.816 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches