Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2806/0.2806, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 79.84 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1443, allocations: 62.44 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003538/0.1479, allocations: 1.968 MB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1498, allocations: 1.172 MB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1499, allocations: 0 / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.1502, allocations: 55.73 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1504, allocations: 51.73 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.1509, allocations: 170.1 kB / 482.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.1512, allocations: 306.9 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.1513, allocations: 17.67 kB / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1515, allocations: 91.58 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1516, allocations: 111.5 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1517, allocations: 8 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1521, allocations: 243.6 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.1521, allocations: 59.73 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.1522, allocations: 83.47 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.1527, allocations: 331.1 kB / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1527, allocations: 0 / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1527, allocations: 0 / 483.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1527, allocations: 0 / 483.9 MB, free: 1.062 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001011/0.1537, allocations: 0.5493 MB / 484.5 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1538, allocations: 8.031 kB / 484.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003773/0.1542, allocations: 56.61 kB / 484.6 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1544, allocations: 244.6 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1545, allocations: 16.31 kB / 484.8 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1545, allocations: 24.06 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.1551, allocations: 277.6 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1551, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1551, allocations: 8 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.1551, allocations: 8 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.1557, allocations: 227.5 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1568, allocations: 0.7656 MB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.1574, allocations: 231.7 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1577, allocations: 98.5 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.1577, allocations: 7.984 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1577, allocations: 42.58 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1577, allocations: 4 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008811/0.1586, allocations: 309.5 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1587, allocations: 106.8 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.159, allocations: 282.8 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.159, allocations: 29.7 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1591, allocations: 143.9 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1592, allocations: 47.27 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.1592, allocations: 37.81 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1594, allocations: 338.8 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.1596, allocations: 79.92 kB / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.1599, allocations: 129 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.1604, allocations: 228.9 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1604, allocations: 0 / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006261/0.1611, allocations: 265 kB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1611, allocations: 7.938 kB / 488.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.1611, allocations: 12 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1612, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1614, allocations: 27.97 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1614, allocations: 4 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1616, allocations: 39.91 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1616, allocations: 8 kB / 488.5 MB, free: 12.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001466/0.1617, allocations: 149.7 kB / 488.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.1618, allocations: 23.66 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.1623, allocations: 223.3 kB / 488.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1623, allocations: 7.938 kB / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1623, allocations: 4 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1623, allocations: 3.984 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.1627, allocations: 269.4 kB / 489.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.1628, allocations: 8 kB / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1629, allocations: 27.97 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.1629, allocations: 11.92 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.163, allocations: 0 / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.163, allocations: 4 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.163, allocations: 0 / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.1636, allocations: 489.6 kB / 489.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1637, allocations: 100.8 kB / 489.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.1638, allocations: 11.92 kB / 489.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.164, allocations: 15.98 kB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.1641, allocations: 19.92 kB / 489.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1641, allocations: 7.984 kB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1643, allocations: 201.9 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1643, allocations: 0 / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.1648, allocations: 75.94 kB / 490.2 MB, free: 10.43 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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002829/0.1651, allocations: 159.2 kB / 490.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.1657, allocations: 276.8 kB / 490.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1657, allocations: 0 / 490.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.1661, allocations: 185 kB / 490.8 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.1666, allocations: 49.31 kB / 490.8 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.1675, allocations: 0.5313 MB / 491.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1678, allocations: 0.7557 MB / 492.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1679, allocations: 45.5 kB / 492.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.168, allocations: 15.44 kB / 492.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.168, allocations: 0 / 492.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of Templates: time 0.007115/0.1751, allocations: 3.7 MB / 495.9 MB, free: 4.676 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches