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.00124/0.00124, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2073/0.2073, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 76.16 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3116, allocations: 62.45 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002833/0.3144, allocations: 1.713 MB / 0.5334 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3156, allocations: 0.7573 MB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.3157, allocations: 1.344 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.316, allocations: 36.09 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.3163, allocations: 63.78 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.3165, allocations: 57.41 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.3167, allocations: 161 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.3168, allocations: 8.906 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.3169, allocations: 63.8 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.317, allocations: 79.59 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3171, allocations: 4.062 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.3172, allocations: 74.97 kB / 0.5346 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.3173, allocations: 49.75 kB / 0.5347 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.343e-05/0.3174, allocations: 62.92 kB / 0.5347 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3177, allocations: 180.6 kB / 0.5349 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3177, allocations: 0 / 0.5349 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3177, allocations: 0 / 0.5349 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3177, allocations: 0 / 0.5349 GB, free: 11.23 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.0006582/0.3183, allocations: 459.2 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3184, allocations: 9.625 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/0.319, allocations: 83.14 kB / 0.5354 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3192, allocations: 227.5 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3193, allocations: 8.5 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3193, allocations: 13.86 kB / 0.5357 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.3198, allocations: 306.7 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3198, allocations: 0 / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3199, allocations: 6.094 kB / 0.536 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.3199, allocations: 16.11 kB / 0.536 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.3205, allocations: 298.1 kB / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3218, allocations: 0.7171 MB / 0.537 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.3223, allocations: 282.2 kB / 0.5372 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.3226, allocations: 98.77 kB / 0.5373 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3226, allocations: 5.312 kB / 0.5373 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3226, allocations: 31.81 kB / 0.5374 GB, free: 9.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3226, allocations: 3.938 kB / 0.5374 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007943/0.3234, allocations: 346.3 kB / 0.5377 GB, free: 9.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3235, allocations: 56.47 kB / 0.5377 GB, free: 9.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3237, allocations: 228.4 kB / 0.538 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3237, allocations: 27.23 kB / 0.538 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.3238, allocations: 118.9 kB / 0.5381 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.3239, allocations: 48.84 kB / 0.5382 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.324, allocations: 50.77 kB / 0.5382 GB, free: 8.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3241, allocations: 327.5 kB / 0.5385 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.3243, allocations: 100.9 kB / 0.5386 GB, free: 8.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.3246, allocations: 133.7 kB / 0.5387 GB, free: 8.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.325, allocations: 240.3 kB / 0.539 GB, free: 8.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3251, allocations: 3.938 kB / 0.539 GB, free: 8.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005579/0.3256, allocations: 289.7 kB / 0.5392 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3256, allocations: 9.969 kB / 0.5393 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3257, allocations: 1.25 kB / 0.5393 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3257, allocations: 1.156 kB / 0.5393 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0188/0.3445, allocations: 0.9289 MB / 0.5402 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.366, allocations: 10.74 MB / 0.5507 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.3664, allocations: 19.86 kB / 0.5507 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3664, allocations: 8.141 kB / 0.5507 GB, free: 13.2 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.0001702/0.3666, allocations: 149.7 kB / 0.5508 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3667, allocations: 19.8 kB / 0.5508 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/0.3729, allocations: 0.6289 MB / 0.5515 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3729, allocations: 8 kB / 0.5515 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.373, allocations: 3.984 kB / 0.5515 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.373, allocations: 3.984 kB / 0.5515 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.3734, allocations: 273.4 kB / 0.5517 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3734, allocations: 0 / 0.5517 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.3736, allocations: 35.97 kB / 0.5518 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004809/0.3784, allocations: 306.1 kB / 0.5521 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.3785, allocations: 7.984 kB / 0.5521 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.3948, allocations: 10.3 MB / 0.5621 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3948, allocations: 4.156 kB / 0.5621 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006241/0.401, allocations: 0.6768 MB / 0.5628 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4012, allocations: 92.92 kB / 0.5629 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.4012, allocations: 0 / 0.5629 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4015, allocations: 19.98 kB / 0.5629 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.4017, allocations: 51.78 kB / 0.5629 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.4017, allocations: 7.984 kB / 0.563 GB, free: 15.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4019, allocations: 171.2 kB / 0.5631 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4019, allocations: 0 / 0.5631 GB, free: 15.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006231/0.4026, allocations: 91.94 kB / 0.5632 GB, free: 15.39 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.0002105/0.4028, allocations: 115.2 kB / 0.5633 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01781/0.4206, allocations: 1.076 MB / 0.5644 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4207, allocations: 0 / 0.5644 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.4225, allocations: 0.5233 MB / 0.5649 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.423, allocations: 35.92 kB / 0.5649 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.4256, allocations: 0.664 MB / 0.5656 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.426, allocations: 0.7517 MB / 0.5663 GB, free: 12.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.4261, allocations: 15.44 kB / 0.5663 GB, free: 12.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4261, allocations: 0 / 0.5663 GB, free: 12.1 MB / 430.1 MB Notification: Performance of Templates: time 0.01044/0.4365, allocations: 7.289 MB / 0.5734 GB, free: 4.824 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