Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_KC,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.|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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009494/0.0009494, allocations: 97.72 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 191.1 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 8 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1469, allocations: 63.57 MB / 482.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002076/0.149, allocations: 1.564 MB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1502, allocations: 0.764 MB / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.1503, allocations: 0 / 484.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.1505, allocations: 47.8 kB / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1508, allocations: 83.62 kB / 484.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.151, allocations: 59.81 kB / 484.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.1514, allocations: 310.6 kB / 485.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.1515, allocations: 32.39 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1516, allocations: 103.5 kB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1518, allocations: 123.5 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1518, allocations: 4 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1521, allocations: 111.8 kB / 485.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.1521, allocations: 67.72 kB / 485.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.1522, allocations: 65.58 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1525, allocations: 211.7 kB / 486 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1525, allocations: 3.938 kB / 486 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1525, allocations: 0 / 486 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1525, allocations: 0 / 486 MB, free: 0.9297 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006878/0.1532, allocations: 0.5145 MB / 486.5 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1532, allocations: 12.03 kB / 486.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.1533, allocations: 31.56 kB / 486.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1535, allocations: 230.6 kB / 486.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1535, allocations: 20.56 kB / 486.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.237e-05/0.1536, allocations: 23.98 kB / 486.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.1542, allocations: 381.2 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1542, allocations: 0 / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.1543, allocations: 15.98 kB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.1543, allocations: 28.62 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.1549, allocations: 386.3 kB / 487.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1561, allocations: 0.8307 MB / 488.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.1566, allocations: 268.5 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.1568, allocations: 104.8 kB / 488.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.1568, allocations: 4 kB / 488.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1569, allocations: 30.56 kB / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.1569, allocations: 0 / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007132/0.1576, allocations: 353.2 kB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1576, allocations: 51.41 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.158, allocations: 334.9 kB / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.158, allocations: 33.7 kB / 489.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1581, allocations: 168 kB / 489.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.1582, allocations: 59.19 kB / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.1582, allocations: 8 kB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1584, allocations: 338.8 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1586, allocations: 100.4 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.1588, allocations: 197.5 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.1591, allocations: 138.2 kB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1591, allocations: 8 kB / 490.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000587/0.1597, allocations: 353 kB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1597, allocations: 10.34 kB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1598, allocations: 0 / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1598, allocations: 11.98 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.1604, allocations: 123.9 kB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.1623, allocations: 3.649 MB / 494.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1625, allocations: 47.52 kB / 494.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1625, allocations: 20 kB / 494.8 MB, free: 7.738 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.1628, allocations: 173.9 kB / 494.9 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.1628, allocations: 35.58 kB / 495 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.1635, allocations: 335.6 kB / 495.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1635, allocations: 4 kB / 495.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1635, allocations: 0 / 495.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1635, allocations: 0 / 495.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.1639, allocations: 301.3 kB / 495.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1639, allocations: 0 / 495.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.1643, allocations: 111.9 kB / 495.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1643, allocations: 7.891 kB / 495.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1644, allocations: 4 kB / 495.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.1662, allocations: 3.649 MB / 499.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1663, allocations: 8.219 kB / 499.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.1668, allocations: 349.7 kB / 499.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.1669, allocations: 112.7 kB / 499.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.1669, allocations: 7.953 kB / 499.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.1671, allocations: 15.98 kB / 499.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.1671, allocations: 11.98 kB / 499.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1672, allocations: 8 kB / 499.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002359/0.1674, allocations: 241.9 kB / 0.4884 GB, free: 2.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 0.4884 GB, free: 2.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1678, allocations: 72 kB / 0.4884 GB, free: 2.086 MB / 366.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002383/0.168, allocations: 135.6 kB / 0.4886 GB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008436/0.1689, allocations: 331.9 kB / 0.4889 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1689, allocations: 0 / 0.4889 GB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.1694, allocations: 196.2 kB / 0.4891 GB, free: 1.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1698, allocations: 64.78 kB / 0.4891 GB, free: 1.363 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.1708, allocations: 0.6363 MB / 0.4898 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1712, allocations: 0.7912 MB / 0.4905 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.1714, allocations: 82.88 kB / 0.4906 GB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.1715, allocations: 27.42 kB / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1715, allocations: 0 / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of Templates: time 0.008989/0.1805, allocations: 4.926 MB / 0.4954 GB, free: 10.93 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches