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.001031/0.001031, allocations: 197.9 kB / 16.78 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 226.5 MB / 244.1 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007629/0.0007629, allocations: 96.62 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3098/0.3098, allocations: 44.82 MB / 392.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 12 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.272, allocations: 62.96 MB / 0.5165 GB, free: 37.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3743, allocations: 90.92 MB / 0.6053 GB, free: 14.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.3747, allocations: 95.94 kB / 0.6054 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.3909, allocations: 5.986 MB / 0.6112 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3909, allocations: 3.938 kB / 0.6112 GB, free: 8.328 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3909, allocations: 0 / 0.6112 GB, free: 8.328 MB / 426.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.0005723/0.3915, allocations: 442.8 kB / 0.6117 GB, free: 7.844 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3915, allocations: 8.031 kB / 0.6117 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.3922, allocations: 112.6 kB / 0.6118 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3925, allocations: 224 kB / 0.612 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3925, allocations: 8.375 kB / 0.612 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.3926, allocations: 12.38 kB / 0.612 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.3931, allocations: 301.2 kB / 0.6123 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3931, allocations: 4.188 kB / 0.6123 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.3932, allocations: 7.938 kB / 0.6123 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.3932, allocations: 15.98 kB / 0.6123 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005831/0.3938, allocations: 317.5 kB / 0.6126 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.3952, allocations: 0.7126 MB / 0.6133 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.3957, allocations: 282.2 kB / 0.6136 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3959, allocations: 112.7 kB / 0.6137 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3959, allocations: 4 kB / 0.6137 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.396, allocations: 38.5 kB / 0.6137 GB, free: 5.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.396, allocations: 0 / 0.6137 GB, free: 5.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007492/0.3967, allocations: 361.1 kB / 0.6141 GB, free: 5.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3968, allocations: 59.41 kB / 0.6141 GB, free: 5.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.397, allocations: 223.2 kB / 0.6143 GB, free: 4.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.397, allocations: 29.7 kB / 0.6144 GB, free: 4.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.3971, allocations: 120.1 kB / 0.6145 GB, free: 4.777 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.3971, allocations: 55.28 kB / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.3971, allocations: 0 / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3973, allocations: 326.8 kB / 0.6149 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3975, allocations: 103.9 kB / 0.615 GB, free: 4.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3977, allocations: 140.9 kB / 0.6151 GB, free: 4.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.3982, allocations: 247.2 kB / 0.6153 GB, free: 3.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3982, allocations: 0 / 0.6153 GB, free: 3.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005566/0.3987, allocations: 308.4 kB / 0.6156 GB, free: 3.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3988, allocations: 4 kB / 0.6156 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3988, allocations: 4 kB / 0.6156 GB, free: 3.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3988, allocations: 3.984 kB / 0.6156 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01553/0.4143, allocations: 0.9319 MB / 0.6165 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.4339, allocations: 10 MB / 0.6263 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.4343, allocations: 31.77 kB / 0.6263 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4343, allocations: 11.97 kB / 0.6263 GB, free: 7.789 MB / 442.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.0001658/0.4345, allocations: 145.7 kB / 0.6265 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.4345, allocations: 11.91 kB / 0.6265 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/0.4408, allocations: 0.6804 MB / 0.6272 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4408, allocations: 4 kB / 0.6272 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4408, allocations: 0 / 0.6272 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4408, allocations: 0 / 0.6272 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.4411, allocations: 269.4 kB / 0.6274 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4412, allocations: 7.984 kB / 0.6274 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.4414, allocations: 39.97 kB / 0.6275 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00672/0.4481, allocations: 481.8 kB / 0.6279 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4482, allocations: 11.92 kB / 0.6279 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.4629, allocations: 9.573 MB / 0.6373 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4629, allocations: 4.062 kB / 0.6373 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/0.469, allocations: 0.7212 MB / 0.638 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.4691, allocations: 92.86 kB / 0.6381 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.4692, allocations: 8 kB / 0.6381 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.4694, allocations: 15.98 kB / 0.6381 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4696, allocations: 47.83 kB / 0.6382 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.4696, allocations: 7.984 kB / 0.6382 GB, free: 10.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.4698, allocations: 176.2 kB / 0.6383 GB, free: 10.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4698, allocations: 0 / 0.6383 GB, free: 10.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.4704, allocations: 92 kB / 0.6384 GB, free: 10.48 MB / 458.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.0001722/0.4705, allocations: 119.1 kB / 0.6385 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01562/0.4862, allocations: 1.1 MB / 0.6396 GB, free: 9.258 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4862, allocations: 4 kB / 0.6396 GB, free: 9.254 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.4881, allocations: 0.5368 MB / 0.6401 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.4885, allocations: 31.98 kB / 0.6402 GB, free: 8.648 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.4911, allocations: 0.7382 MB / 0.6409 GB, free: 7.879 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4914, allocations: 0.744 MB / 0.6416 GB, free: 7.109 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.4915, allocations: 15.44 kB / 0.6416 GB, free: 7.094 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4915, allocations: 0 / 0.6416 GB, free: 7.094 MB / 458.7 MB Notification: Performance of Templates: time 0.009152/0.5007, allocations: 7.335 MB / 0.6488 GB, free: 15.77 MB / 474.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/jenkins1/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