Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001004, allocations: 199.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008055/0.0008057, allocations: 91.09 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3099/0.3099, allocations: 45.01 MB / 397 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002354, allocations: 8 kB / 470.8 MB, free: 7.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3026, allocations: 63.09 MB / 0.5214 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.001707/0.3043, allocations: 1.518 MB / 0.5229 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3056, allocations: 1.333 MB / 0.5242 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.3056, allocations: 0 / 0.5242 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3059, allocations: 41.03 kB / 0.5242 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3061, allocations: 64.66 kB / 0.5243 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.3063, allocations: 116.3 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.3066, allocations: 287.4 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.3066, allocations: 16.95 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3068, allocations: 79.95 kB / 0.5247 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.307, allocations: 109.1 kB / 0.5248 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.307, allocations: 7.812 kB / 0.5249 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.3072, allocations: 121.1 kB / 0.525 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.3073, allocations: 53.28 kB / 0.525 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.3074, allocations: 107.3 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.3076, allocations: 245.2 kB / 0.5254 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3077, allocations: 3.938 kB / 0.5254 GB, free: 35.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3077, allocations: 0 / 0.5254 GB, free: 35.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3077, allocations: 0 / 0.5254 GB, free: 35.59 MB / 378.7 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.0008145/0.3085, allocations: 0.5082 MB / 0.5259 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3085, allocations: 11.03 kB / 0.5259 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.3089, allocations: 72.34 kB / 0.5259 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3091, allocations: 219.9 kB / 0.5261 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3091, allocations: 7.297 kB / 0.5262 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3091, allocations: 12.61 kB / 0.5262 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.3096, allocations: 283.8 kB / 0.5264 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3096, allocations: 0 / 0.5264 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3096, allocations: 0 / 0.5264 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.3096, allocations: 19.3 kB / 0.5265 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.3101, allocations: 254.5 kB / 0.5267 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/0.311, allocations: 0.8163 MB / 0.5275 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.3113, allocations: 199.6 kB / 0.5277 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.3116, allocations: 114 kB / 0.5278 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.3116, allocations: 11.09 kB / 0.5278 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3116, allocations: 40.88 kB / 0.5278 GB, free: 33.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.3116, allocations: 0 / 0.5278 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008285/0.3125, allocations: 349.8 kB / 0.5282 GB, free: 33.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3125, allocations: 105.8 kB / 0.5283 GB, free: 33.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.3127, allocations: 257.4 kB / 0.5285 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3127, allocations: 29.7 kB / 0.5286 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.3128, allocations: 141.7 kB / 0.5287 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3128, allocations: 33.72 kB / 0.5287 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.3128, allocations: 3.031 kB / 0.5287 GB, free: 33.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.3129, allocations: 329.1 kB / 0.529 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.3131, allocations: 113 kB / 0.5291 GB, free: 33.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3134, allocations: 150.9 kB / 0.5293 GB, free: 32.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.3138, allocations: 249.6 kB / 0.5295 GB, free: 32.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3138, allocations: 0 / 0.5295 GB, free: 32.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005302/0.3143, allocations: 308 kB / 0.5298 GB, free: 32.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3144, allocations: 5.688 kB / 0.5298 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.3144, allocations: 10.16 kB / 0.5298 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3144, allocations: 3.125 kB / 0.5298 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3146, allocations: 47.41 kB / 0.5299 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3146, allocations: 3.984 kB / 0.5299 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.3148, allocations: 39.3 kB / 0.5299 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3148, allocations: 9.656 kB / 0.5299 GB, free: 32.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.315, allocations: 152.7 kB / 0.5301 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.315, allocations: 16.66 kB / 0.5301 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.3154, allocations: 222 kB / 0.5303 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3154, allocations: 2.906 kB / 0.5303 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3155, allocations: 4 kB / 0.5303 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3155, allocations: 96 / 0.5303 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3157, allocations: 269.1 kB / 0.5306 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.3158, allocations: 13.22 kB / 0.5306 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.3159, allocations: 39.23 kB / 0.5306 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3159, allocations: 0 / 0.5306 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.316, allocations: 3.125 kB / 0.5306 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.316, allocations: 2.625 kB / 0.5306 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.316, allocations: 6.953 kB / 0.5306 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.3165, allocations: 0.4971 MB / 0.5311 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.3165, allocations: 99.97 kB / 0.5312 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.3166, allocations: 2.75 kB / 0.5312 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3168, allocations: 29.81 kB / 0.5312 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.3169, allocations: 11.78 kB / 0.5313 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.3169, allocations: 12.38 kB / 0.5313 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.317, allocations: 190.1 kB / 0.5314 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.317, allocations: 0 / 0.5314 GB, free: 31.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.3174, allocations: 74.86 kB / 0.5315 GB, free: 31.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002038/0.3176, allocations: 155.6 kB / 0.5317 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005391/0.3181, allocations: 310 kB / 0.532 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3181, allocations: 0 / 0.532 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.3184, allocations: 192.5 kB / 0.5321 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.3189, allocations: 39.12 kB / 0.5322 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.3197, allocations: 0.5268 MB / 0.5327 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3199, allocations: 0.7414 MB / 0.5334 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.32, allocations: 40.36 kB / 0.5335 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.3201, allocations: 25.39 kB / 0.5335 GB, free: 30.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3201, allocations: 3.938 kB / 0.5335 GB, free: 30.39 MB / 378.7 MB Notification: Performance of Templates: time 0.007359/0.3274, allocations: 3.317 MB / 0.5367 GB, free: 30.11 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches