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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008429/0.000843, allocations: 176.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007145/0.0007145, allocations: 98.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2791/0.2791, allocations: 43.55 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004036, allocations: 12 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001726/0.1053, allocations: 1.387 MB / 492.2 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.1063, allocations: 0.7064 MB / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.1064, allocations: 0 / 492.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.1066, allocations: 31.88 kB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1068, allocations: 63.72 kB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.107, allocations: 59.77 kB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1072, allocations: 199.3 kB / 493.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1073, allocations: 13.39 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.1074, allocations: 55.77 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1075, allocations: 87.61 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1075, allocations: 8 kB / 493.4 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1077, allocations: 71.88 kB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1078, allocations: 43.81 kB / 493.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.505e-05/0.1079, allocations: 93.3 kB / 493.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.108, allocations: 112 kB / 493.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1081, allocations: 4 kB / 493.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1081, allocations: 0 / 493.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1081, allocations: 0 / 493.8 MB, free: 7.934 MB / 378.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.0005508/0.1086, allocations: 446.5 kB / 494.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1087, allocations: 8.031 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005304/0.1092, allocations: 84.64 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1094, allocations: 224 kB / 494.5 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1094, allocations: 12.36 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1095, allocations: 4.375 kB / 494.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.11, allocations: 308.1 kB / 494.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.11, allocations: 3.984 kB / 494.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.11, allocations: 7.984 kB / 494.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.1101, allocations: 15.98 kB / 494.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.1106, allocations: 311.6 kB / 495.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.1119, allocations: 0.7121 MB / 495.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.1124, allocations: 282.2 kB / 496.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.1126, allocations: 104.8 kB / 496.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1127, allocations: 11.92 kB / 496.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1127, allocations: 34.56 kB / 496.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1127, allocations: 0 / 496.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007567/0.1135, allocations: 361.2 kB / 496.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1135, allocations: 55.41 kB / 496.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1138, allocations: 222.3 kB / 496.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1138, allocations: 29.7 kB / 496.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.1139, allocations: 119.9 kB / 497.1 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1139, allocations: 43.39 kB / 497.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.639e-05/0.114, allocations: 4 kB / 497.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1141, allocations: 330.8 kB / 497.4 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1143, allocations: 99.88 kB / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1145, allocations: 143 kB / 497.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.115, allocations: 247.1 kB / 497.9 MB, free: 3.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.115, allocations: 3.938 kB / 497.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005491/0.1156, allocations: 305.2 kB / 498.2 MB, free: 3.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1156, allocations: 4 kB / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1156, allocations: 4 kB / 498.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1156, allocations: 0 / 498.2 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/0.1326, allocations: 0.9163 MB / 499.1 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1791/0.3117, allocations: 9.905 MB / 0.4971 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.312, allocations: 31.86 kB / 0.4971 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.312, allocations: 19.03 kB / 0.4972 GB, free: 36.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.3122, allocations: 140.4 kB / 0.4973 GB, free: 36.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.3122, allocations: 16.69 kB / 0.4973 GB, free: 36.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00552/0.3177, allocations: 0.6286 MB / 0.4979 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3178, allocations: 3.266 kB / 0.4979 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3178, allocations: 0 / 0.4979 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3178, allocations: 2.781 kB / 0.4979 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.3181, allocations: 276.9 kB / 0.4982 GB, free: 36.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3181, allocations: 4.812 kB / 0.4982 GB, free: 36.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.3183, allocations: 39.83 kB / 0.4982 GB, free: 36.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006178/0.3245, allocations: 411.3 kB / 0.4986 GB, free: 36.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3245, allocations: 12.81 kB / 0.4986 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.3363, allocations: 9.513 MB / 0.5079 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3363, allocations: 4.828 kB / 0.5079 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.3418, allocations: 0.6706 MB / 0.5086 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.3419, allocations: 99.16 kB / 0.5087 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3419, allocations: 4.5 kB / 0.5087 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3421, allocations: 10.02 kB / 0.5087 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3423, allocations: 45.59 kB / 0.5087 GB, free: 28.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.3423, allocations: 14.19 kB / 0.5087 GB, free: 28.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.3425, allocations: 171 kB / 0.5089 GB, free: 28.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3425, allocations: 0 / 0.5089 GB, free: 28.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000525/0.343, allocations: 97.78 kB / 0.509 GB, free: 28.04 MB / 378.7 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001239/0.3431, allocations: 103 kB / 0.5091 GB, free: 27.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01614/0.3593, allocations: 1.061 MB / 0.5101 GB, free: 27.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3593, allocations: 0 / 0.5101 GB, free: 27.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.3608, allocations: 0.5238 MB / 0.5107 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3612, allocations: 36.02 kB / 0.5107 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.3633, allocations: 0.7247 MB / 0.5114 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3634, allocations: 0.7383 MB / 0.5121 GB, free: 26.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.3635, allocations: 15.81 kB / 0.5121 GB, free: 26.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3635, allocations: 0 / 0.5121 GB, free: 26.61 MB / 378.7 MB Notification: Performance of Templates: time 0.007322/0.3708, allocations: 7.261 MB / 0.5192 GB, free: 26.26 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches