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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 112.8 kB / 17.77 MB, free: 5.371 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.001297/0.001297, allocations: 180.9 kB / 18.7 MB, free: 4.453 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2091/0.2091, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3621, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002829/0.365, allocations: 1.69 MB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.366, allocations: 0.7263 MB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.3661, allocations: 1.125 kB / 0.5208 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.3663, allocations: 42.47 kB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3666, allocations: 73.3 kB / 0.5209 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.3668, allocations: 57.11 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.3671, allocations: 152.1 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.3671, allocations: 18.09 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.3672, allocations: 56.06 kB / 0.5212 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3674, allocations: 73.59 kB / 0.5212 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3674, allocations: 8.281 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.3676, allocations: 77.02 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.3677, allocations: 52.64 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.3678, allocations: 64.81 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.3681, allocations: 176 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3681, allocations: 1.281 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3681, allocations: 0 / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3681, allocations: 0 / 0.5216 GB, free: 1.273 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.0005822/0.3687, allocations: 462.7 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3688, allocations: 9.594 kB / 0.5221 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3688, allocations: 56.38 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.3694, allocations: 82.45 kB / 0.5222 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3696, allocations: 219.7 kB / 0.5224 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3697, allocations: 8.594 kB / 0.5224 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.3697, allocations: 15.19 kB / 0.5224 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.3702, allocations: 303.6 kB / 0.5227 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3703, allocations: 0 / 0.5227 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.3703, allocations: 5.797 kB / 0.5227 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.3703, allocations: 19.92 kB / 0.5227 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.3709, allocations: 292.1 kB / 0.523 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3722, allocations: 0.7231 MB / 0.5237 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.3728, allocations: 273 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.373, allocations: 103.4 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.373, allocations: 6.484 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3731, allocations: 34.5 kB / 0.5241 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3731, allocations: 4 kB / 0.5241 GB, free: 15.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008482/0.3739, allocations: 348.6 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.374, allocations: 52.78 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.3742, allocations: 227.8 kB / 0.5247 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3743, allocations: 27.08 kB / 0.5247 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.3743, allocations: 123.7 kB / 0.5249 GB, free: 15.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.3744, allocations: 48.47 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.3745, allocations: 46.08 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3747, allocations: 329.4 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.3749, allocations: 96.97 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.3752, allocations: 130.5 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.3757, allocations: 249.8 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3757, allocations: 1.031 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005749/0.3762, allocations: 298.3 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3763, allocations: 4.781 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3763, allocations: 1.438 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3763, allocations: 2.891 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01823/0.3945, allocations: 0.9281 MB / 0.5269 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.4162, allocations: 10.73 MB / 0.5374 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.4166, allocations: 28.86 kB / 0.5374 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.4166, allocations: 14.05 kB / 0.5375 GB, free: 4.117 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.0002278/0.4169, allocations: 142.5 kB / 0.5376 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.4169, allocations: 14 kB / 0.5376 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006109/0.4231, allocations: 0.6326 MB / 0.5382 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4231, allocations: 0 / 0.5382 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4231, allocations: 0 / 0.5382 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4231, allocations: 0 / 0.5382 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.4235, allocations: 275.8 kB / 0.5385 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4235, allocations: 0 / 0.5385 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.4237, allocations: 41.62 kB / 0.5385 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00459/0.4283, allocations: 304.7 kB / 0.5388 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.4283, allocations: 15.78 kB / 0.5388 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/0.4439, allocations: 10.31 MB / 0.5489 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4439, allocations: 1.125 kB / 0.5489 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/0.45, allocations: 0.6776 MB / 0.5496 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.4501, allocations: 100.4 kB / 0.5496 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.4502, allocations: 5.125 kB / 0.5497 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.4504, allocations: 8.844 kB / 0.5497 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4506, allocations: 57.47 kB / 0.5497 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.4506, allocations: 9.266 kB / 0.5497 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.4508, allocations: 176.6 kB / 0.5499 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4508, allocations: 0 / 0.5499 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006147/0.4514, allocations: 88.38 kB / 0.55 GB, free: 8.734 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.006435/0.4579, allocations: 1.228 MB / 0.5512 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01795/0.4758, allocations: 1.117 MB / 0.5523 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.4759, allocations: 0 / 0.5523 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.4777, allocations: 0.5388 MB / 0.5528 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.4782, allocations: 35.92 kB / 0.5528 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.4838, allocations: 2.782 MB / 0.5555 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.4843, allocations: 0.7519 MB / 0.5563 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.4845, allocations: 49.5 kB / 0.5563 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.4847, allocations: 51.41 kB / 0.5564 GB, free: 2.988 MB / 414.1 MB Notification: Performance of SimCode: time 1.502e-06/0.4847, allocations: 0 / 0.5564 GB, free: 2.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.5196, allocations: 9.916 MB / 0.5661 GB, free: 9.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.73, allocations: 26.78 kB / 0.5661 GB, free: 9.289 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > 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.csv","/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