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.00187/0.00187, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002685/0.002685, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.845/2.845, allocations: 227.4 MB / 247.1 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4217/0.4217, allocations: 46.11 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00257/0.00257, allocations: 72.78 kB / 417.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2049, allocations: 62.45 MB / 480.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.005475/0.2105, allocations: 1.759 MB / 481.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.2128, allocations: 0.7479 MB / 482.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.213, allocations: 0 / 482.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.2134, allocations: 39.81 kB / 482.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.214, allocations: 63.78 kB / 482.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.2144, allocations: 55.75 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.2148, allocations: 155.3 kB / 483 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.2149, allocations: 13.41 kB / 483 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.2151, allocations: 59.7 kB / 483.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.2154, allocations: 83.72 kB / 483.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.2155, allocations: 8 kB / 483.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.2158, allocations: 79.8 kB / 483.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.2159, allocations: 51.81 kB / 483.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2161, allocations: 59.56 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.2165, allocations: 128 kB / 483.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2165, allocations: 4 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2165, allocations: 0 / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2165, allocations: 0 / 483.5 MB, free: 2.242 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.001049/0.2176, allocations: 458.8 kB / 483.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.2177, allocations: 8.031 kB / 483.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.2189, allocations: 80.64 kB / 484 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.2194, allocations: 228 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2194, allocations: 4.375 kB / 484.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.2195, allocations: 16.38 kB / 484.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2205, allocations: 304.8 kB / 484.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2206, allocations: 0 / 484.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.2206, allocations: 11.97 kB / 484.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/0.2207, allocations: 19.98 kB / 484.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2219, allocations: 291.7 kB / 484.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.2244, allocations: 0.7081 MB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/0.2254, allocations: 286.1 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.2258, allocations: 104.8 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.2259, allocations: 7.938 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.226, allocations: 30.56 kB / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.758e-06/0.226, allocations: 0 / 486 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001514/0.2275, allocations: 353.1 kB / 486.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.2276, allocations: 51.41 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.228, allocations: 226.3 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.228, allocations: 29.7 kB / 486.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2281, allocations: 120.1 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.2282, allocations: 39.36 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.2284, allocations: 57.61 kB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2285, allocations: 322.8 kB / 487.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.2289, allocations: 103.9 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.2293, allocations: 138 kB / 487.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.23, allocations: 238.8 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.23, allocations: 3.938 kB / 487.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009875/0.231, allocations: 297.1 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.2311, allocations: 10.5 kB / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.2311, allocations: 0 / 487.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.2311, allocations: 4 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03627/0.2674, allocations: 0.9281 MB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04265/0.3101, allocations: 10.73 MB / 499.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.3108, allocations: 27.86 kB / 499.6 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.3109, allocations: 8.109 kB / 499.6 MB, free: 0.9844 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.0002937/0.3112, allocations: 149.7 kB / 499.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3114, allocations: 19.8 kB / 499.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.3249, allocations: 0.618 MB / 0.4887 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.325, allocations: 4 kB / 0.4887 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.325, allocations: 4 kB / 0.4887 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.325, allocations: 4.094 kB / 0.4887 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.3258, allocations: 277.3 kB / 0.489 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3258, allocations: 0 / 0.489 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.3263, allocations: 39.91 kB / 0.489 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/0.3365, allocations: 302.1 kB / 0.4893 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.3366, allocations: 15.97 kB / 0.4893 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03233/0.369, allocations: 10.31 MB / 0.4994 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.369, allocations: 3.984 kB / 0.4994 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/0.3812, allocations: 0.6769 MB / 0.5 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.3815, allocations: 100.9 kB / 0.5001 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3816, allocations: 0 / 0.5001 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.3822, allocations: 11.98 kB / 0.5001 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.3825, allocations: 51.78 kB / 0.5002 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.3826, allocations: 7.984 kB / 0.5002 GB, free: 3.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.3829, allocations: 167.2 kB / 0.5004 GB, free: 3.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3829, allocations: 0 / 0.5004 GB, free: 3.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001093/0.384, allocations: 96 kB / 0.5005 GB, free: 3.164 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.0003058/0.3844, allocations: 103.8 kB / 0.5006 GB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.03987/0.4243, allocations: 1.095 MB / 0.5016 GB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.4243, allocations: 0 / 0.5016 GB, free: 1.961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.4281, allocations: 0.5271 MB / 0.5021 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.4289, allocations: 37.33 kB / 0.5022 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/0.4346, allocations: 0.7227 MB / 0.5029 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3256/0.7602, allocations: 0.7405 MB / 0.5036 GB, free: 40.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7605, allocations: 14.81 kB / 0.5036 GB, free: 40.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.423e-06/0.7605, allocations: 0 / 0.5036 GB, free: 40.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02255/0.7831, allocations: 7.277 MB / 0.5107 GB, free: 40.38 MB / 382.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