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.001198/0.001197, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, 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.2122/0.2122, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.354, 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.002996/0.3571, allocations: 1.705 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3583, allocations: 0.7631 MB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3584, allocations: 0.9062 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.3586, allocations: 32.64 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.3589, allocations: 68.95 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.3591, allocations: 73.55 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.3594, allocations: 144.7 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.3594, allocations: 21.25 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.3595, allocations: 60.23 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3597, allocations: 75.19 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3597, allocations: 4.781 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3599, allocations: 81.55 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.36, allocations: 43.23 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.3601, allocations: 66.42 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3603, allocations: 176.8 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3604, allocations: 1.438 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3604, allocations: 0 / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.3604, 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.0006632/0.361, allocations: 474.4 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3611, allocations: 9.625 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.3612, allocations: 48.23 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006596/0.3618, allocations: 79.23 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.3621, allocations: 223.6 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3621, allocations: 8.5 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.3621, allocations: 15.23 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.3627, allocations: 305.1 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3627, allocations: 0 / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3627, allocations: 1.375 kB / 0.5349 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.3628, allocations: 20.36 kB / 0.5349 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.3633, allocations: 293.4 kB / 0.5352 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3648, allocations: 0.7205 MB / 0.5359 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.3653, allocations: 281.9 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.3656, allocations: 98.81 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3656, allocations: 6.781 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3656, allocations: 38.5 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3657, allocations: 1.312 kB / 0.5363 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008222/0.3665, allocations: 344.4 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3665, allocations: 53.94 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3668, allocations: 224.6 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.3668, allocations: 30.97 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.3669, allocations: 130.7 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.367, allocations: 42.09 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.23e-05/0.3671, allocations: 45.92 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3672, allocations: 332.3 kB / 0.5374 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3674, allocations: 96.84 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.3677, allocations: 135.2 kB / 0.5377 GB, free: 7.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.3682, allocations: 240.7 kB / 0.5379 GB, free: 7.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3682, allocations: 0 / 0.5379 GB, free: 7.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005729/0.3688, allocations: 296.9 kB / 0.5382 GB, free: 7.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3688, allocations: 5.75 kB / 0.5382 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3688, allocations: 1.188 kB / 0.5382 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3688, allocations: 5.172 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01887/0.3877, allocations: 0.9292 MB / 0.5391 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/0.4092, allocations: 10.75 MB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.4096, allocations: 19.88 kB / 0.5496 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.4096, allocations: 7.984 kB / 0.5496 GB, free: 13.15 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.0001748/0.4098, allocations: 145.7 kB / 0.5497 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.4099, allocations: 15.91 kB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006176/0.4161, allocations: 0.6375 MB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4161, allocations: 4 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4161, allocations: 0 / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4161, allocations: 0 / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.4165, allocations: 265.5 kB / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4165, allocations: 0 / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.4167, allocations: 39.91 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004616/0.4213, allocations: 306.1 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.4214, allocations: 15.97 kB / 0.551 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/0.4371, allocations: 10.31 MB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4371, allocations: 4.031 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/0.4433, allocations: 0.6741 MB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.4434, allocations: 108.9 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.4435, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.4438, allocations: 8 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.4439, allocations: 55.77 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.444, allocations: 7.984 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.4441, allocations: 167.2 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4441, allocations: 3.938 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006065/0.4447, allocations: 92 kB / 0.5621 GB, free: 15.34 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.006557/0.4513, allocations: 1.228 MB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01876/0.4701, allocations: 1.123 MB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4701, allocations: 0 / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.472, allocations: 0.531 MB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.4724, allocations: 39.91 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.4776, allocations: 2.795 MB / 0.5677 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.478, allocations: 0.7556 MB / 0.5685 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.4781, allocations: 45.52 kB / 0.5685 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.4782, allocations: 51.41 kB / 0.5686 GB, free: 8.574 MB / 430.1 MB Notification: Performance of SimCode: time 2.875e-06/0.4782, allocations: 0 / 0.5686 GB, free: 8.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.5119, allocations: 9.927 MB / 0.5782 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.77, allocations: 12.36 kB / 0.5783 GB, free: 14.86 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches