Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009977/0.0009981, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001247, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.8 MB / 246.9 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2173/0.2173, allocations: 46.2 MB / 345.3 MB, free: 11.35 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.000292, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 63.57 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002929/0.1322, allocations: 1.423 MB / 484.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.134, allocations: 0.7402 MB / 485.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.1341, allocations: 3.938 kB / 485.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1344, allocations: 31.88 kB / 485.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.1347, allocations: 67.72 kB / 485.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.135, allocations: 47.89 kB / 485.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.1355, allocations: 247.2 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.1356, allocations: 9.406 kB / 485.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1357, allocations: 51.72 kB / 485.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.1359, allocations: 87.72 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.136, allocations: 4 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.1362, allocations: 75.81 kB / 486 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1364, allocations: 55.81 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1365, allocations: 85.25 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.1369, allocations: 171.6 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1369, allocations: 0 / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1369, allocations: 0 / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1369, allocations: 0 / 486.3 MB, free: 0.9688 MB / 350.1 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.0008952/0.1378, allocations: 447 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1379, allocations: 12.81 kB / 486.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008462/0.1387, allocations: 80.64 kB / 486.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.1391, allocations: 227.9 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1391, allocations: 8.375 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1392, allocations: 12.38 kB / 487 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.14, allocations: 312 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.14, allocations: 3.938 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.1401, allocations: 4 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.1401, allocations: 15.98 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/0.141, allocations: 303.7 kB / 487.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.1431, allocations: 0.7198 MB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.144, allocations: 278.2 kB / 488.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.1444, allocations: 112.8 kB / 488.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.1444, allocations: 7.984 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1445, allocations: 34.55 kB / 488.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.216e-06/0.1445, allocations: 0 / 488.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001347/0.1458, allocations: 365.1 kB / 489.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.1459, allocations: 55.41 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1462, allocations: 226.3 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.1463, allocations: 25.7 kB / 489.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1464, allocations: 124.1 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/0.1465, allocations: 47.34 kB / 489.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.1466, allocations: 21.7 kB / 489.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1468, allocations: 330.8 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.1471, allocations: 103.8 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.1476, allocations: 138.3 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.1483, allocations: 249.6 kB / 490.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1483, allocations: 7.938 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009317/0.1493, allocations: 309.1 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1493, allocations: 6.453 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1493, allocations: 3.938 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1494, allocations: 8.094 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02937/0.1788, allocations: 0.8968 MB / 491.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03228/0.2111, allocations: 9.917 MB / 0.4898 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.2116, allocations: 27.73 kB / 0.4899 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.2117, allocations: 11.98 kB / 0.4899 GB, free: 0.5469 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.2119, allocations: 145.9 kB / 0.49 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.212, allocations: 19.75 kB / 0.49 GB, free: 384 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.2222, allocations: 0.6298 MB / 0.4907 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2223, allocations: 0 / 0.4907 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.2223, allocations: 4 kB / 0.4907 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2223, allocations: 0 / 0.4907 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.223, allocations: 285.2 kB / 0.4909 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.223, allocations: 0 / 0.4909 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.2234, allocations: 35.97 kB / 0.491 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/0.2345, allocations: 413.9 kB / 0.4914 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.2346, allocations: 11.98 kB / 0.4914 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/0.2598, allocations: 9.514 MB / 0.5007 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2598, allocations: 0 / 0.5007 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.2699, allocations: 0.6769 MB / 0.5013 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.2701, allocations: 96.86 kB / 0.5014 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.2702, allocations: 4 kB / 0.5014 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.2706, allocations: 19.91 kB / 0.5014 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.2709, allocations: 43.84 kB / 0.5015 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.2709, allocations: 7.984 kB / 0.5015 GB, free: 3.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.2712, allocations: 176.4 kB / 0.5017 GB, free: 3.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2712, allocations: 0 / 0.5017 GB, free: 3.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009923/0.2722, allocations: 92 kB / 0.5017 GB, free: 3.453 MB / 382.1 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 (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.2725, allocations: 103.8 kB / 0.5018 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.03069/0.3032, allocations: 1.1 MB / 0.5029 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.3033, allocations: 4 kB / 0.5029 GB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.306, allocations: 0.5465 MB / 0.5035 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/0.3067, allocations: 27.98 kB / 0.5035 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.3106, allocations: 0.7201 MB / 0.5042 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3111, allocations: 0.7401 MB / 0.5049 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000198/0.3113, allocations: 49.5 kB / 0.505 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.3114, allocations: 19.42 kB / 0.505 GB, free: 44 kB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3115, allocations: 0 / 0.505 GB, free: 44 kB / 382.1 MB Notification: Performance of Templates: time 0.2081/0.5195, allocations: 7.124 MB / 0.5119 GB, free: 39.12 MB / 382.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches