Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007748/0.0007748, allocations: 90.3 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3528/0.3528, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004376, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.85 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002599/0.1258, allocations: 1.761 MB / 492 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1279, allocations: 1.088 MB / 493.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.1281, allocations: 4 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1285, allocations: 55.66 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1288, allocations: 87.5 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.1294, allocations: 135.5 kB / 493.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006216/0.1301, allocations: 474 kB / 493.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1302, allocations: 52.69 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.1305, allocations: 147.2 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.1309, allocations: 187.2 kB / 494.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.1309, allocations: 16 kB / 494.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.1314, allocations: 191.7 kB / 494.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1315, allocations: 91.53 kB / 494.5 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1316, allocations: 81.45 kB / 494.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.1321, allocations: 343.2 kB / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1321, allocations: 0 / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1321, allocations: 0 / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1321, allocations: 0 / 494.9 MB, free: 6.496 MB / 378.7 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.001296/0.1334, allocations: 0.6589 MB / 495.6 MB, free: 5.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1335, allocations: 15.97 kB / 495.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1336, allocations: 43.48 kB / 495.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.134, allocations: 294.1 kB / 495.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.1341, allocations: 29 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.1341, allocations: 36 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1351, allocations: 0.5855 MB / 496.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1352, allocations: 0 / 496.6 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1352, allocations: 16 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.1353, allocations: 20.98 kB / 496.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009228/0.1362, allocations: 455.5 kB / 497.1 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1381, allocations: 1.371 MB / 498.4 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.1387, allocations: 287.6 kB / 498.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1391, allocations: 150.5 kB / 498.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.692e-05/0.1391, allocations: 11.98 kB / 498.9 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1392, allocations: 38.62 kB / 498.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.1392, allocations: 3.938 kB / 498.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001226/0.1404, allocations: 493.2 kB / 499.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.1405, allocations: 106.8 kB / 499.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.141, allocations: 0.4978 MB / 0.4883 GB, free: 1.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1411, allocations: 29.7 kB / 0.4883 GB, free: 1.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1412, allocations: 200.2 kB / 0.4885 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.1413, allocations: 59.19 kB / 0.4886 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.1413, allocations: 4 kB / 0.4886 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1414, allocations: 354.8 kB / 0.4889 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.1418, allocations: 136 kB / 0.489 GB, free: 380 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.1422, allocations: 189.3 kB / 0.4892 GB, free: 172 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1425, allocations: 155.5 kB / 0.4894 GB, free: 20 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1426, allocations: 0 / 0.4894 GB, free: 20 kB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.2251/0.3677, allocations: 401.3 kB / 0.4897 GB, free: 42.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3677, allocations: 5.156 kB / 0.4898 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-05/0.3678, allocations: 28.31 kB / 0.4898 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.3678, allocations: 3.766 kB / 0.4898 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3681, allocations: 40.55 kB / 0.4898 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.3681, allocations: 6.734 kB / 0.4898 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3684, allocations: 67.12 kB / 0.4899 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3685, allocations: 11.17 kB / 0.4899 GB, free: 42.96 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.3687, allocations: 188.3 kB / 0.4901 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.3688, allocations: 39.8 kB / 0.4901 GB, free: 42.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008182/0.3696, allocations: 390.9 kB / 0.4905 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3696, allocations: 11.61 kB / 0.4905 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3696, allocations: 2.234 kB / 0.4905 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3697, allocations: 3.906 kB / 0.4905 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.3702, allocations: 354.9 kB / 0.4908 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/0.3702, allocations: 31.94 kB / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3704, allocations: 37.34 kB / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3704, allocations: 2.5 kB / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.3704, allocations: 11.62 kB / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3705, allocations: 8.469 kB / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3705, allocations: 0 / 0.4909 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.3713, allocations: 0.5931 MB / 0.4915 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.3714, allocations: 121.9 kB / 0.4916 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.3715, allocations: 7.875 kB / 0.4916 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3718, allocations: 31.08 kB / 0.4917 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.3719, allocations: 22.98 kB / 0.4917 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3719, allocations: 12.78 kB / 0.4917 GB, free: 42.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004548/0.3723, allocations: 372 kB / 0.4921 GB, free: 42.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3724, allocations: 0 / 0.4921 GB, free: 42.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.3728, allocations: 120.3 kB / 0.4922 GB, free: 42.09 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.3731, allocations: 151 kB / 0.4923 GB, free: 42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.374, allocations: 0.5385 MB / 0.4928 GB, free: 41.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.374, allocations: 1.281 kB / 0.4928 GB, free: 41.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.3745, allocations: 400 kB / 0.4932 GB, free: 41.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.3752, allocations: 99.05 kB / 0.4933 GB, free: 41.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3767, allocations: 0.9064 MB / 0.4942 GB, free: 41.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.377, allocations: 0.8412 MB / 0.495 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.3771, allocations: 27.11 kB / 0.495 GB, free: 40.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3771, allocations: 5.156 kB / 0.4951 GB, free: 40.33 MB / 378.7 MB Notification: Performance of Templates: time 0.01007/0.3872, allocations: 6.906 MB / 0.5018 GB, free: 39.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches