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.001125/0.001125, allocations: 109 kB / 16.41 MB, free: 6.504 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.001126/0.001126, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2292/0.2292, allocations: 43.52 MB / 314.1 MB, free: 456 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.001335/0.001335, allocations: 67.91 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 57.79 MB / 499.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003383/0.1398, allocations: 2.106 MB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1415, allocations: 1.204 MB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.1416, allocations: 0 / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1419, allocations: 67.53 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1422, allocations: 91.44 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.1426, allocations: 183.3 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.1431, allocations: 434 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1432, allocations: 52.69 kB / 0.4919 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.1434, allocations: 159.1 kB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.1436, allocations: 179.2 kB / 0.4923 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1437, allocations: 12 kB / 0.4923 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1441, allocations: 211.7 kB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1442, allocations: 95.47 kB / 0.4926 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1444, allocations: 170.8 kB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.1451, allocations: 498.2 kB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1451, allocations: 0 / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1451, allocations: 0 / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1451, allocations: 0 / 0.4932 GB, free: 6.301 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.001306/0.1464, allocations: 0.698 MB / 0.4939 GB, free: 5.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1465, allocations: 15.88 kB / 0.4939 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.1466, allocations: 48.38 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.147, allocations: 287.5 kB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.147, allocations: 33.31 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.1471, allocations: 32.38 kB / 0.4943 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.1479, allocations: 0.5741 MB / 0.4948 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.148, allocations: 0 / 0.4948 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.148, allocations: 23.98 kB / 0.4949 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.148, allocations: 25 kB / 0.4949 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/0.1488, allocations: 419.6 kB / 0.4953 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.1506, allocations: 1.379 MB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1511, allocations: 271.6 kB / 0.4969 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.1514, allocations: 134.5 kB / 0.497 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.294e-05/0.1515, allocations: 15.95 kB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1515, allocations: 34.56 kB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.1515, allocations: 4 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001133/0.1527, allocations: 460.8 kB / 0.4975 GB, free: 1.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1528, allocations: 111 kB / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.1533, allocations: 0.5018 MB / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1533, allocations: 25.7 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.1535, allocations: 204.2 kB / 0.4983 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.1535, allocations: 55.2 kB / 0.4984 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.686e-05/0.1536, allocations: 53.61 kB / 0.4984 GB, free: 0.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1538, allocations: 350.8 kB / 0.4988 GB, free: 324 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1541, allocations: 131.9 kB / 0.4989 GB, free: 192 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.1544, allocations: 167.5 kB / 0.4991 GB, free: 8 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.1551, allocations: 304.8 kB / 0.4993 GB, free: 15.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1551, allocations: 4 kB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007971/0.1559, allocations: 384.4 kB / 0.4997 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1559, allocations: 7.938 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-05/0.156, allocations: 31.97 kB / 0.4998 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.156, allocations: 4 kB / 0.4998 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1562, allocations: 36.12 kB / 0.4998 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1562, allocations: 7.984 kB / 0.4998 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1565, allocations: 51.42 kB / 0.4999 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.1565, allocations: 16 kB / 0.4999 GB, free: 15.16 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.0002471/0.1568, allocations: 185.7 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.1569, allocations: 39.47 kB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00075/0.1576, allocations: 392.5 kB / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1576, allocations: 4 kB / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1577, allocations: 0 / 0.5005 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1577, allocations: 3.984 kB / 0.5005 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1582, allocations: 365.3 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/0.1582, allocations: 24 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1584, allocations: 27.91 kB / 0.5009 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1584, allocations: 3.938 kB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.1584, allocations: 15.98 kB / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1584, allocations: 0 / 0.5009 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1584, allocations: 4 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.1592, allocations: 0.5716 MB / 0.5014 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1593, allocations: 128.5 kB / 0.5016 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.1594, allocations: 8 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1597, allocations: 15.97 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.1598, allocations: 23.92 kB / 0.5016 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1598, allocations: 12 kB / 0.5016 GB, free: 13.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.1602, allocations: 375 kB / 0.502 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1602, allocations: 0 / 0.502 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.1606, allocations: 100 kB / 0.5021 GB, free: 12.79 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.0002704/0.1609, allocations: 155.1 kB / 0.5022 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.1617, allocations: 0.5185 MB / 0.5027 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1617, allocations: 0 / 0.5027 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.1622, allocations: 387.4 kB / 0.5031 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.1628, allocations: 109.2 kB / 0.5032 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1642, allocations: 0.8182 MB / 0.504 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1646, allocations: 0.8458 MB / 0.5048 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.1647, allocations: 59.23 kB / 0.5049 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.1648, allocations: 31.44 kB / 0.5049 GB, free: 9.695 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1648, allocations: 0 / 0.5049 GB, free: 9.695 MB / 398.1 MB Notification: Performance of Templates: time 0.01168/0.1765, allocations: 7.21 MB / 0.512 GB, free: 2.5 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/jenkins/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/jenkins/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