Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_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.001117/0.001117, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008288/0.0008288, allocations: 89.8 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1753/0.1753, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.563e-05, allocations: 3.984 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09396, allocations: 63.25 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4513, allocations: 90.99 MB / 0.6002 GB, free: 2.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.4516, allocations: 97.56 kB / 0.6003 GB, free: 2.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.4679, allocations: 5.994 MB / 0.6062 GB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4679, allocations: 3.938 kB / 0.6062 GB, free: 13.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4679, allocations: 4 kB / 0.6062 GB, free: 13.75 MB / 410.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.0004909/0.4684, allocations: 417.4 kB / 0.6066 GB, free: 13.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4685, allocations: 11.97 kB / 0.6066 GB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006892/0.4692, allocations: 107.2 kB / 0.6067 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.4695, allocations: 221.6 kB / 0.6069 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4695, allocations: 11.92 kB / 0.6069 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.4695, allocations: 11.31 kB / 0.6069 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.47, allocations: 270.2 kB / 0.6072 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.47, allocations: 0 / 0.6072 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.47, allocations: 7 kB / 0.6072 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.4701, allocations: 19.98 kB / 0.6072 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.4705, allocations: 277 kB / 0.6075 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4718, allocations: 0.7232 MB / 0.6082 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.4722, allocations: 266.2 kB / 0.6084 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4724, allocations: 95.81 kB / 0.6085 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4724, allocations: 0 / 0.6085 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.4724, allocations: 30.56 kB / 0.6086 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.4724, allocations: 4 kB / 0.6086 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004234/0.4729, allocations: 233.7 kB / 0.6088 GB, free: 11.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.4729, allocations: 55.41 kB / 0.6088 GB, free: 11.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4731, allocations: 202.7 kB / 0.609 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4731, allocations: 33.27 kB / 0.6091 GB, free: 10.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.4732, allocations: 113.6 kB / 0.6092 GB, free: 10.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4732, allocations: 46.48 kB / 0.6092 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.4732, allocations: 2.562 kB / 0.6092 GB, free: 10.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4733, allocations: 333.5 kB / 0.6095 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4735, allocations: 93.45 kB / 0.6096 GB, free: 10.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.4737, allocations: 122.6 kB / 0.6098 GB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.4738, allocations: 98.31 kB / 0.6098 GB, free: 10.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4738, allocations: 4 kB / 0.6098 GB, free: 10.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003964/0.4742, allocations: 268.5 kB / 0.6101 GB, free: 9.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4743, allocations: 8.031 kB / 0.6101 GB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.4743, allocations: 7.984 kB / 0.6101 GB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4743, allocations: 3.984 kB / 0.6101 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01587/0.4902, allocations: 0.9386 MB / 0.611 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.508, allocations: 10.03 MB / 0.6208 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.5084, allocations: 31.27 kB / 0.6209 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5084, allocations: 15.97 kB / 0.6209 GB, free: 14.29 MB / 426.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 () * 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 9.976e-05/0.5085, allocations: 108.3 kB / 0.621 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.5086, allocations: 15.81 kB / 0.621 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/0.5147, allocations: 0.6497 MB / 0.6216 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5147, allocations: 0 / 0.6216 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.5147, allocations: 0 / 0.6216 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5147, allocations: 4 kB / 0.6216 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.515, allocations: 277.6 kB / 0.6219 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.515, allocations: 0 / 0.6219 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.5152, allocations: 35.97 kB / 0.6219 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006875/0.5221, allocations: 475.8 kB / 0.6224 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.5222, allocations: 11.97 kB / 0.6224 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.5344, allocations: 9.488 MB / 0.6317 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5344, allocations: 4.062 kB / 0.6317 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/0.5405, allocations: 0.6953 MB / 0.6324 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.5406, allocations: 96.91 kB / 0.6324 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.5406, allocations: 0 / 0.6324 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.5409, allocations: 15.55 kB / 0.6325 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.541, allocations: 46.53 kB / 0.6325 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.541, allocations: 18.97 kB / 0.6325 GB, free: 1.824 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.5412, allocations: 164.5 kB / 0.6327 GB, free: 1.684 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5412, allocations: 0 / 0.6327 GB, free: 1.684 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005251/0.5417, allocations: 101.8 kB / 0.6328 GB, free: 1.594 MB / 426.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 () * 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.0001595/0.5419, allocations: 125.6 kB / 0.6329 GB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01098/0.5529, allocations: 0.7336 MB / 0.6336 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5529, allocations: 3.938 kB / 0.6336 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.5546, allocations: 0.5188 MB / 0.6341 GB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5548, allocations: 37.8 kB / 0.6342 GB, free: 192 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.5571, allocations: 0.5184 MB / 0.6347 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.5574, allocations: 0.7477 MB / 0.6354 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.898e-05/0.5575, allocations: 49.5 kB / 0.6354 GB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.5575, allocations: 22.69 kB / 0.6355 GB, free: 14.82 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5575, allocations: 0 / 0.6355 GB, free: 14.82 MB / 442.7 MB Notification: Performance of Templates: time 0.01002/0.5676, allocations: 7.064 MB / 0.6424 GB, free: 7.812 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches