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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108.1 kB / 17.33 MB, free: 6.016 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.001734/0.001734, allocations: 193.3 kB / 18.24 MB, free: 5.109 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.366/1.366, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2237/0.2237, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 59.91 kB / 407.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1335, allocations: 60.82 MB / 468.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.00306/0.1366, allocations: 1.829 MB / 470.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1377, allocations: 0.7751 MB / 471.3 MB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.1378, allocations: 4 kB / 471.3 MB, free: 268 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1381, allocations: 43.8 kB / 471.4 MB, free: 224 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1383, allocations: 63.73 kB / 471.4 MB, free: 160 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1385, allocations: 79.72 kB / 471.5 MB, free: 80 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1387, allocations: 139.4 kB / 471.7 MB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.1388, allocations: 20.95 kB / 471.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1389, allocations: 67.72 kB / 471.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.139, allocations: 79.67 kB / 471.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.139, allocations: 4 kB / 471.8 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.1393, allocations: 155.7 kB / 472 MB, free: 15.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.1393, allocations: 39.83 kB / 472 MB, free: 15.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1394, allocations: 55.61 kB / 472.1 MB, free: 15.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.1397, allocations: 203.5 kB / 472.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1397, allocations: 0 / 472.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1397, allocations: 0 / 472.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1397, allocations: 0 / 472.3 MB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006141/0.1403, allocations: 454.9 kB / 472.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1404, allocations: 8.031 kB / 472.7 MB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1404, allocations: 12.84 kB / 472.7 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1406, allocations: 204 kB / 472.9 MB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1406, allocations: 8.359 kB / 472.9 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1406, allocations: 12.12 kB / 473 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.141, allocations: 177.2 kB / 473.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.141, allocations: 12 kB / 473.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.141, allocations: 3.984 kB / 473.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.1411, allocations: 8 kB / 473.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.1414, allocations: 172.3 kB / 473.3 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.1422, allocations: 492 kB / 473.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.1426, allocations: 158.4 kB / 474 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1428, allocations: 56.78 kB / 474 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1428, allocations: 8 kB / 474 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1428, allocations: 30.56 kB / 474.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1428, allocations: 0 / 474.1 MB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005065/0.1433, allocations: 197.7 kB / 474.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1434, allocations: 55.41 kB / 474.3 MB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1436, allocations: 199.4 kB / 474.5 MB, free: 12.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1436, allocations: 33.8 kB / 474.5 MB, free: 12.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.1437, allocations: 112 kB / 474.6 MB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.1437, allocations: 27.64 kB / 474.7 MB, free: 12.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1438, allocations: 41.55 kB / 474.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1439, allocations: 330.8 kB / 475 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.144, allocations: 43.95 kB / 475.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1442, allocations: 78.39 kB / 475.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.1445, allocations: 134.5 kB / 475.3 MB, free: 12.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1445, allocations: 0 / 475.3 MB, free: 12.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00035/0.1449, allocations: 161.4 kB / 475.4 MB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1449, allocations: 4 kB / 475.4 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1449, allocations: 4 kB / 475.4 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1449, allocations: 4.062 kB / 475.4 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.1452, allocations: 43.97 kB / 475.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007236/0.146, allocations: 1.219 MB / 476.7 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1461, allocations: 20.02 kB / 476.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1461, allocations: 8 kB / 476.7 MB, free: 10.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1463, allocations: 141.8 kB / 476.9 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.1463, allocations: 15.75 kB / 476.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.1468, allocations: 179 kB / 477.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1468, allocations: 3.938 kB / 477.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1468, allocations: 0 / 477.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1468, allocations: 4 kB / 477.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1471, allocations: 221.7 kB / 477.3 MB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1471, allocations: 3.938 kB / 477.3 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.1473, allocations: 43.97 kB / 477.3 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/0.1473, allocations: 4 kB / 477.3 MB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1473, allocations: 4 kB / 477.3 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006796/0.148, allocations: 1.223 MB / 478.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.148, allocations: 0 / 478.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1484, allocations: 255.2 kB / 478.8 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1485, allocations: 92.86 kB / 478.9 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.1485, allocations: 8.031 kB / 478.9 MB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1487, allocations: 15.98 kB / 478.9 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1487, allocations: 7.984 kB / 478.9 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1488, allocations: 4 kB / 478.9 MB, free: 8.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1489, allocations: 153.2 kB / 479.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1489, allocations: 0 / 479.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1492, allocations: 36 kB / 479.1 MB, free: 8.043 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002351/0.1494, allocations: 131.8 kB / 479.3 MB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.1499, allocations: 155.8 kB / 479.4 MB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1499, allocations: 0 / 479.4 MB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.1502, allocations: 88.05 kB / 479.5 MB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1505, allocations: 23.98 kB / 479.5 MB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.1513, allocations: 394.8 kB / 479.9 MB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1516, allocations: 0.7356 MB / 480.6 MB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.418e-05/0.1517, allocations: 33.06 kB / 480.7 MB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.1518, allocations: 11.44 kB / 480.7 MB, free: 6.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1518, allocations: 0 / 480.7 MB, free: 6.422 MB / 398.1 MB Notification: Performance of Templates: time 0.005535/0.1573, allocations: 2.529 MB / 483.2 MB, free: 3.945 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_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/kc_evenGapTurbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches