Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001522, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 242.5 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 44.18 MB / 336.8 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 64.91 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.003746/0.1393, allocations: 1.957 MB / 471.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1413, allocations: 1.083 MB / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1414, allocations: 0 / 472.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1418, allocations: 55.75 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1421, allocations: 55.66 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.1427, allocations: 139.6 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.1431, allocations: 310.9 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.844e-05/0.1432, allocations: 13.69 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1434, allocations: 91.52 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1436, allocations: 107.5 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.1436, allocations: 8 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.1441, allocations: 231.6 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.1442, allocations: 59.73 kB / 473.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1443, allocations: 87.41 kB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.1446, allocations: 199.7 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1447, allocations: 3.984 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1447, allocations: 0 / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1447, allocations: 0 / 473.6 MB, free: 10.4 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.001147/0.1458, allocations: 0.5532 MB / 474.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1459, allocations: 11.97 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.146, allocations: 28.64 kB / 474.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1462, allocations: 228.4 kB / 474.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1462, allocations: 12.31 kB / 474.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1463, allocations: 24.06 kB / 474.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.1469, allocations: 284.3 kB / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1469, allocations: 0 / 474.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.1469, allocations: 4 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.147, allocations: 11.98 kB / 474.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1476, allocations: 231.7 kB / 474.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.1488, allocations: 0.7656 MB / 475.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.1494, allocations: 223.7 kB / 475.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1496, allocations: 106.5 kB / 476 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.1497, allocations: 4.031 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1497, allocations: 38.56 kB / 476.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1497, allocations: 0 / 476.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000974/0.1507, allocations: 313.2 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1508, allocations: 110.7 kB / 476.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1511, allocations: 274.6 kB / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1511, allocations: 25.7 kB / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1513, allocations: 143.9 kB / 476.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.1513, allocations: 47.42 kB / 477 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.1514, allocations: 37.81 kB / 477 MB, free: 6.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1515, allocations: 338.8 kB / 477.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.1518, allocations: 83.91 kB / 477.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.1521, allocations: 130.7 kB / 477.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.1526, allocations: 224.9 kB / 477.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1526, allocations: 0 / 477.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006151/0.1533, allocations: 257.4 kB / 478 MB, free: 5.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1533, allocations: 11.94 kB / 478 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.1533, allocations: 12 kB / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1533, allocations: 0 / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.1536, allocations: 35.95 kB / 478.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1536, allocations: 3.938 kB / 478.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1538, allocations: 35.73 kB / 478.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1538, allocations: 11.98 kB / 478.1 MB, free: 5.535 MB / 350.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.154, allocations: 150.1 kB / 478.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.154, allocations: 23.66 kB / 478.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.1545, allocations: 227.1 kB / 478.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1546, allocations: 3.984 kB / 478.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1546, allocations: 0 / 478.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1546, allocations: 4 kB / 478.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.155, allocations: 273.4 kB / 478.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.155, allocations: 12 kB / 478.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1552, allocations: 27.97 kB / 478.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1552, allocations: 3.938 kB / 478.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1552, allocations: 4 kB / 478.8 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.1552, allocations: 7.969 kB / 478.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1552, allocations: 4 kB / 478.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.1559, allocations: 473.7 kB / 479.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.156, allocations: 112.7 kB / 479.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.156, allocations: 3.938 kB / 479.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.1563, allocations: 19.98 kB / 479.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.1564, allocations: 19.91 kB / 479.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1564, allocations: 4 kB / 479.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1566, allocations: 205.9 kB / 479.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1566, allocations: 0 / 479.7 MB, free: 3.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.1571, allocations: 75.94 kB / 479.7 MB, free: 3.812 MB / 350.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.0003108/0.1574, allocations: 159.2 kB / 479.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007105/0.1581, allocations: 276.8 kB / 480.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1581, allocations: 0 / 480.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.1585, allocations: 181 kB / 480.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.159, allocations: 56.27 kB / 480.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009709/0.16, allocations: 0.5564 MB / 481 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1604, allocations: 0.7557 MB / 481.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.1605, allocations: 15.44 kB / 481.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1605, allocations: 0 / 481.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Templates: time 0.007335/0.1678, allocations: 3.827 MB / 485.6 MB, free: 13.92 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches