Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001531, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001219, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2914/0.2914, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005078, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 58.87 MB / 490.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002542/0.1183, allocations: 1.466 MB / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1203, allocations: 0.8743 MB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.1204, allocations: 4 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1207, allocations: 35.77 kB / 492.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1209, allocations: 51.84 kB / 492.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.1214, allocations: 95.73 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.1216, allocations: 131.7 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.1217, allocations: 13.55 kB / 492.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1219, allocations: 67.75 kB / 493 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1221, allocations: 79.67 kB / 493.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.1221, allocations: 4 kB / 493.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.1225, allocations: 119.9 kB / 493.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.1226, allocations: 55.81 kB / 493.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.1226, allocations: 45.64 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.123, allocations: 159.8 kB / 493.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.123, allocations: 0 / 493.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.123, allocations: 0 / 493.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.123, allocations: 0 / 493.4 MB, free: 6.094 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001317/0.1243, allocations: 0.5144 MB / 494 MB, free: 5.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1244, allocations: 12.03 kB / 494 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.1245, allocations: 19.72 kB / 494 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1248, allocations: 214.8 kB / 494.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1248, allocations: 12.17 kB / 494.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.1249, allocations: 19.94 kB / 494.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.1257, allocations: 278.6 kB / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1258, allocations: 0 / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.1258, allocations: 7.984 kB / 494.5 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.1258, allocations: 12.23 kB / 494.5 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1269, allocations: 252.4 kB / 494.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.1285, allocations: 0.8216 MB / 495.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.1292, allocations: 199.7 kB / 495.8 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.1292, allocations: 4 kB / 495.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.1293, allocations: 46.67 kB / 495.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.856e-06/0.1293, allocations: 0 / 495.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001627/0.1309, allocations: 353.3 kB / 496.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.131, allocations: 110.8 kB / 496.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.1314, allocations: 257 kB / 496.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.1315, allocations: 29.69 kB / 496.6 MB, free: 2.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1316, allocations: 186.3 kB / 496.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.1317, allocations: 43.44 kB / 496.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.1317, allocations: 0 / 496.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1319, allocations: 326.8 kB / 497.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.1324, allocations: 99.89 kB / 497.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1329, allocations: 147.2 kB / 497.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.1334, allocations: 119.8 kB / 497.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1335, allocations: 0 / 497.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001178/0.1346, allocations: 293.6 kB / 497.8 MB, free: 1.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1347, allocations: 7.438 kB / 497.8 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.1347, allocations: 15.98 kB / 497.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1348, allocations: 4 kB / 497.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.1352, allocations: 43.91 kB / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1352, allocations: 8.062 kB / 497.8 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.1356, allocations: 39.77 kB / 497.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.1357, allocations: 15.98 kB / 497.9 MB, free: 1.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 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.0001811/0.1359, allocations: 137.8 kB / 498 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.136, allocations: 19.8 kB / 498 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/0.1368, allocations: 231.1 kB / 498.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.1368, allocations: 4 kB / 498.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1369, allocations: 0 / 498.3 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1369, allocations: 3.953 kB / 498.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.1374, allocations: 253.5 kB / 498.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.1375, allocations: 7.984 kB / 498.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.1378, allocations: 43.91 kB / 498.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1379, allocations: 0 / 498.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.1379, allocations: 4 kB / 498.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1379, allocations: 4 kB / 498.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1379, allocations: 3.984 kB / 498.6 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1391, allocations: 0.5244 MB / 499.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.1392, allocations: 100.8 kB / 499.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.1393, allocations: 0 / 499.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.1397, allocations: 35.92 kB / 499.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.1398, allocations: 15.97 kB / 499.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.1399, allocations: 7.984 kB / 499.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002964/0.1402, allocations: 188.5 kB / 499.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1402, allocations: 0 / 499.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005727/0.1408, allocations: 63.98 kB / 499.5 MB, free: 15.63 MB / 346.7 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.0003251/0.1411, allocations: 159.2 kB / 499.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.1423, allocations: 305 kB / 500 MB, free: 15.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1423, allocations: 4.062 kB / 500 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.1429, allocations: 196.9 kB / 0.4884 GB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.1434, allocations: 36.53 kB / 0.4885 GB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1448, allocations: 0.5342 MB / 0.489 GB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1452, allocations: 0.7439 MB / 0.4897 GB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1454, allocations: 19.42 kB / 0.4897 GB, free: 13.54 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1454, allocations: 0 / 0.4897 GB, free: 13.54 MB / 346.7 MB Notification: Performance of Templates: time 0.008473/0.1539, allocations: 3.495 MB / 0.4932 GB, free: 10.05 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches