Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001619, allocations: 118.2 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.001592/0.001592, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3419, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003913/0.3458, allocations: 1.823 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3475, allocations: 1.037 MB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.3476, allocations: 1.312 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3479, allocations: 40.28 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.3482, allocations: 63.22 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.3487, allocations: 142.3 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.3491, allocations: 216.1 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.3491, allocations: 15.05 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.3494, allocations: 104.5 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3497, allocations: 97.02 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.3497, allocations: 12.66 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.35, allocations: 133.6 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.812e-05/0.3501, allocations: 51.12 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3503, allocations: 85.58 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.3507, allocations: 261.5 kB / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3507, allocations: 0 / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3507, allocations: 0 / 0.5345 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3507, allocations: 0 / 0.5345 GB, free: 10.45 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.001042/0.3518, allocations: 0.5297 MB / 0.535 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3518, allocations: 9.625 kB / 0.535 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.3519, allocations: 48.23 kB / 0.5351 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003548/0.3523, allocations: 55 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3526, allocations: 243.3 kB / 0.5354 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3526, allocations: 6.109 kB / 0.5354 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.3526, allocations: 11.25 kB / 0.5354 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.3532, allocations: 269.7 kB / 0.5356 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3532, allocations: 1 kB / 0.5356 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.3532, allocations: 8.984 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.3533, allocations: 18.72 kB / 0.5357 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.3539, allocations: 222 kB / 0.5359 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.355, allocations: 0.8091 MB / 0.5367 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.3554, allocations: 194.2 kB / 0.5368 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.3557, allocations: 100.8 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.3557, allocations: 2.75 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3558, allocations: 31.91 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/0.3558, allocations: 4 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009803/0.3568, allocations: 321.1 kB / 0.5373 GB, free: 8.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3568, allocations: 104.3 kB / 0.5374 GB, free: 8.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.3571, allocations: 277.2 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3572, allocations: 25.7 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3573, allocations: 133.5 kB / 0.5378 GB, free: 7.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.3573, allocations: 37.38 kB / 0.5378 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.3574, allocations: 43.53 kB / 0.5379 GB, free: 7.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3576, allocations: 332.3 kB / 0.5382 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3578, allocations: 98.73 kB / 0.5383 GB, free: 7.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.3581, allocations: 128.6 kB / 0.5384 GB, free: 7.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.3587, allocations: 226.3 kB / 0.5386 GB, free: 7.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3587, allocations: 4.938 kB / 0.5386 GB, free: 7.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006907/0.3594, allocations: 271.8 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3594, allocations: 7.594 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.3595, allocations: 11.59 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3595, allocations: 6.453 kB / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.3597, allocations: 34 kB / 0.5389 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3597, allocations: 9.281 kB / 0.539 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.3599, allocations: 33.66 kB / 0.539 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.36, allocations: 19.09 kB / 0.539 GB, free: 6.914 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.3601, allocations: 137.6 kB / 0.5391 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.3602, allocations: 20.73 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.3607, allocations: 221.6 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3607, allocations: 6.156 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3607, allocations: 1.719 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3607, allocations: 1.531 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.3611, allocations: 262.7 kB / 0.5396 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.3612, allocations: 14.14 kB / 0.5396 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.3614, allocations: 34.8 kB / 0.5397 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3614, allocations: 1.125 kB / 0.5397 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3614, allocations: 3.375 kB / 0.5397 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3614, allocations: 1.219 kB / 0.5397 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3614, allocations: 5.062 kB / 0.5397 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.3621, allocations: 485.9 kB / 0.5401 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.3622, allocations: 100.8 kB / 0.5402 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3623, allocations: 5.047 kB / 0.5402 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.3626, allocations: 18.86 kB / 0.5403 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.3626, allocations: 21.73 kB / 0.5403 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3627, allocations: 8.484 kB / 0.5403 GB, free: 5.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3629, allocations: 193.4 kB / 0.5405 GB, free: 5.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3629, allocations: 0 / 0.5405 GB, free: 5.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.3633, allocations: 75.27 kB / 0.5405 GB, free: 5.695 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.3646, allocations: 1.053 MB / 0.5416 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.3653, allocations: 290.1 kB / 0.5419 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3653, allocations: 0 / 0.5419 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.3656, allocations: 182.9 kB / 0.542 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.3662, allocations: 39.58 kB / 0.5421 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/0.3706, allocations: 2.831 MB / 0.5448 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.371, allocations: 0.743 MB / 0.5456 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.3711, allocations: 43.61 kB / 0.5456 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3712, allocations: 52.05 kB / 0.5456 GB, free: 1.539 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3712, allocations: 0 / 0.5456 GB, free: 1.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3957, allocations: 5.944 MB / 0.5515 GB, free: 11.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.122, allocations: 21.12 kB / 0.5515 GB, free: 11.89 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches