Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 111.3 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 186.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1939/0.1939, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3246, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.003179/0.3278, allocations: 1.677 MB / 0.5212 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3292, allocations: 0.7374 MB / 0.5219 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.3293, allocations: 1.156 kB / 0.5219 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.3296, allocations: 37.45 kB / 0.522 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.33, allocations: 68.27 kB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3303, allocations: 61.47 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.3306, allocations: 156.1 kB / 0.5223 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.3307, allocations: 9.469 kB / 0.5223 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3308, allocations: 61.06 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.331, allocations: 77.59 kB / 0.5224 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.331, allocations: 9.25 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.3313, allocations: 79.61 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.823e-05/0.3314, allocations: 48.17 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.3315, allocations: 57 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.3319, allocations: 186 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3319, allocations: 0.9688 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3319, allocations: 0 / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3319, allocations: 0 / 0.5228 GB, free: 1.586 MB / 382.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.0007011/0.3326, allocations: 458.8 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3327, allocations: 10.95 kB / 0.5232 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006897/0.3333, allocations: 78.67 kB / 0.5233 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3336, allocations: 232.4 kB / 0.5235 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3336, allocations: 7.875 kB / 0.5235 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.3337, allocations: 11.16 kB / 0.5235 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.3343, allocations: 299.7 kB / 0.5238 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3343, allocations: 7.938 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3344, allocations: 1.438 kB / 0.5238 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.3344, allocations: 20.83 kB / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.3351, allocations: 295.5 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3366, allocations: 0.7108 MB / 0.5248 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.3372, allocations: 285.1 kB / 0.5251 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.3374, allocations: 99.11 kB / 0.5252 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3374, allocations: 2.172 kB / 0.5252 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.3375, allocations: 43.94 kB / 0.5252 GB, free: 152 kB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.3375, allocations: 0 / 0.5252 GB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008883/0.3384, allocations: 341.4 kB / 0.5255 GB, free: 68 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3384, allocations: 54.16 kB / 0.5256 GB, free: 4 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.3387, allocations: 227.3 kB / 0.5258 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.3388, allocations: 27.08 kB / 0.5258 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3389, allocations: 122.6 kB / 0.526 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.3389, allocations: 45.62 kB / 0.526 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.339, allocations: 51.45 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3392, allocations: 326.9 kB / 0.5264 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3395, allocations: 96.75 kB / 0.5265 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3397, allocations: 136.4 kB / 0.5266 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.3402, allocations: 244.1 kB / 0.5268 GB, free: 15.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3403, allocations: 5.219 kB / 0.5268 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006447/0.3409, allocations: 294.5 kB / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3409, allocations: 5.5 kB / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.341, allocations: 0 / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.341, allocations: 2.75 kB / 0.5271 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01863/0.3596, allocations: 0.9249 MB / 0.528 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02223/0.3819, allocations: 10.74 MB / 0.5385 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.3823, allocations: 24.08 kB / 0.5385 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.3824, allocations: 10.89 kB / 0.5385 GB, free: 4.371 MB / 398.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.0003049/0.3827, allocations: 141.6 kB / 0.5387 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.3828, allocations: 22.94 kB / 0.5387 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006197/0.389, allocations: 0.6331 MB / 0.5393 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.389, allocations: 2.625 kB / 0.5393 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.389, allocations: 0 / 0.5393 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.389, allocations: 3.984 kB / 0.5393 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.3895, allocations: 278.9 kB / 0.5396 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3895, allocations: 1.031 kB / 0.5396 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.3898, allocations: 33.5 kB / 0.5396 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004705/0.3945, allocations: 305.3 kB / 0.5399 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.3945, allocations: 10.55 kB / 0.5399 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/0.4109, allocations: 10.3 MB / 0.55 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4109, allocations: 0 / 0.55 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006221/0.4172, allocations: 0.6835 MB / 0.5506 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.4173, allocations: 91.8 kB / 0.5507 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.4174, allocations: 1.062 kB / 0.5507 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.4177, allocations: 13.61 kB / 0.5507 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.4179, allocations: 48.72 kB / 0.5508 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.418, allocations: 8.609 kB / 0.5508 GB, free: 9.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.4182, allocations: 173.2 kB / 0.551 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4182, allocations: 1.469 kB / 0.551 GB, free: 9.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007827/0.419, allocations: 95.09 kB / 0.5511 GB, free: 8.992 MB / 414.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.0002224/0.4192, allocations: 118.1 kB / 0.5512 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01793/0.4372, allocations: 1.069 MB / 0.5522 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.4372, allocations: 1.875 kB / 0.5522 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.4392, allocations: 0.5286 MB / 0.5527 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4397, allocations: 32.17 kB / 0.5528 GB, free: 7.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.4423, allocations: 0.6775 MB / 0.5534 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.4427, allocations: 0.744 MB / 0.5541 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.4428, allocations: 15.44 kB / 0.5542 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4428, allocations: 0 / 0.5542 GB, free: 6.473 MB / 414.1 MB Notification: Performance of Templates: time 0.01026/0.4531, allocations: 7.291 MB / 0.5613 GB, free: 15.2 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches