Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009202/0.0009203, allocations: 200.2 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000695/0.000695, allocations: 97.17 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002144/0.0002145, allocations: 8 kB / 464.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08637, allocations: 62.96 MB / 0.5154 GB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001623/0.08804, allocations: 1.385 MB / 0.5167 GB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.08901, allocations: 0.69 MB / 0.5174 GB, free: 0.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.08906, allocations: 0 / 0.5174 GB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.08924, allocations: 31.83 kB / 0.5174 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.08948, allocations: 59.78 kB / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.08964, allocations: 55.81 kB / 0.5175 GB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.08987, allocations: 207.2 kB / 0.5177 GB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.08992, allocations: 13.41 kB / 0.5177 GB, free: 268 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.09, allocations: 55.78 kB / 0.5178 GB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.09012, allocations: 83.72 kB / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.09015, allocations: 0 / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.0903, allocations: 67.83 kB / 0.5179 GB, free: 60 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.09036, allocations: 47.8 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1693/0.2597, allocations: 45.55 kB / 0.518 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.26, allocations: 116.1 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.26, allocations: 3.938 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.26, allocations: 3.391 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.26, allocations: 0 / 0.5181 GB, free: 9.895 MB / 346.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.000545/0.2606, allocations: 440.1 kB / 0.5186 GB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2606, allocations: 8.406 kB / 0.5186 GB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000581/0.2612, allocations: 78.81 kB / 0.5186 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.2614, allocations: 230.6 kB / 0.5189 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2614, allocations: 6.688 kB / 0.5189 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.2615, allocations: 10.14 kB / 0.5189 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.262, allocations: 301.9 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2621, allocations: 4 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.2621, allocations: 3.156 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.2621, allocations: 21.31 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.2627, allocations: 304.6 kB / 0.5195 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2639, allocations: 0.7338 MB / 0.5202 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.2645, allocations: 279.5 kB / 0.5205 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.2647, allocations: 105.8 kB / 0.5206 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2647, allocations: 6.828 kB / 0.5206 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2647, allocations: 40.69 kB / 0.5206 GB, free: 8.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2648, allocations: 0 / 0.5206 GB, free: 8.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007456/0.2655, allocations: 365.7 kB / 0.521 GB, free: 8.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.2655, allocations: 53.83 kB / 0.521 GB, free: 8.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2657, allocations: 221.6 kB / 0.5212 GB, free: 8.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2657, allocations: 25.7 kB / 0.5212 GB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.2658, allocations: 112.8 kB / 0.5214 GB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.2658, allocations: 49.84 kB / 0.5214 GB, free: 8.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.2659, allocations: 5.906 kB / 0.5214 GB, free: 8.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.2659, allocations: 332.1 kB / 0.5217 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.2661, allocations: 105.6 kB / 0.5218 GB, free: 8.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2664, allocations: 135.8 kB / 0.522 GB, free: 8.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.2666, allocations: 120.9 kB / 0.5221 GB, free: 8.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2666, allocations: 0 / 0.5221 GB, free: 8.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005319/0.2671, allocations: 307.1 kB / 0.5224 GB, free: 8.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2672, allocations: 4.875 kB / 0.5224 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2672, allocations: 2.281 kB / 0.5224 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2672, allocations: 1.469 kB / 0.5224 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01879/0.286, allocations: 0.9038 MB / 0.5233 GB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.304, allocations: 9.921 MB / 0.5329 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.3044, allocations: 24.11 kB / 0.533 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3044, allocations: 11.22 kB / 0.533 GB, free: 15.93 MB / 362.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.0001543/0.3046, allocations: 138.8 kB / 0.5331 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.3047, allocations: 19.28 kB / 0.5331 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/0.311, allocations: 0.63 MB / 0.5337 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.3111, allocations: 2.094 kB / 0.5337 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3111, allocations: 3.719 kB / 0.5337 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3111, allocations: 0.75 kB / 0.5337 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3114, allocations: 274.8 kB / 0.534 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3114, allocations: 1.031 kB / 0.534 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.3117, allocations: 38.16 kB / 0.534 GB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008826/0.3205, allocations: 413.6 kB / 0.5344 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/0.3206, allocations: 12.03 kB / 0.5345 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/0.3422, allocations: 9.52 MB / 0.5437 GB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3422, allocations: 4.062 kB / 0.5438 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009305/0.3515, allocations: 0.6694 MB / 0.5444 GB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3517, allocations: 91.8 kB / 0.5445 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.3517, allocations: 9.375 kB / 0.5445 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3521, allocations: 14.8 kB / 0.5445 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.3524, allocations: 41.66 kB / 0.5446 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.3524, allocations: 12.09 kB / 0.5446 GB, free: 6.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.3526, allocations: 173.6 kB / 0.5447 GB, free: 6.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.3527, allocations: 0 / 0.5447 GB, free: 6.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008881/0.3536, allocations: 93.25 kB / 0.5448 GB, free: 6.602 MB / 362.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.0001947/0.3538, allocations: 101.5 kB / 0.5449 GB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0219/0.3757, allocations: 1.06 MB / 0.546 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3757, allocations: 0 / 0.546 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.3775, allocations: 0.5293 MB / 0.5465 GB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3779, allocations: 40.86 kB / 0.5465 GB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3802, allocations: 0.7192 MB / 0.5472 GB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3805, allocations: 0.751 MB / 0.5479 GB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.3805, allocations: 18.59 kB / 0.548 GB, free: 4.316 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3806, allocations: 0 / 0.548 GB, free: 4.316 MB / 362.7 MB Notification: Performance of Templates: time 0.008739/0.3893, allocations: 7.27 MB / 0.5551 GB, free: 0.5352 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches