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.001321/0.001321, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 79.81 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3849, allocations: 62.43 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.004198/0.3891, allocations: 1.712 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3907, allocations: 0.7594 MB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.3908, allocations: 1 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.391, allocations: 37.5 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.3914, allocations: 67.61 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3916, allocations: 64.53 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.3919, allocations: 152.2 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.392, allocations: 15.14 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3921, allocations: 62.08 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.3923, allocations: 79.42 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3923, allocations: 5.312 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.3925, allocations: 77.33 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3926, allocations: 42.73 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.3927, allocations: 61.83 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.3931, allocations: 185.1 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3931, allocations: 4 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3931, allocations: 1.375 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3931, allocations: 0 / 0.5338 GB, free: 10.99 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.0007084/0.3938, allocations: 463.1 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3939, allocations: 9.625 kB / 0.5342 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.3939, allocations: 42.88 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.3946, allocations: 79.14 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3949, allocations: 231.5 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3949, allocations: 4.5 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3949, allocations: 15.23 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.3955, allocations: 305.1 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3955, allocations: 0 / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.3955, allocations: 5.375 kB / 0.5349 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.3955, allocations: 16.36 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.3962, allocations: 294.6 kB / 0.5352 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3976, allocations: 0.7233 MB / 0.5359 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.3981, allocations: 279 kB / 0.5361 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.3983, allocations: 103 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3984, allocations: 9.344 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3984, allocations: 31.94 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3984, allocations: 1.281 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008247/0.3992, allocations: 348.5 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3993, allocations: 57.53 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3995, allocations: 229.4 kB / 0.5369 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3995, allocations: 29.7 kB / 0.5369 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.3996, allocations: 116.6 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.3997, allocations: 44.44 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3998, allocations: 54.27 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3999, allocations: 327.3 kB / 0.5374 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.4002, allocations: 101.1 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.4005, allocations: 129.9 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.401, allocations: 239.7 kB / 0.5379 GB, free: 7.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.401, allocations: 5 kB / 0.5379 GB, free: 7.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006369/0.4017, allocations: 296.3 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4017, allocations: 5.625 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4017, allocations: 1.344 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4017, allocations: 1.625 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01821/0.4199, allocations: 0.9286 MB / 0.5391 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.4404, allocations: 10.73 MB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.4408, allocations: 21.61 kB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.4408, allocations: 19.95 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.0001704/0.441, allocations: 145.7 kB / 0.5497 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.4411, allocations: 11.81 kB / 0.5497 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00605/0.4471, allocations: 0.6269 MB / 0.5504 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4472, allocations: 4 kB / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.4472, allocations: 0 / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4472, allocations: 0 / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.4475, allocations: 277.4 kB / 0.5506 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4476, allocations: 0 / 0.5506 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.4478, allocations: 35.91 kB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004612/0.4524, allocations: 314.1 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.4525, allocations: 7.984 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.4682, allocations: 10.31 MB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4682, allocations: 0 / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006027/0.4743, allocations: 0.6791 MB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.4744, allocations: 92.92 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.4745, allocations: 11.98 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.4747, allocations: 4 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4749, allocations: 51.72 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.4749, allocations: 11.97 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.4751, allocations: 171.2 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4751, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005824/0.4757, allocations: 96 kB / 0.5621 GB, free: 15.35 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.006366/0.482, allocations: 1.226 MB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01831/0.5004, allocations: 1.115 MB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5004, allocations: 0 / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.5021, allocations: 0.5349 MB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.5025, allocations: 39.36 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.5081, allocations: 2.792 MB / 0.5677 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.5084, allocations: 0.7556 MB / 0.5684 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.5086, allocations: 41.52 kB / 0.5685 GB, free: 8.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.5087, allocations: 51.42 kB / 0.5685 GB, free: 8.602 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5087, allocations: 0 / 0.5685 GB, free: 8.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04655/0.5553, allocations: 10.14 MB / 0.5784 GB, free: 14.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.81, allocations: 8.047 kB / 0.5784 GB, free: 14.69 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