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.001574/0.001574, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.12 MB / 344.2 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 85.31 kB / 417.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 62.46 MB / 480.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003721/0.1272, allocations: 2.017 MB / 482.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1288, allocations: 0.9385 MB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.129, allocations: 4 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1294, allocations: 55.66 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.1298, allocations: 123.4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1302, allocations: 87.66 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.1307, allocations: 382.2 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1308, allocations: 44.72 kB / 483.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.1311, allocations: 155.2 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1314, allocations: 187.1 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.1315, allocations: 8 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.1318, allocations: 155.7 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.132, allocations: 95.52 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1322, allocations: 158.9 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.1328, allocations: 438.5 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1328, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1328, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.1328, allocations: 0 / 484.9 MB, free: 420 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.001167/0.134, allocations: 0.6513 MB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.134, allocations: 12.03 kB / 485.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1341, allocations: 36.47 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.1345, allocations: 283.6 kB / 485.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1345, allocations: 29.38 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.1346, allocations: 36.36 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.1355, allocations: 0.5688 MB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1355, allocations: 0 / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1355, allocations: 12 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.1356, allocations: 40.98 kB / 486.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1367, allocations: 0.5698 MB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.1385, allocations: 1.175 MB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.1391, allocations: 374.2 kB / 488.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.1394, allocations: 132.9 kB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.1395, allocations: 15.92 kB / 488.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1395, allocations: 38.58 kB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.1395, allocations: 0 / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001002/0.1405, allocations: 464.3 kB / 489.3 MB, free: 11.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1406, allocations: 55.41 kB / 489.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.1411, allocations: 453.6 kB / 489.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1412, allocations: 33.7 kB / 489.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1413, allocations: 188.3 kB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.1414, allocations: 78.89 kB / 490.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.1415, allocations: 45.7 kB / 490.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1417, allocations: 358.7 kB / 490.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1419, allocations: 115.9 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.1422, allocations: 119.9 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.1427, allocations: 264.6 kB / 491 MB, free: 10.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1427, allocations: 0 / 491 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007089/0.1435, allocations: 344.4 kB / 491.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1435, allocations: 8 kB / 491.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1435, allocations: 7.875 kB / 491.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1435, allocations: 0 / 491.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.1442, allocations: 155.9 kB / 491.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.1476, allocations: 5.516 MB / 497 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1479, allocations: 51.39 kB / 497.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.1479, allocations: 8 kB / 497.1 MB, free: 3.812 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.000262/0.1482, allocations: 197.6 kB / 497.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.1483, allocations: 31.62 kB / 497.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009424/0.1492, allocations: 456.5 kB / 497.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1493, allocations: 4 kB / 497.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1493, allocations: 3.984 kB / 497.8 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1493, allocations: 0 / 497.8 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.1498, allocations: 373.2 kB / 498.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1499, allocations: 0 / 498.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.1505, allocations: 155.9 kB / 498.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1505, allocations: 0 / 498.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.1506, allocations: 19.98 kB / 498.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/0.1538, allocations: 5.508 MB / 0.492 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1539, allocations: 4.219 kB / 0.492 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.1545, allocations: 447.9 kB / 0.4924 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1547, allocations: 116.6 kB / 0.4925 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.1547, allocations: 8 kB / 0.4925 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1549, allocations: 15.98 kB / 0.4926 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.155, allocations: 19.91 kB / 0.4926 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.1551, allocations: 12 kB / 0.4926 GB, free: 12.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.1554, allocations: 339.1 kB / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 0.4929 GB, free: 11.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004387/0.1559, allocations: 107.9 kB / 0.493 GB, free: 11.73 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.0003066/0.1562, allocations: 139.1 kB / 0.4932 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.1574, allocations: 438.5 kB / 0.4936 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1574, allocations: 0 / 0.4936 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008114/0.1583, allocations: 279.7 kB / 0.4938 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.1588, allocations: 92.19 kB / 0.4939 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1602, allocations: 0.7897 MB / 0.4947 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.1607, allocations: 0.8504 MB / 0.4955 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.1609, allocations: 91.2 kB / 0.4956 GB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.161, allocations: 31.42 kB / 0.4956 GB, free: 8.984 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.161, allocations: 0 / 0.4956 GB, free: 8.984 MB / 382.1 MB Notification: Performance of Templates: time 0.01265/0.1737, allocations: 7.308 MB / 0.5028 GB, free: 1.766 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/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","/var/lib/jenkins/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