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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.385, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002843/0.3879, allocations: 1.709 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.389, allocations: 0.7559 MB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.3891, allocations: 2.094 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3893, allocations: 34.62 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.3896, allocations: 64.55 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3898, allocations: 64.53 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.39, allocations: 157.6 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.3901, allocations: 13.64 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.3902, allocations: 63.2 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3903, allocations: 79.23 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3904, allocations: 4.125 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.3905, allocations: 70.75 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.3906, allocations: 49.97 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.3907, allocations: 62.05 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.3911, allocations: 185 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3911, allocations: 1.312 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.3911, allocations: 0 / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3911, allocations: 3.938 kB / 0.5338 GB, free: 11 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.0007393/0.3918, allocations: 458.8 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3919, allocations: 13.22 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.3919, allocations: 44.31 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006244/0.3926, allocations: 78.86 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3929, allocations: 235.8 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3929, allocations: 3.844 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.3929, allocations: 11.28 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.3935, allocations: 297.6 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3936, allocations: 1.469 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.3936, allocations: 8 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.3936, allocations: 17.61 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.3942, allocations: 301.6 kB / 0.5352 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3956, allocations: 0.7208 MB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.3961, allocations: 277.7 kB / 0.5361 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.3963, allocations: 103.5 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3963, allocations: 1.25 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3963, allocations: 35.69 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.3963, allocations: 0 / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007938/0.3971, allocations: 346.2 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3972, allocations: 52.84 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.3974, allocations: 228.6 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3975, allocations: 31.11 kB / 0.5369 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.3976, allocations: 119 kB / 0.537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3976, allocations: 49.73 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.3977, allocations: 54.8 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3978, allocations: 326.8 kB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.3981, allocations: 101.9 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3983, allocations: 125.3 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.3988, allocations: 244.3 kB / 0.5379 GB, free: 7.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3988, allocations: 0 / 0.5379 GB, free: 7.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000553/0.3994, allocations: 295.7 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3994, allocations: 5.406 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3994, allocations: 5.094 kB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3994, allocations: 2.25 kB / 0.5382 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01949/0.4189, allocations: 0.9245 MB / 0.5391 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/0.448, allocations: 10.74 MB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.4486, allocations: 24 kB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/0.4487, allocations: 11.97 kB / 0.5496 GB, free: 13.16 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.0002828/0.449, allocations: 141.8 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.4492, allocations: 15.81 kB / 0.5497 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008589/0.4578, allocations: 0.6352 MB / 0.5504 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.4578, allocations: 4 kB / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4578, allocations: 0 / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4578, allocations: 0 / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.4582, allocations: 273.4 kB / 0.5506 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4583, allocations: 0 / 0.5506 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.4586, allocations: 35.97 kB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00742/0.4661, allocations: 302.1 kB / 0.5509 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.4661, allocations: 11.98 kB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02384/0.49, allocations: 10.31 MB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.49, allocations: 3.969 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008287/0.4983, allocations: 0.676 MB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4985, allocations: 92.92 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.4986, allocations: 3.984 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.499, allocations: 12 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.4993, allocations: 51.78 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.4993, allocations: 11.97 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.4996, allocations: 171.2 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4996, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009216/0.5005, allocations: 92 kB / 0.5621 GB, free: 15.36 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.00875/0.5093, allocations: 1.222 MB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02361/0.5329, allocations: 1.119 MB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.533, allocations: 0 / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.5351, allocations: 0.535 MB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.5355, allocations: 43.48 kB / 0.565 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.5412, allocations: 2.789 MB / 0.5677 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.5417, allocations: 0.7517 MB / 0.5684 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.5419, allocations: 45.52 kB / 0.5685 GB, free: 8.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.542, allocations: 51.36 kB / 0.5685 GB, free: 8.613 MB / 430.1 MB Notification: Performance of SimCode: time 2.164e-06/0.542, allocations: 0 / 0.5685 GB, free: 8.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.5871, allocations: 10.14 MB / 0.5784 GB, free: 14.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.85, allocations: 15.53 kB / 0.5784 GB, free: 14.7 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > 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