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.001224/0.001224, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.77 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1422, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003594/0.1459, allocations: 1.918 MB / 483.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1476, allocations: 1.168 MB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.1477, allocations: 4 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.148, allocations: 47.67 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1482, allocations: 59.61 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.1487, allocations: 186.9 kB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.149, allocations: 227 kB / 485.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.509e-05/0.1491, allocations: 25.67 kB / 485.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1493, allocations: 91.56 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1495, allocations: 111.5 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1495, allocations: 8 kB / 485.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1499, allocations: 251.6 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.15, allocations: 55.75 kB / 485.6 MB, free: 372 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.1501, allocations: 91.45 kB / 485.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.1506, allocations: 342.9 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1506, allocations: 0 / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1506, allocations: 0 / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1506, allocations: 0 / 486 MB, free: 15.93 MB / 366.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.0009887/0.1516, allocations: 0.5413 MB / 486.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1516, allocations: 8.031 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.152, allocations: 60.61 kB / 486.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.1524, allocations: 244.5 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1524, allocations: 16.36 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1524, allocations: 16.12 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.1529, allocations: 285.6 kB / 487.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.153, allocations: 0 / 487.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.153, allocations: 4 kB / 487.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.153, allocations: 8 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005116/0.1535, allocations: 231.5 kB / 487.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1546, allocations: 0.7617 MB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.1551, allocations: 231.7 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.1554, allocations: 102.5 kB / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1554, allocations: 0 / 488.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1555, allocations: 50.58 kB / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1555, allocations: 0 / 488.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009102/0.1564, allocations: 305.1 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.1565, allocations: 111 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.1568, allocations: 282.6 kB / 489.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1568, allocations: 29.75 kB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1569, allocations: 143.9 kB / 489.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.157, allocations: 55.25 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.1571, allocations: 37.7 kB / 489.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1572, allocations: 334.8 kB / 489.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1574, allocations: 79.92 kB / 489.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.1577, allocations: 129 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.1582, allocations: 220.9 kB / 490.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1582, allocations: 0 / 490.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005774/0.1588, allocations: 265.1 kB / 490.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1588, allocations: 7.938 kB / 490.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.1589, allocations: 8 kB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1589, allocations: 4 kB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.1591, allocations: 32.12 kB / 490.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1591, allocations: 4 kB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1593, allocations: 39.75 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1593, allocations: 7.938 kB / 490.6 MB, free: 11.04 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.000152/0.1595, allocations: 149.8 kB / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.1596, allocations: 31.59 kB / 490.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.16, allocations: 227.5 kB / 491 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.16, allocations: 7.984 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1601, allocations: 0 / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1601, allocations: 3.984 kB / 491 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.1604, allocations: 269.4 kB / 491.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.1605, allocations: 8 kB / 491.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.1606, allocations: 27.97 kB / 491.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1607, allocations: 3.938 kB / 491.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.1607, allocations: 8 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1607, allocations: 4 kB / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1607, allocations: 0 / 491.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.1613, allocations: 485.6 kB / 491.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.1614, allocations: 104.7 kB / 491.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1614, allocations: 11.92 kB / 491.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.1617, allocations: 15.98 kB / 491.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.1618, allocations: 15.98 kB / 492 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1618, allocations: 4 kB / 492 MB, free: 9.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.162, allocations: 210 kB / 492.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.162, allocations: 3.938 kB / 492.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.1624, allocations: 75.94 kB / 492.2 MB, free: 9.305 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.0002719/0.1627, allocations: 155.1 kB / 492.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.1633, allocations: 280.9 kB / 492.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1633, allocations: 4 kB / 492.7 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.1636, allocations: 181.3 kB / 492.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.1642, allocations: 40.53 kB / 492.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009164/0.1651, allocations: 482.3 kB / 493.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1655, allocations: 0.7593 MB / 494.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1656, allocations: 45.88 kB / 494.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.1656, allocations: 15.44 kB / 494.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1656, allocations: 0 / 494.2 MB, free: 7.262 MB / 366.1 MB Notification: Performance of Templates: time 0.007578/0.1732, allocations: 3.941 MB / 498.1 MB, free: 3.375 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 -s cvode -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