Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.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.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 117.6 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.001097/0.001097, allocations: 199.9 kB / 18.74 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.338/1.338, 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.2129/0.2129, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 83.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3478, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003041/0.3509, allocations: 2.067 MB / 0.5326 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.3537, allocations: 1.989 MB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.3538, allocations: 2.75 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3541, allocations: 69.45 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.3544, allocations: 157.5 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3556, allocations: 0.59 MB / 0.5353 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.356, allocations: 389.5 kB / 0.5357 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.3561, allocations: 33.64 kB / 0.5357 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.3564, allocations: 165.7 kB / 0.5359 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.3566, allocations: 187.2 kB / 0.536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.3567, allocations: 11.72 kB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.3588, allocations: 1.629 MB / 0.5376 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3589, allocations: 98.5 kB / 0.5377 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.3591, allocations: 145.1 kB / 0.5379 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.3606, allocations: 1.075 MB / 0.5389 GB, free: 7.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3606, allocations: 0 / 0.5389 GB, free: 7.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3606, allocations: 1.156 kB / 0.5389 GB, free: 7.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3606, allocations: 0 / 0.5389 GB, free: 7.324 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001072/0.3617, allocations: 0.6892 MB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3617, allocations: 13.62 kB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.959e-05/0.3618, allocations: 82.28 kB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.3619, allocations: 37.52 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3622, allocations: 260.9 kB / 0.54 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3623, allocations: 25.67 kB / 0.54 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.3623, allocations: 32.14 kB / 0.54 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.3631, allocations: 0.5051 MB / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3631, allocations: 0 / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.3631, allocations: 14.89 kB / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.3632, allocations: 52.41 kB / 0.5406 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008092/0.364, allocations: 0.5273 MB / 0.5411 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.3657, allocations: 1.298 MB / 0.5424 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.3665, allocations: 373.1 kB / 0.5427 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.3667, allocations: 132.2 kB / 0.5429 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.3668, allocations: 13.23 kB / 0.5429 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3668, allocations: 36.66 kB / 0.5429 GB, free: 4.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.3668, allocations: 4 kB / 0.5429 GB, free: 4.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009025/0.3677, allocations: 424.5 kB / 0.5433 GB, free: 4.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3678, allocations: 54.91 kB / 0.5434 GB, free: 4.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.3681, allocations: 313.6 kB / 0.5437 GB, free: 4.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3681, allocations: 30.77 kB / 0.5437 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3682, allocations: 195.2 kB / 0.5439 GB, free: 3.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.3683, allocations: 98.39 kB / 0.544 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3684, allocations: 70.31 kB / 0.544 GB, free: 3.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3685, allocations: 338.8 kB / 0.5444 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.3688, allocations: 115.9 kB / 0.5445 GB, free: 3.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.3691, allocations: 167.3 kB / 0.5446 GB, free: 3.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.3696, allocations: 296 kB / 0.5449 GB, free: 2.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3696, allocations: 0 / 0.5449 GB, free: 2.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006418/0.3702, allocations: 375.1 kB / 0.5453 GB, free: 2.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3703, allocations: 4 kB / 0.5453 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3703, allocations: 4.062 kB / 0.5453 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3703, allocations: 7.984 kB / 0.5453 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.3708, allocations: 123.9 kB / 0.5454 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.3724, allocations: 3.008 MB / 0.5483 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.3726, allocations: 39.98 kB / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3727, allocations: 27.98 kB / 0.5484 GB, free: 15.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.3729, allocations: 184.8 kB / 0.5486 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.3729, allocations: 31.75 kB / 0.5486 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008309/0.3738, allocations: 459 kB / 0.5491 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3738, allocations: 0 / 0.5491 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3738, allocations: 7.938 kB / 0.5491 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3738, allocations: 0 / 0.5491 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.3742, allocations: 373.3 kB / 0.5494 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3743, allocations: 0 / 0.5494 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.3747, allocations: 123.8 kB / 0.5495 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3747, allocations: 4 kB / 0.5495 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3748, allocations: 8 kB / 0.5495 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.3763, allocations: 3.008 MB / 0.5525 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.3763, allocations: 8.016 kB / 0.5525 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.377, allocations: 435.9 kB / 0.5529 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.3771, allocations: 108.9 kB / 0.553 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3771, allocations: 15.92 kB / 0.553 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.3773, allocations: 8 kB / 0.553 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.3774, allocations: 23.97 kB / 0.5531 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.3774, allocations: 11.98 kB / 0.5531 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3777, allocations: 225.9 kB / 0.5533 GB, free: 9.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.665e-06/0.3777, allocations: 0 / 0.5533 GB, free: 9.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006366/0.3783, allocations: 199.2 kB / 0.5535 GB, free: 9.621 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.3796, allocations: 1.13 MB / 0.5546 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000858/0.3805, allocations: 363.9 kB / 0.5549 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3805, allocations: 0 / 0.5549 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.3811, allocations: 227.8 kB / 0.5551 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.3816, allocations: 64.44 kB / 0.5552 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.3858, allocations: 3.533 MB / 0.5587 GB, free: 4.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3862, allocations: 0.8379 MB / 0.5595 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002779/0.3865, allocations: 118.8 kB / 0.5596 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3866, allocations: 115.3 kB / 0.5597 GB, free: 3.105 MB / 414.1 MB Notification: Performance of SimCode: time 2.886e-06/0.3867, allocations: 4 kB / 0.5597 GB, free: 3.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4192, allocations: 11.15 MB / 0.5706 GB, free: 8.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 9.266 kB / 0.5706 GB, free: 8.18 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches