Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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 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 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 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.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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 107.8 kB / 16.41 MB, free: 6.492 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.001351/0.001351, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 63.91 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003756/0.1368, allocations: 1.803 MB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1389, allocations: 1.009 MB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.139, allocations: 0 / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1393, allocations: 43.77 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1397, allocations: 63.59 kB / 0.4908 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.1403, allocations: 131.5 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.1406, allocations: 211.2 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.1407, allocations: 25.52 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1409, allocations: 87.56 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1411, allocations: 95.66 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1412, allocations: 11.94 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1415, allocations: 127.8 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1416, allocations: 55.8 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1417, allocations: 75.53 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005131/0.1422, allocations: 251.1 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1423, allocations: 0 / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1423, allocations: 3.938 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1423, allocations: 0 / 0.4918 GB, free: 7.797 MB / 382.1 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.001238/0.1435, allocations: 0.5295 MB / 0.4923 GB, free: 7.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1436, allocations: 11.89 kB / 0.4923 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.1437, allocations: 20.66 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1439, allocations: 220 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.144, allocations: 8.609 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.144, allocations: 12.38 kB / 0.4926 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.1445, allocations: 274.9 kB / 0.4928 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1446, allocations: 0 / 0.4928 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1446, allocations: 4 kB / 0.4928 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.1446, allocations: 12.23 kB / 0.4928 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.1452, allocations: 232.3 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1465, allocations: 0.8214 MB / 0.4939 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.1469, allocations: 191.6 kB / 0.494 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.1471, allocations: 98.48 kB / 0.4941 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.1472, allocations: 16.11 kB / 0.4942 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.1473, allocations: 30.56 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.083e-06/0.1473, allocations: 0 / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009982/0.1483, allocations: 317.3 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.1484, allocations: 110.8 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.1487, allocations: 253 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1487, allocations: 29.7 kB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1488, allocations: 131.9 kB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.1489, allocations: 43.45 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.149, allocations: 37.7 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1492, allocations: 338.8 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.1495, allocations: 91.89 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.1498, allocations: 133 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1503, allocations: 228.8 kB / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1503, allocations: 0 / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006572/0.151, allocations: 285.4 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.151, allocations: 7.938 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.151, allocations: 8 kB / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1511, allocations: 0 / 0.4961 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1513, allocations: 39.95 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1513, allocations: 0 / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1515, allocations: 31.83 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.1516, allocations: 7.984 kB / 0.4962 GB, free: 2.973 MB / 382.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.1517, allocations: 153.7 kB / 0.4963 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.1518, allocations: 19.81 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.1523, allocations: 219.1 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1524, allocations: 7.984 kB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1524, allocations: 4 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1524, allocations: 0 / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.1528, allocations: 257.4 kB / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/0.1528, allocations: 19.92 kB / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.153, allocations: 27.97 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.153, allocations: 4 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.153, allocations: 7.984 kB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.153, allocations: 4 kB / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.153, allocations: 0 / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.1537, allocations: 477.6 kB / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1539, allocations: 100.8 kB / 0.4974 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1539, allocations: 4 kB / 0.4974 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.1541, allocations: 19.97 kB / 0.4975 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.1542, allocations: 15.98 kB / 0.4975 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1543, allocations: 7.938 kB / 0.4975 GB, free: 1.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1545, allocations: 192.4 kB / 0.4977 GB, free: 1.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1545, allocations: 4 kB / 0.4977 GB, free: 1.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000443/0.1549, allocations: 67.94 kB / 0.4977 GB, free: 1.289 MB / 382.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.0003288/0.1553, allocations: 163.1 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006765/0.1559, allocations: 285.1 kB / 0.4982 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.156, allocations: 0 / 0.4982 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.1563, allocations: 177.2 kB / 0.4983 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.1569, allocations: 47.38 kB / 0.4984 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.158, allocations: 453.5 kB / 0.4988 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1584, allocations: 0.7397 MB / 0.4995 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.1585, allocations: 45.45 kB / 0.4996 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.1586, allocations: 23.42 kB / 0.4996 GB, free: 15.28 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1586, allocations: 0 / 0.4996 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Templates: time 0.00833/0.1669, allocations: 3.612 MB / 0.5031 GB, free: 11.68 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat","/var/lib/jenkins/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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches