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/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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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_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/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3495, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002853/0.3524, allocations: 1.697 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3536, allocations: 0.7676 MB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.3537, allocations: 5.594 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.354, allocations: 32.11 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.3543, allocations: 72.41 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.3545, allocations: 61.25 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3548, allocations: 152.8 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.268e-05/0.3548, allocations: 18.8 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.3549, allocations: 58.98 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3551, allocations: 74.83 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3551, allocations: 5.188 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.3553, allocations: 69.72 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.3553, allocations: 51.06 kB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.3554, allocations: 61.61 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3557, allocations: 184.5 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3557, allocations: 0 / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3557, allocations: 1.375 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3557, allocations: 0 / 0.5349 GB, free: 11.2 MB / 398.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.0006566/0.3564, allocations: 457.8 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3564, allocations: 9.625 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.357, allocations: 79.14 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3573, allocations: 231.5 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3573, allocations: 4.5 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.3574, allocations: 19.19 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.3579, allocations: 298.5 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3579, allocations: 0.9688 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.3579, allocations: 9.141 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/0.358, allocations: 17.11 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.3585, allocations: 301.1 kB / 0.5363 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.3599, allocations: 0.7166 MB / 0.537 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.3605, allocations: 282.7 kB / 0.5372 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.3607, allocations: 98.84 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3607, allocations: 1.312 kB / 0.5373 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3607, allocations: 35.81 kB / 0.5374 GB, free: 9.309 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3607, allocations: 1.312 kB / 0.5374 GB, free: 9.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007911/0.3615, allocations: 352.1 kB / 0.5377 GB, free: 9.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3616, allocations: 52.56 kB / 0.5378 GB, free: 9.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3618, allocations: 221.1 kB / 0.538 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3618, allocations: 31.17 kB / 0.538 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.3619, allocations: 119.3 kB / 0.5381 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.362, allocations: 44.91 kB / 0.5381 GB, free: 8.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.3621, allocations: 46.48 kB / 0.5382 GB, free: 8.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3622, allocations: 331.5 kB / 0.5385 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.3624, allocations: 104.8 kB / 0.5386 GB, free: 8.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.3627, allocations: 133.9 kB / 0.5387 GB, free: 8.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.3632, allocations: 236.5 kB / 0.539 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3632, allocations: 7.875 kB / 0.539 GB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005696/0.3638, allocations: 287 kB / 0.5392 GB, free: 7.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3638, allocations: 4.719 kB / 0.5392 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3638, allocations: 1.344 kB / 0.5392 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3638, allocations: 5.359 kB / 0.5393 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01823/0.3821, allocations: 0.9217 MB / 0.5402 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.4034, allocations: 10.75 MB / 0.5506 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.4038, allocations: 23.86 kB / 0.5507 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.4039, allocations: 11.98 kB / 0.5507 GB, free: 13.17 MB / 414.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.0002272/0.4041, allocations: 141.8 kB / 0.5508 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.4042, allocations: 15.81 kB / 0.5508 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006187/0.4104, allocations: 0.632 MB / 0.5515 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.4105, allocations: 4 kB / 0.5515 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4105, allocations: 0 / 0.5515 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4105, allocations: 0 / 0.5515 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.4109, allocations: 277.4 kB / 0.5517 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.411, allocations: 4 kB / 0.5517 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.4112, allocations: 35.91 kB / 0.5518 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/0.416, allocations: 310.1 kB / 0.5521 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.416, allocations: 11.91 kB / 0.5521 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.432, allocations: 10.31 MB / 0.5621 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4321, allocations: 0 / 0.5621 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006023/0.4381, allocations: 0.677 MB / 0.5628 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.4383, allocations: 96.91 kB / 0.5629 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.4383, allocations: 8 kB / 0.5629 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.4386, allocations: 8 kB / 0.5629 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.4388, allocations: 55.7 kB / 0.563 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.4388, allocations: 11.98 kB / 0.563 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.439, allocations: 171.2 kB / 0.5631 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.439, allocations: 0 / 0.5631 GB, free: 15.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006381/0.4397, allocations: 92 kB / 0.5632 GB, free: 15.36 MB / 430.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.0002151/0.4399, allocations: 100.5 kB / 0.5633 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01759/0.4575, allocations: 1.08 MB / 0.5644 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4575, allocations: 0 / 0.5644 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001827/0.4594, allocations: 0.5311 MB / 0.5649 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.4598, allocations: 39.91 kB / 0.5649 GB, free: 13.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.4625, allocations: 0.671 MB / 0.5656 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.4628, allocations: 0.7361 MB / 0.5663 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.4629, allocations: 15.44 kB / 0.5663 GB, free: 12.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4629, allocations: 4 kB / 0.5663 GB, free: 12.07 MB / 430.1 MB Notification: Performance of Templates: time 0.01092/0.4738, allocations: 7.297 MB / 0.5734 GB, free: 4.789 MB / 430.1 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/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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