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.001723/0.001723, allocations: 118.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 202 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3504, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002781/0.3532, allocations: 1.69 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3544, allocations: 0.7642 MB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.3545, allocations: 1.594 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.3547, allocations: 35.97 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.355, allocations: 69.73 kB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3552, allocations: 64.72 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3554, allocations: 156.2 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3555, allocations: 13.66 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.3556, allocations: 63.2 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3557, allocations: 79.28 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3557, allocations: 5.5 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.3559, allocations: 77.52 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.356, allocations: 41.92 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.3561, allocations: 62.08 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3563, allocations: 178.7 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3564, allocations: 4 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3564, allocations: 1.344 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3564, allocations: 0 / 0.5337 GB, free: 10.98 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.00064/0.357, allocations: 470.2 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3571, allocations: 9.312 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.3571, allocations: 47.84 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.3577, allocations: 83.2 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.358, allocations: 227.9 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.358, allocations: 16.28 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3581, allocations: 7.25 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.3586, allocations: 297.2 kB / 0.5349 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3586, allocations: 1.125 kB / 0.5349 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.3586, allocations: 5.25 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.3587, allocations: 21.08 kB / 0.5349 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.3592, allocations: 297.6 kB / 0.5352 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.3605, allocations: 0.7158 MB / 0.5359 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.361, allocations: 278.5 kB / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.3612, allocations: 99.42 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3612, allocations: 10.25 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3613, allocations: 31.72 kB / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3613, allocations: 0 / 0.5363 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008068/0.3621, allocations: 353 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3621, allocations: 53.44 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3623, allocations: 225.3 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3624, allocations: 35.02 kB / 0.5369 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.3625, allocations: 119.4 kB / 0.537 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.3625, allocations: 49.47 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.78e-05/0.3626, allocations: 50.36 kB / 0.5371 GB, free: 8.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3627, allocations: 327.9 kB / 0.5374 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.363, allocations: 101.1 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3632, allocations: 130.8 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.3637, allocations: 247.9 kB / 0.5379 GB, free: 7.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3637, allocations: 1.094 kB / 0.5379 GB, free: 7.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005729/0.3643, allocations: 288 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3643, allocations: 5.531 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3643, allocations: 1.062 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3643, allocations: 6.281 kB / 0.5382 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01853/0.3829, allocations: 0.921 MB / 0.5391 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.4038, allocations: 10.74 MB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.4042, allocations: 20.14 kB / 0.5496 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.4043, allocations: 14.81 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.0001786/0.4044, allocations: 153.7 kB / 0.5497 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.4045, allocations: 15.91 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00609/0.4106, allocations: 0.6297 MB / 0.5504 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4106, allocations: 8 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4106, allocations: 3.984 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4107, allocations: 4 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.411, allocations: 265.5 kB / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.4111, allocations: 0 / 0.5506 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4113, allocations: 39.97 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004676/0.416, allocations: 310 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.416, allocations: 7.984 kB / 0.551 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.4319, allocations: 10.31 MB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.432, allocations: 4.031 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006127/0.4381, allocations: 0.6723 MB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.4383, allocations: 100.9 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.4383, allocations: 4 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.4386, allocations: 7.984 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.4388, allocations: 47.84 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4388, allocations: 15.97 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.439, allocations: 167.2 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.439, allocations: 0 / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006344/0.4396, 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.006513/0.4461, allocations: 1.237 MB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01854/0.4647, allocations: 1.127 MB / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4648, allocations: 0 / 0.5644 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.4665, allocations: 0.5388 MB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.467, allocations: 27.98 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.005332/0.4723, allocations: 2.796 MB / 0.5677 GB, free: 9.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4727, allocations: 0.7478 MB / 0.5684 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.4728, 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 9.285e-05/0.4729, allocations: 55.42 kB / 0.5685 GB, free: 8.57 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4729, allocations: 0 / 0.5685 GB, free: 8.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.5041, allocations: 9.936 MB / 0.5782 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.75, allocations: 11.59 kB / 0.5782 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