Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 117.2 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.002894/0.3392, allocations: 2.062 MB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.342, allocations: 1.915 MB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3422, allocations: 2.219 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.3425, allocations: 72.12 kB / 0.5224 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.3429, allocations: 138 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3442, allocations: 0.5769 MB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.3447, allocations: 386.5 kB / 0.5235 GB, free: 124 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.3448, allocations: 34.88 kB / 0.5235 GB, free: 108 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.345, allocations: 163.4 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.3454, allocations: 187.7 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.3454, allocations: 10.41 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.348, allocations: 1.613 MB / 0.5254 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.3482, allocations: 97.95 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.3484, allocations: 145 kB / 0.5257 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.3501, allocations: 1.05 MB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3501, allocations: 3.938 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3501, allocations: 0 / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3501, allocations: 0 / 0.5267 GB, free: 14.38 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.00122/0.3514, allocations: 0.6802 MB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.3514, allocations: 17.61 kB / 0.5274 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3515, allocations: 77.83 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.3516, allocations: 38.58 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.352, allocations: 270.4 kB / 0.5277 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.352, allocations: 25.39 kB / 0.5278 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.3521, allocations: 32.56 kB / 0.5278 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.353, allocations: 0.4958 MB / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.353, allocations: 0 / 0.5283 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3531, allocations: 14.92 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.172e-05/0.3531, allocations: 56.72 kB / 0.5284 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.3542, allocations: 0.5272 MB / 0.5289 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.3564, allocations: 1.303 MB / 0.5301 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008553/0.3573, allocations: 365.6 kB / 0.5305 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.3576, allocations: 125.5 kB / 0.5306 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/0.3577, allocations: 13.27 kB / 0.5306 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3577, allocations: 44.17 kB / 0.5307 GB, free: 11.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.3577, allocations: 0 / 0.5307 GB, free: 11.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0009518/0.3587, allocations: 432.8 kB / 0.5311 GB, free: 11.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.3587, allocations: 54.69 kB / 0.5311 GB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.3591, allocations: 310.1 kB / 0.5314 GB, free: 11.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3591, allocations: 30.89 kB / 0.5315 GB, free: 11.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.3593, allocations: 210.5 kB / 0.5317 GB, free: 10.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.3594, allocations: 90.69 kB / 0.5317 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3595, allocations: 67.03 kB / 0.5318 GB, free: 10.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3597, allocations: 339.1 kB / 0.5321 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.36, allocations: 126.2 kB / 0.5322 GB, free: 10.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3603, allocations: 157.1 kB / 0.5324 GB, free: 10.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.3609, allocations: 292.9 kB / 0.5327 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3609, allocations: 0 / 0.5327 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007425/0.3617, allocations: 377.2 kB / 0.533 GB, free: 9.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3617, allocations: 5.531 kB / 0.533 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3617, allocations: 9.562 kB / 0.5331 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3617, allocations: 1.281 kB / 0.5331 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.3623, allocations: 130.4 kB / 0.5332 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.3641, allocations: 3.004 MB / 0.5361 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.3644, allocations: 51.8 kB / 0.5362 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.3644, allocations: 14.59 kB / 0.5362 GB, free: 6.828 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 (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.0002176/0.3647, allocations: 179.9 kB / 0.5363 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.3647, allocations: 28.73 kB / 0.5364 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.3657, allocations: 459.3 kB / 0.5368 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3657, allocations: 2.562 kB / 0.5368 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3657, allocations: 1.562 kB / 0.5368 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3657, allocations: 3.984 kB / 0.5368 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.3662, allocations: 366.5 kB / 0.5372 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3662, allocations: 0 / 0.5372 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.3667, allocations: 124.3 kB / 0.5373 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3667, allocations: 2.094 kB / 0.5373 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.3668, allocations: 8.344 kB / 0.5373 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.3686, allocations: 3.012 MB / 0.5402 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3686, allocations: 0 / 0.5402 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.3693, allocations: 448.5 kB / 0.5407 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3694, allocations: 110.4 kB / 0.5408 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3695, allocations: 9.094 kB / 0.5408 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.3697, allocations: 17.67 kB / 0.5408 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.252e-05/0.3697, allocations: 23.81 kB / 0.5408 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.3698, allocations: 12.31 kB / 0.5408 GB, free: 2.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.37, allocations: 224.5 kB / 0.541 GB, free: 2.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.37, allocations: 0 / 0.541 GB, free: 2.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006469/0.3707, allocations: 182.6 kB / 0.5412 GB, free: 2.414 MB / 398.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.001455/0.3722, allocations: 1.118 MB / 0.5423 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.3731, allocations: 367.5 kB / 0.5427 GB, free: 1.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3731, allocations: 0 / 0.5427 GB, free: 1.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.3737, allocations: 226.6 kB / 0.5429 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.3743, allocations: 58.09 kB / 0.5429 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.3792, allocations: 3.528 MB / 0.5464 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.3797, allocations: 0.8417 MB / 0.5472 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.38, allocations: 122.7 kB / 0.5473 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.3802, allocations: 118.6 kB / 0.5474 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3802, allocations: 0 / 0.5474 GB, free: 13.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.4185, allocations: 10.97 MB / 0.5581 GB, free: 2.922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.44, allocations: 12.31 kB / 0.5582 GB, free: 2.914 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches