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.001155/0.001155, allocations: 114.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 77.81 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1366, allocations: 62.45 MB / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003408/0.1401, allocations: 1.969 MB / 482.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1421, allocations: 1.168 MB / 483.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1423, allocations: 0 / 483.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1427, allocations: 39.75 kB / 483.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1429, allocations: 63.66 kB / 483.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000661/0.1436, allocations: 154.9 kB / 483.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.1439, allocations: 227 kB / 483.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.289e-05/0.144, allocations: 25.67 kB / 483.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.1443, allocations: 87.52 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.1445, allocations: 115.5 kB / 484 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1445, allocations: 8 kB / 484 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.1449, allocations: 255.6 kB / 484.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.527e-05/0.145, allocations: 59.75 kB / 484.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1451, allocations: 83.42 kB / 484.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.1455, allocations: 223.6 kB / 484.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1455, allocations: 0 / 484.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1455, allocations: 4 kB / 484.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1455, allocations: 4 kB / 484.6 MB, free: 1.133 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.001048/0.1466, allocations: 0.5414 MB / 485.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1466, allocations: 15.97 kB / 485.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.147, allocations: 60.61 kB / 485.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1473, allocations: 236.6 kB / 485.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1473, allocations: 12.38 kB / 485.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1474, allocations: 20.11 kB / 485.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.1479, allocations: 269.7 kB / 485.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.148, allocations: 3.984 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.148, allocations: 4 kB / 485.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.148, allocations: 16 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.1485, allocations: 227.5 kB / 486 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.1496, allocations: 0.7695 MB / 486.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.1502, allocations: 227.7 kB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.1505, allocations: 102.5 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.1505, allocations: 7.984 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1506, allocations: 34.56 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.1506, allocations: 0 / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009217/0.1515, allocations: 321.1 kB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.1516, allocations: 102.8 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.1519, allocations: 290.8 kB / 487.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1519, allocations: 25.7 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.152, allocations: 136 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1521, allocations: 47.27 kB / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.1522, allocations: 41.69 kB / 488.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1523, allocations: 330.8 kB / 488.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1525, allocations: 83.91 kB / 488.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.1528, allocations: 129 kB / 488.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.1533, allocations: 216.9 kB / 488.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1533, allocations: 4 kB / 488.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006101/0.1539, allocations: 265 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.154, allocations: 11.94 kB / 489.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.154, allocations: 11.98 kB / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.154, allocations: 0 / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1542, allocations: 40.09 kB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1542, allocations: 4.156 kB / 489.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.1544, allocations: 39.69 kB / 489.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1545, allocations: 8 kB / 489.2 MB, free: 12.23 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.0001494/0.1546, allocations: 141.8 kB / 489.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.1547, allocations: 27.66 kB / 489.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.1552, allocations: 231.4 kB / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1552, allocations: 4 kB / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1553, allocations: 3.938 kB / 489.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1553, allocations: 4 kB / 489.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1557, allocations: 269.4 kB / 489.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.1557, allocations: 8 kB / 489.9 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1559, allocations: 31.95 kB / 489.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1559, allocations: 3.938 kB / 489.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.1559, allocations: 8 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1559, allocations: 7.938 kB / 489.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.156, allocations: 4 kB / 489.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/0.1566, allocations: 477.7 kB / 490.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.1567, allocations: 104.8 kB / 490.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.1567, allocations: 7.938 kB / 490.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.157, allocations: 19.97 kB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.1571, allocations: 11.98 kB / 490.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1571, allocations: 4 kB / 490.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1573, allocations: 205.9 kB / 490.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1573, allocations: 3.938 kB / 490.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004716/0.1578, allocations: 83.92 kB / 490.8 MB, free: 10.5 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.0003357/0.1581, allocations: 147.2 kB / 491 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.1588, allocations: 296.8 kB / 491.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1588, allocations: 192 / 491.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.1591, allocations: 193.3 kB / 491.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.1597, allocations: 40.52 kB / 491.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009442/0.1607, allocations: 0.5586 MB / 492.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.161, allocations: 0.7554 MB / 492.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1611, allocations: 23.42 kB / 492.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1611, allocations: 0 / 492.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of Templates: time 0.006967/0.1681, allocations: 3.897 MB / 496.7 MB, free: 4.512 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/jenkins1/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/jenkins1/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