Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001976/0.001976, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002208/0.002208, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.11 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 74.8 kB / 418.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1218, allocations: 62.46 MB / 480.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003633/0.1255, allocations: 2.021 MB / 482.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1272, allocations: 0.9385 MB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.1273, allocations: 0 / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.1276, allocations: 63.59 kB / 483.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.128, allocations: 115.4 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1282, allocations: 95.66 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1287, allocations: 386.1 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.1288, allocations: 40.72 kB / 484.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.1291, allocations: 155.2 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.1294, allocations: 183.1 kB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1294, allocations: 12 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.1298, allocations: 155.8 kB / 484.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1299, allocations: 95.53 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.1301, allocations: 150.9 kB / 485.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.1307, allocations: 434.6 kB / 485.6 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1307, allocations: 0 / 485.6 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1307, allocations: 3.938 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.026e-06/0.1307, allocations: 0 / 485.6 MB, free: 344 kB / 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.001222/0.1319, allocations: 0.6552 MB / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.132, allocations: 12.03 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.1321, allocations: 40.47 kB / 486.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.1325, allocations: 279.6 kB / 486.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.1325, allocations: 29.38 kB / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.1326, allocations: 40.36 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.1336, allocations: 0.5571 MB / 487.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1336, allocations: 4 kB / 487.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1336, allocations: 12 kB / 487.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.51e-05/0.1337, allocations: 40.97 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1347, allocations: 0.5737 MB / 487.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.1366, allocations: 1.171 MB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.1373, allocations: 386.2 kB / 489.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.1376, allocations: 128.9 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.1377, allocations: 11.92 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1377, allocations: 34.56 kB / 489.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.1377, allocations: 0 / 489.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.1388, allocations: 468.3 kB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1388, allocations: 51.41 kB / 490.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.1394, allocations: 457.6 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1394, allocations: 25.7 kB / 490.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1396, allocations: 192.3 kB / 490.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.1397, allocations: 74.89 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1398, allocations: 57.64 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.14, allocations: 354.7 kB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1402, allocations: 115.9 kB / 491.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1405, allocations: 119.9 kB / 491.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.141, allocations: 264.6 kB / 491.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1411, allocations: 0 / 491.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007068/0.1418, allocations: 340.6 kB / 492 MB, free: 9.691 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1418, allocations: 8 kB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1418, allocations: 3.938 kB / 492 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1418, allocations: 0 / 492 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.1426, allocations: 159.8 kB / 492.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/0.1463, allocations: 5.516 MB / 497.7 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.1466, allocations: 47.39 kB / 497.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.1466, allocations: 12 kB / 497.8 MB, free: 3.738 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.0002368/0.1469, allocations: 193.6 kB / 498 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.1469, allocations: 31.62 kB / 498 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/0.1479, allocations: 468.4 kB / 498.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1479, allocations: 4 kB / 498.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1479, allocations: 0 / 498.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1479, allocations: 0 / 498.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1485, allocations: 377.2 kB / 498.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1485, allocations: 0 / 498.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/0.1492, allocations: 155.9 kB / 499 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1492, allocations: 4 kB / 499 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.1492, allocations: 12 kB / 499 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/0.1529, allocations: 5.512 MB / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1529, allocations: 3.938 kB / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.1537, allocations: 447.1 kB / 0.4931 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1538, allocations: 112.6 kB / 0.4932 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.1539, allocations: 8 kB / 0.4932 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1541, allocations: 7.984 kB / 0.4932 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.1542, allocations: 23.91 kB / 0.4932 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.1542, allocations: 12 kB / 0.4933 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.1546, allocations: 343.1 kB / 0.4936 GB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.1546, allocations: 0 / 0.4936 GB, free: 11.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.1551, allocations: 103.9 kB / 0.4937 GB, free: 11.66 MB / 382.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.0002887/0.1554, allocations: 139.1 kB / 0.4938 GB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1567, allocations: 436.7 kB / 0.4942 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1567, allocations: 0 / 0.4942 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.1576, allocations: 290.6 kB / 0.4945 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.1581, allocations: 85.39 kB / 0.4946 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1595, allocations: 0.8032 MB / 0.4954 GB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.16, allocations: 0.8581 MB / 0.4962 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1601, allocations: 35.42 kB / 0.4962 GB, free: 8.961 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1602, allocations: 0 / 0.4962 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Templates: time 0.1976/0.3578, allocations: 19.18 MB / 0.515 GB, free: 40.77 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches