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.001755/0.001755, allocations: 112.5 kB / 17.86 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 209.7 kB / 18.79 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.74/1.74, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3109/0.3109, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002538, allocations: 66.55 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.193, allocations: 62.45 MB / 480 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.005815/0.1989, allocations: 1.766 MB / 481.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.2008, allocations: 0.7479 MB / 482.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.201, allocations: 0 / 482.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.2013, allocations: 35.81 kB / 482.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.2018, allocations: 59.78 kB / 482.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.2022, allocations: 51.83 kB / 482.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.2026, allocations: 247.2 kB / 482.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.2027, allocations: 9.406 kB / 482.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2029, allocations: 59.72 kB / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.2032, allocations: 83.66 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.2033, allocations: 7.984 kB / 483 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.2036, allocations: 79.83 kB / 483.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2037, allocations: 43.88 kB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2039, allocations: 67.53 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2042, allocations: 120 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2043, allocations: 0 / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2043, allocations: 0 / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2043, allocations: 0 / 483.3 MB, free: 2.309 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.001176/0.2055, allocations: 462.8 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.913e-05/0.2056, allocations: 8.875 kB / 483.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.2067, allocations: 88.62 kB / 483.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.2072, allocations: 220 kB / 484.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2072, allocations: 4.375 kB / 484.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.2073, allocations: 12.38 kB / 484.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.2082, allocations: 307.9 kB / 484.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.2082, allocations: 4 kB / 484.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.2083, allocations: 4 kB / 484.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/0.2083, allocations: 19.98 kB / 484.4 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.2093, allocations: 295.7 kB / 484.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.2115, allocations: 0.7081 MB / 485.4 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.2124, allocations: 278.2 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.2128, allocations: 108.8 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.2129, allocations: 11.94 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.2129, allocations: 30.56 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.467e-06/0.2129, allocations: 0 / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001357/0.2143, allocations: 348.9 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.2144, allocations: 59.33 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.2148, allocations: 223.2 kB / 486.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.2149, allocations: 33.7 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.215, allocations: 124.1 kB / 486.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.2151, allocations: 43.36 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.2153, allocations: 53.61 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.2155, allocations: 326.8 kB / 487 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2159, allocations: 99.88 kB / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004128/0.2163, allocations: 135.2 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.2171, allocations: 235.1 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.2172, allocations: 3.938 kB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001023/0.2182, allocations: 293.2 kB / 487.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.2183, allocations: 10.34 kB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2183, allocations: 0 / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.2183, allocations: 0 / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03331/0.2516, allocations: 0.9243 MB / 488.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03533/0.287, allocations: 9.963 MB / 498.7 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.2876, allocations: 23.97 kB / 498.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.2877, allocations: 15.97 kB / 498.7 MB, free: 1.859 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.0002748/0.288, allocations: 141.7 kB / 498.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2882, allocations: 23.75 kB / 498.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.2986, allocations: 0.622 MB / 499.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.2987, allocations: 4 kB / 499.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.2987, allocations: 3.984 kB / 499.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.2988, allocations: 0 / 499.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.2995, allocations: 273.4 kB / 499.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.2995, allocations: 0 / 499.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.2999, allocations: 35.97 kB / 499.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/0.311, allocations: 437.9 kB / 0.4885 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-05/0.3111, allocations: 7.984 kB / 0.4885 GB, free: 248 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02455/0.3357, allocations: 9.538 MB / 0.4978 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3358, allocations: 3.984 kB / 0.4978 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.3463, allocations: 0.6756 MB / 0.4985 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.3466, allocations: 104.8 kB / 0.4986 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3467, allocations: 0 / 0.4986 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.3472, allocations: 19.92 kB / 0.4986 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.3476, allocations: 43.91 kB / 0.4987 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.3476, allocations: 7.984 kB / 0.4987 GB, free: 4.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.348, allocations: 168.4 kB / 0.4988 GB, free: 4.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.348, allocations: 0 / 0.4988 GB, free: 4.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001109/0.3491, allocations: 92 kB / 0.4989 GB, free: 4.742 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.0002844/0.3494, allocations: 119 kB / 0.499 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.03221/0.3816, allocations: 1.061 MB / 0.5001 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.3817, allocations: 0 / 0.5001 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.3849, allocations: 0.5309 MB / 0.5006 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.3856, allocations: 31.98 kB / 0.5006 GB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.3904, allocations: 0.7139 MB / 0.5013 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.3911, allocations: 0.7402 MB / 0.502 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.3912, allocations: 19.44 kB / 0.5021 GB, free: 1.422 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3912, allocations: 0 / 0.5021 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Templates: time 0.2652/0.6564, allocations: 7.266 MB / 0.5092 GB, free: 39.93 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