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.002215/0.002215, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002615/0.002615, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 87.31 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1382, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00392/0.1422, allocations: 2.029 MB / 482.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1441, allocations: 1.153 MB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.262e-05/0.1442, allocations: 4 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1445, allocations: 51.67 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1447, allocations: 79.47 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.1453, allocations: 191.1 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.1457, allocations: 318.6 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.1458, allocations: 32.72 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.146, allocations: 115.4 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1463, allocations: 151.2 kB / 484.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.1463, allocations: 8 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.1467, allocations: 215.7 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1468, allocations: 71.67 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.147, allocations: 127.1 kB / 484.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.1475, allocations: 402.8 kB / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1475, allocations: 0 / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1475, allocations: 0 / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1475, allocations: 0 / 485 MB, free: 252 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.001183/0.1487, allocations: 0.6198 MB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1488, allocations: 12.03 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.1492, allocations: 68.52 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1495, allocations: 267.6 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.1496, allocations: 24.48 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.1496, allocations: 28 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.1504, allocations: 425.9 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1504, allocations: 0 / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.1504, allocations: 12 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.1505, allocations: 12.56 kB / 486.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007233/0.1512, allocations: 325.9 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1529, allocations: 1.108 MB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.1534, allocations: 235.7 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.1537, allocations: 110.5 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.1537, allocations: 4 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.534e-05/0.1538, allocations: 42.5 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1538, allocations: 0 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001048/0.1549, allocations: 356.9 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.155, allocations: 106.8 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.1555, allocations: 417.3 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1555, allocations: 29.95 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1557, allocations: 195.7 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.1557, allocations: 47.36 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1559, allocations: 61.84 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1561, allocations: 342.8 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.1564, allocations: 120.1 kB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.1568, allocations: 227.8 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.1575, allocations: 375 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1575, allocations: 0 / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008663/0.1584, allocations: 400.6 kB / 490.9 MB, free: 9.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1584, allocations: 4.531 kB / 490.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/0.1585, allocations: 32 kB / 491 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1585, allocations: 4 kB / 491 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.1588, allocations: 51.88 kB / 491 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.1588, allocations: 15.88 kB / 491 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.1591, allocations: 55.5 kB / 491.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.1591, allocations: 16 kB / 491.1 MB, free: 9.793 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.0001865/0.1593, allocations: 177 kB / 491.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.1594, allocations: 35.62 kB / 491.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006135/0.16, allocations: 288.2 kB / 491.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.16, allocations: 0 / 491.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.16, allocations: 7.938 kB / 491.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.16, allocations: 7.938 kB / 491.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.1605, allocations: 305.4 kB / 491.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.1606, allocations: 20 kB / 491.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1607, allocations: 23.97 kB / 491.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1607, allocations: 0 / 491.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1608, allocations: 15.98 kB / 492 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1608, allocations: 4 kB / 492 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1608, allocations: 3.938 kB / 492 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.1616, allocations: 0.4975 MB / 492.5 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1617, allocations: 108.7 kB / 492.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.1618, allocations: 4 kB / 492.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.162, allocations: 19.98 kB / 492.6 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.1621, allocations: 19.92 kB / 492.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1622, allocations: 7.984 kB / 492.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003555/0.1625, allocations: 291.1 kB / 492.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1625, allocations: 0 / 492.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005713/0.1631, allocations: 95.94 kB / 493 MB, free: 7.789 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.0003384/0.1634, allocations: 151.2 kB / 493.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008662/0.1643, allocations: 445.8 kB / 493.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1643, allocations: 0 / 493.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.1647, allocations: 275 kB / 493.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.1654, allocations: 73.91 kB / 493.9 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.1666, allocations: 0.6121 MB / 494.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.1671, allocations: 0.8026 MB / 495.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.1673, allocations: 62.92 kB / 495.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.1674, allocations: 23.42 kB / 495.4 MB, free: 5.223 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1674, allocations: 7.938 kB / 495.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of Templates: time 0.01183/0.1792, allocations: 5.739 MB / 0.4894 GB, free: 15.55 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/jenkins/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/jenkins/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