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.001574/0.001574, allocations: 116.1 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002279/0.002279, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4279, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.00308/0.431, allocations: 1.708 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.4323, allocations: 0.7674 MB / 0.5334 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.4324, allocations: 5.125 kB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.4326, allocations: 29.45 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.4329, allocations: 67.41 kB / 0.5335 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.4331, allocations: 60.69 kB / 0.5336 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.4334, allocations: 161.5 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.4335, allocations: 12.56 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.4336, allocations: 60.73 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.4337, allocations: 75.11 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.4337, allocations: 4.469 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.4339, allocations: 78.06 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.434, allocations: 46.25 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.813e-05/0.4341, allocations: 66.61 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.4344, allocations: 179.4 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4344, allocations: 0 / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4344, allocations: 0 / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4344, allocations: 0 / 0.5342 GB, free: 11.18 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.0008117/0.4353, allocations: 474.8 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4353, allocations: 9.625 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005796/0.4359, allocations: 79.23 kB / 0.5348 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.4361, allocations: 223.6 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4361, allocations: 4.5 kB / 0.535 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.4362, allocations: 17.86 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.4367, allocations: 302.9 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.4367, allocations: 0 / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.4368, allocations: 5 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.4368, allocations: 17.42 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/0.4374, allocations: 298 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.4387, allocations: 0.7123 MB / 0.5363 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.4393, allocations: 291.4 kB / 0.5366 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4395, allocations: 98.02 kB / 0.5367 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.4395, allocations: 6.453 kB / 0.5367 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4395, allocations: 31.91 kB / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.4395, allocations: 0 / 0.5367 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008123/0.4404, allocations: 357.1 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4404, allocations: 52.34 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4407, allocations: 226.1 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.4407, allocations: 29.7 kB / 0.5373 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.4408, allocations: 120 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.4409, allocations: 41.55 kB / 0.5375 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/0.441, allocations: 50.03 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4411, allocations: 328.5 kB / 0.5379 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.4413, allocations: 104.9 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.4416, allocations: 133.1 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.4421, allocations: 243.9 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4421, allocations: 3.938 kB / 0.5383 GB, free: 8.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005941/0.4427, allocations: 290.2 kB / 0.5386 GB, free: 7.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4427, allocations: 5.844 kB / 0.5386 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4427, allocations: 1.625 kB / 0.5386 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4427, allocations: 1.25 kB / 0.5386 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/0.4604, allocations: 0.9282 MB / 0.5395 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/0.4813, allocations: 10.75 MB / 0.55 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.4817, allocations: 23.88 kB / 0.55 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.4818, allocations: 7.984 kB / 0.55 GB, free: 13.13 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.0002046/0.482, allocations: 149.8 kB / 0.5502 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.482, allocations: 15.91 kB / 0.5502 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.4878, allocations: 0.6308 MB / 0.5508 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4879, allocations: 4 kB / 0.5508 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4879, allocations: 0 / 0.5508 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4879, allocations: 0 / 0.5508 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.4882, allocations: 277.4 kB / 0.5511 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4882, allocations: 0 / 0.5511 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.4885, allocations: 35.97 kB / 0.5511 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004428/0.4929, allocations: 310.1 kB / 0.5514 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4929, allocations: 11.92 kB / 0.5514 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/0.5083, allocations: 10.3 MB / 0.5615 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5083, allocations: 4.031 kB / 0.5615 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/0.5141, allocations: 0.6831 MB / 0.5622 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.5143, allocations: 100.9 kB / 0.5622 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.5143, allocations: 4 kB / 0.5623 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.5145, allocations: 7.984 kB / 0.5623 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.5147, allocations: 51.83 kB / 0.5623 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5147, allocations: 11.98 kB / 0.5623 GB, free: 15.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.5149, allocations: 171.2 kB / 0.5625 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5149, allocations: 0 / 0.5625 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005726/0.5155, allocations: 92 kB / 0.5626 GB, free: 15.32 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.0001828/0.5157, allocations: 110.5 kB / 0.5627 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0177/0.5334, allocations: 1.123 MB / 0.5638 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5334, allocations: 0 / 0.5638 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.5352, allocations: 0.5349 MB / 0.5643 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.5356, allocations: 35.92 kB / 0.5643 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.538, allocations: 0.6466 MB / 0.565 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.5383, allocations: 0.7517 MB / 0.5657 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.5385, allocations: 49.5 kB / 0.5657 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.5385, allocations: 19.42 kB / 0.5658 GB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5385, allocations: 0 / 0.5658 GB, free: 11.95 MB / 430.1 MB Notification: Performance of Templates: time 0.01195/0.5505, allocations: 7.625 MB / 0.5732 GB, free: 4.371 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/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","/var/lib/jenkins/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