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.001053/0.001053, allocations: 99.3 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 201.3 kB / 17.9 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 417.9 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 63.47 MB / 481.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.00266/0.1311, allocations: 1.545 MB / 483 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.133, allocations: 1.01 MB / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.024e-05/0.1331, allocations: 0 / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1333, allocations: 47.75 kB / 484 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1335, allocations: 39.84 kB / 484.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.1339, allocations: 143.6 kB / 484.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.1341, allocations: 135.7 kB / 484.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.179e-05/0.1342, allocations: 17.67 kB / 484.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1344, allocations: 79.69 kB / 484.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1345, allocations: 83.67 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1345, allocations: 4 kB / 484.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.135, allocations: 255.6 kB / 484.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.1351, allocations: 47.81 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.1351, allocations: 57.58 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1354, allocations: 191.8 kB / 485.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1354, allocations: 0 / 485.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1354, allocations: 0 / 485.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1354, allocations: 0 / 485.1 MB, free: 1.723 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.000901/0.1364, allocations: 0.5374 MB / 485.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.1364, allocations: 8.031 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.1368, allocations: 67.67 kB / 485.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.1371, allocations: 231.2 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1371, allocations: 15.94 kB / 485.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.1371, allocations: 15.98 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.1377, allocations: 288.5 kB / 486.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1377, allocations: 3.984 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1377, allocations: 11.94 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.1377, allocations: 15.75 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.1383, allocations: 251.7 kB / 486.5 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1394, allocations: 0.7773 MB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.14, allocations: 251.7 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.14, allocations: 3.953 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.14, allocations: 42.59 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.14, allocations: 0 / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001112/0.1412, allocations: 0.567 MB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.1412, allocations: 110.8 kB / 488.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1415, allocations: 278.6 kB / 488.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1415, allocations: 25.7 kB / 488.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.1416, allocations: 143.9 kB / 488.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.1417, allocations: 43.36 kB / 488.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.1417, allocations: 4 kB / 488.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1418, allocations: 330.8 kB / 489 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.1421, allocations: 99.91 kB / 489.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.1424, allocations: 137.2 kB / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.1427, allocations: 111.8 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1427, allocations: 7.938 kB / 489.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006342/0.1433, allocations: 281.1 kB / 489.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1434, allocations: 7.953 kB / 489.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.1434, allocations: 12.14 kB / 489.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1434, allocations: 8 kB / 489.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1436, allocations: 35.97 kB / 489.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1436, allocations: 0 / 489.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1439, allocations: 43.75 kB / 489.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1439, allocations: 12 kB / 489.8 MB, free: 12.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.144, allocations: 148.2 kB / 489.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.1441, allocations: 27.7 kB / 489.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.1446, allocations: 247.1 kB / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1446, allocations: 0 / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1447, allocations: 4 kB / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1447, allocations: 0 / 490.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.1451, allocations: 265.4 kB / 490.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.1451, allocations: 11.98 kB / 490.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1453, allocations: 35.97 kB / 490.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1453, allocations: 4 kB / 490.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1453, allocations: 4 kB / 490.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1453, allocations: 3.953 kB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1453, allocations: 0 / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007027/0.146, allocations: 0.5209 MB / 491 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1462, allocations: 108.7 kB / 491.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.1462, allocations: 0 / 491.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1465, allocations: 23.98 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1465, allocations: 15.97 kB / 491.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1466, allocations: 8 kB / 491.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.1468, allocations: 201.9 kB / 491.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1468, allocations: 0 / 491.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000439/0.1472, allocations: 79.92 kB / 491.5 MB, free: 10.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002579/0.1475, allocations: 155.2 kB / 491.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.1481, allocations: 308.7 kB / 491.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1482, allocations: 0 / 491.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.1485, allocations: 201.5 kB / 492.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1489, allocations: 44.47 kB / 492.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.1497, allocations: 0.5235 MB / 492.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1501, allocations: 0.7674 MB / 493.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.1502, allocations: 37.52 kB / 493.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.1503, allocations: 19.44 kB / 493.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1503, allocations: 0 / 493.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of Templates: time 0.006952/0.1573, allocations: 3.523 MB / 497 MB, free: 5.254 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches