Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008451, allocations: 99.27 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3274/0.3274, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 15.98 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3431, allocations: 61.88 MB / 0.5107 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.4541, allocations: 90.01 MB / 0.5986 GB, free: 5.066 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4544, allocations: 107.8 kB / 0.5987 GB, free: 4.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.4705, allocations: 5.921 MB / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4706, allocations: 0 / 0.6045 GB, free: 15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.4706, allocations: 4 kB / 0.6045 GB, free: 15 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.000662/0.4713, allocations: 438.9 kB / 0.605 GB, free: 14.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4713, allocations: 12.03 kB / 0.605 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007144/0.472, allocations: 112.5 kB / 0.6051 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.4724, allocations: 220 kB / 0.6053 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4724, allocations: 12.38 kB / 0.6053 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.4724, allocations: 8.312 kB / 0.6053 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.4731, allocations: 308.4 kB / 0.6056 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4731, allocations: 192 / 0.6056 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.4731, allocations: 7.938 kB / 0.6056 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.4732, allocations: 19.97 kB / 0.6056 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.4738, allocations: 311.6 kB / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.4755, allocations: 0.7185 MB / 0.6066 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.476, allocations: 282.3 kB / 0.6069 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4763, allocations: 116.7 kB / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4763, allocations: 0 / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.4764, allocations: 34.67 kB / 0.607 GB, free: 12.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.4764, allocations: 7.938 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.000861/0.4773, allocations: 362.4 kB / 0.6074 GB, free: 11.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.4773, allocations: 55.41 kB / 0.6074 GB, free: 11.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.4776, allocations: 225.4 kB / 0.6077 GB, free: 11.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4777, allocations: 29.7 kB / 0.6077 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.4778, allocations: 119.9 kB / 0.6078 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.4778, allocations: 43.34 kB / 0.6078 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.4778, allocations: 4 kB / 0.6078 GB, free: 11.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.478, allocations: 330.8 kB / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4782, allocations: 107.8 kB / 0.6083 GB, free: 10.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4784, allocations: 141.3 kB / 0.6084 GB, free: 10.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.4789, allocations: 245.2 kB / 0.6086 GB, free: 10.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4789, allocations: 0 / 0.6086 GB, free: 10.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005591/0.4794, allocations: 309.2 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4795, allocations: 4 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4795, allocations: 0 / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4795, allocations: 4 kB / 0.6089 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/0.4937, allocations: 0.9319 MB / 0.6098 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01825/0.512, allocations: 9.997 MB / 0.6196 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.5124, allocations: 31.77 kB / 0.6196 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.5124, allocations: 15.97 kB / 0.6197 GB, free: 14.46 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.0001667/0.5126, allocations: 143.4 kB / 0.6198 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.5127, allocations: 11.91 kB / 0.6198 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/0.5183, allocations: 0.6842 MB / 0.6205 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5184, allocations: 0 / 0.6205 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.5184, allocations: 0 / 0.6205 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5184, allocations: 0 / 0.6205 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.5187, allocations: 277.4 kB / 0.6207 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5187, allocations: 0 / 0.6207 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.519, allocations: 43.89 kB / 0.6208 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006232/0.5252, allocations: 481.8 kB / 0.6212 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.5253, allocations: 7.984 kB / 0.6212 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.5393, allocations: 9.573 MB / 0.6306 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5393, allocations: 0 / 0.6306 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/0.5448, allocations: 0.7259 MB / 0.6313 GB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.545, allocations: 100.9 kB / 0.6314 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.545, allocations: 3.938 kB / 0.6314 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.5454, allocations: 15.98 kB / 0.6314 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.5456, allocations: 51.83 kB / 0.6315 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5456, allocations: 7.984 kB / 0.6315 GB, free: 1.418 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.5457, allocations: 172.2 kB / 0.6316 GB, free: 1.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5458, allocations: 0 / 0.6316 GB, free: 1.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.5463, allocations: 92 kB / 0.6317 GB, free: 1.16 MB / 442.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.0001897/0.5465, allocations: 124.5 kB / 0.6318 GB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01426/0.5608, allocations: 1.151 MB / 0.633 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5608, allocations: 0 / 0.633 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.5626, allocations: 0.5388 MB / 0.6335 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.5629, allocations: 39.84 kB / 0.6335 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5655, allocations: 0.7226 MB / 0.6342 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5658, allocations: 0.7401 MB / 0.635 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.5659, allocations: 49.5 kB / 0.635 GB, free: 13.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.566, allocations: 19.44 kB / 0.635 GB, free: 13.67 MB / 458.7 MB Notification: Performance of SimCode: time 2.495e-06/0.566, allocations: 0 / 0.635 GB, free: 13.67 MB / 458.7 MB Notification: Performance of Templates: time 0.01085/0.5769, allocations: 7.12 MB / 0.642 GB, free: 6.609 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches