Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001074/0.001074, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 205.2 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.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3273, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002751/0.3301, allocations: 1.777 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.3328, allocations: 1.921 MB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.3329, allocations: 1.375 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.3331, allocations: 44.12 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.3334, allocations: 80.06 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.3344, allocations: 0.5672 MB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.3346, allocations: 240.3 kB / 0.5351 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.3347, allocations: 27.66 kB / 0.5351 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.3349, allocations: 106.3 kB / 0.5352 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3351, allocations: 107.8 kB / 0.5353 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3351, allocations: 6.688 kB / 0.5353 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.3367, allocations: 1.173 MB / 0.5364 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.3368, allocations: 74.31 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3369, allocations: 98.61 kB / 0.5366 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.338, allocations: 0.8049 MB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.338, allocations: 0 / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.338, allocations: 1 kB / 0.5374 GB, free: 8.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.338, allocations: 0 / 0.5374 GB, free: 8.465 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009137/0.339, allocations: 0.6149 MB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.339, allocations: 13.59 kB / 0.538 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.03e-05/0.3391, allocations: 62.16 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.3392, allocations: 28.03 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3394, allocations: 240.6 kB / 0.5383 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3395, allocations: 16.77 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.3395, allocations: 21.44 kB / 0.5384 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.3401, allocations: 376.4 kB / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3401, allocations: 4 kB / 0.5387 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.3401, allocations: 5.625 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.3402, allocations: 36.09 kB / 0.5388 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.3408, allocations: 395.3 kB / 0.5391 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.3422, allocations: 1.019 MB / 0.5401 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.3428, allocations: 279.9 kB / 0.5404 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3431, allocations: 95.16 kB / 0.5405 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.3431, allocations: 8.375 kB / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3431, allocations: 39.94 kB / 0.5405 GB, free: 6.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.3431, allocations: 0 / 0.5405 GB, free: 6.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007221/0.3439, allocations: 323 kB / 0.5408 GB, free: 5.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3439, allocations: 53.62 kB / 0.5409 GB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3441, allocations: 227.8 kB / 0.5411 GB, free: 5.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3442, allocations: 30.95 kB / 0.5411 GB, free: 5.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.3443, allocations: 160.7 kB / 0.5413 GB, free: 5.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.3443, allocations: 76.83 kB / 0.5414 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.3444, allocations: 48.12 kB / 0.5414 GB, free: 5.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3446, allocations: 329.9 kB / 0.5417 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.3447, allocations: 80.77 kB / 0.5418 GB, free: 5.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3449, allocations: 103.7 kB / 0.5419 GB, free: 5.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.3454, allocations: 213.5 kB / 0.5421 GB, free: 4.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3454, allocations: 0 / 0.5421 GB, free: 4.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004964/0.3459, allocations: 254.1 kB / 0.5423 GB, free: 4.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3459, allocations: 8.719 kB / 0.5424 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3459, allocations: 5.094 kB / 0.5424 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.346, allocations: 2.25 kB / 0.5424 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.3464, allocations: 95.97 kB / 0.5425 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.3477, allocations: 2.373 MB / 0.5448 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3479, allocations: 32.73 kB / 0.5448 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.3479, allocations: 15.84 kB / 0.5448 GB, free: 2.312 MB / 398.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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.3481, allocations: 162.2 kB / 0.545 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.3482, allocations: 22.39 kB / 0.545 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.3489, allocations: 352.4 kB / 0.5453 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3489, allocations: 2.594 kB / 0.5453 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.349, allocations: 3.938 kB / 0.5453 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.349, allocations: 5.297 kB / 0.5453 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.3493, allocations: 310.9 kB / 0.5456 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3494, allocations: 4 kB / 0.5456 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.3497, allocations: 89.36 kB / 0.5457 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3498, allocations: 1.344 kB / 0.5457 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3498, allocations: 16.14 kB / 0.5457 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.351, allocations: 2.389 MB / 0.5481 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.351, allocations: 0 / 0.5481 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.3516, allocations: 371 kB / 0.5484 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3517, allocations: 128.8 kB / 0.5486 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3518, allocations: 4 kB / 0.5486 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3519, allocations: 11.98 kB / 0.5486 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.352, allocations: 15.97 kB / 0.5486 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.352, allocations: 12 kB / 0.5486 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3522, allocations: 165.5 kB / 0.5488 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3522, allocations: 0 / 0.5488 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007046/0.3529, allocations: 179.2 kB / 0.5489 GB, free: 14.34 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.3543, allocations: 1.044 MB / 0.5499 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.355, allocations: 259.7 kB / 0.5502 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.355, allocations: 4.125 kB / 0.5502 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.3554, allocations: 167.8 kB / 0.5504 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.3559, allocations: 41.19 kB / 0.5504 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.3593, allocations: 2.826 MB / 0.5532 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3597, allocations: 0.7869 MB / 0.5539 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.36, allocations: 89.69 kB / 0.554 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.3601, allocations: 87.39 kB / 0.5541 GB, free: 8.91 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3601, allocations: 4 kB / 0.5541 GB, free: 8.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.3867, allocations: 8.858 MB / 0.5627 GB, free: 284 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 19.69 kB / 0.5628 GB, free: 268 kB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches