Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 344.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002202, allocations: 76.08 kB / 418.3 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1211, allocations: 62.46 MB / 480.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003739/0.1248, allocations: 2.028 MB / 482.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1269, allocations: 1.149 MB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.127, allocations: 4 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.1273, allocations: 59.61 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1275, allocations: 79.5 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.1281, allocations: 179.3 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.1285, allocations: 318.6 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.731e-05/0.1286, allocations: 36.73 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1289, allocations: 131.3 kB / 484.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1291, allocations: 135.3 kB / 484.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1291, allocations: 12 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.1296, allocations: 207.7 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.1297, allocations: 75.67 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.1298, allocations: 131.1 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.1304, allocations: 394.8 kB / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1304, allocations: 0 / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1304, allocations: 0 / 485.7 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.1304, allocations: 0 / 485.7 MB, free: 292 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001212/0.1317, allocations: 0.6198 MB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1317, allocations: 16.03 kB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.1321, allocations: 64.52 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1325, allocations: 263.7 kB / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1325, allocations: 24.44 kB / 486.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.1326, allocations: 28 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.1333, allocations: 425.9 kB / 487.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1334, allocations: 3.938 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.1334, allocations: 12 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.1334, allocations: 20.55 kB / 487.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.1342, allocations: 325.9 kB / 487.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1358, allocations: 1.1 MB / 488.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.1363, allocations: 243.7 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.1367, allocations: 114.5 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.1367, allocations: 3.938 kB / 488.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1367, allocations: 34.56 kB / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.386e-06/0.1368, allocations: 0 / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.00112/0.1379, allocations: 353.1 kB / 489.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.138, allocations: 110.8 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.1385, allocations: 413.4 kB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1385, allocations: 25.7 kB / 489.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.1387, allocations: 191.9 kB / 490 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.1388, allocations: 55.34 kB / 490.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1389, allocations: 61.84 kB / 490.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1391, allocations: 346.8 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.1394, allocations: 116.1 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.1398, allocations: 231.8 kB / 490.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/0.1406, allocations: 375.3 kB / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1406, allocations: 0 / 491.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009001/0.1415, allocations: 408.5 kB / 491.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1415, allocations: 4 kB / 491.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/0.1416, allocations: 24 kB / 491.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.1416, allocations: 4.531 kB / 491.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1419, allocations: 51.89 kB / 491.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.1419, allocations: 11.94 kB / 491.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.1422, allocations: 55.5 kB / 491.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.1422, allocations: 19.98 kB / 491.8 MB, free: 9.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002144/0.1424, allocations: 184.7 kB / 491.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-05/0.1425, allocations: 27.62 kB / 492 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006539/0.1432, allocations: 284.2 kB / 492.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.1432, allocations: 4 kB / 492.2 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.1432, allocations: 11.88 kB / 492.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1432, allocations: 0 / 492.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.1438, allocations: 301.4 kB / 492.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.852e-05/0.1438, allocations: 27.98 kB / 492.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.144, allocations: 23.97 kB / 492.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.144, allocations: 0 / 492.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.144, allocations: 8 kB / 492.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.144, allocations: 4 kB / 492.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.144, allocations: 3.938 kB / 492.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.1448, allocations: 0.4975 MB / 493.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1449, allocations: 112.7 kB / 493.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.145, allocations: 0 / 493.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1453, allocations: 15.98 kB / 493.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.1453, allocations: 27.91 kB / 493.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1454, allocations: 8 kB / 493.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003489/0.1457, allocations: 287.1 kB / 493.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1457, allocations: 0 / 493.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006151/0.1464, allocations: 103.9 kB / 493.7 MB, free: 7.824 MB / 366.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003146/0.1467, allocations: 155.1 kB / 493.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.1477, allocations: 441.7 kB / 494.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1477, allocations: 0 / 494.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.1481, allocations: 274 kB / 494.5 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.1487, allocations: 78.34 kB / 494.6 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.15, allocations: 0.6333 MB / 495.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.1505, allocations: 0.7909 MB / 496 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.1506, allocations: 31.42 kB / 496 MB, free: 5.297 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1506, allocations: 0 / 496 MB, free: 5.297 MB / 366.1 MB Notification: Performance of Templates: time 0.009208/0.1598, allocations: 5.569 MB / 0.4898 GB, free: 15.75 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches