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_edgedOverall_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_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001332/0.001333, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2248/0.2248, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001902, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3476, allocations: 60.81 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003596/0.3512, allocations: 1.778 MB / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3539, allocations: 1.836 MB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.354, allocations: 1 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.3543, allocations: 43.47 kB / 0.522 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.3546, allocations: 86.7 kB / 0.5221 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3559, allocations: 0.56 MB / 0.5226 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.3562, allocations: 241.4 kB / 0.5229 GB, free: 456 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.3564, allocations: 22.25 kB / 0.5229 GB, free: 448 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3566, allocations: 99.44 kB / 0.523 GB, free: 404 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3568, allocations: 110.8 kB / 0.5231 GB, free: 356 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.3568, allocations: 6.688 kB / 0.5231 GB, free: 356 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.3586, allocations: 1.153 MB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3588, allocations: 68.23 kB / 0.5243 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3589, allocations: 103.5 kB / 0.5244 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3601, allocations: 0.7907 MB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3601, allocations: 5.375 kB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3601, allocations: 0 / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3602, allocations: 0 / 0.5252 GB, free: 15.49 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.0009451/0.3611, allocations: 0.6024 MB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3611, allocations: 9.625 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.3612, allocations: 65.7 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.3613, allocations: 27.75 kB / 0.5259 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3616, allocations: 240.4 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.3616, allocations: 16.69 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3616, allocations: 25.73 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.3623, allocations: 372.3 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3623, allocations: 0 / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3623, allocations: 5.375 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.3624, allocations: 40.12 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.363, allocations: 395 kB / 0.5269 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3645, allocations: 1.015 MB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.3651, allocations: 282.2 kB / 0.5282 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.3654, allocations: 104.4 kB / 0.5283 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.3654, allocations: 3.094 kB / 0.5283 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3654, allocations: 32.66 kB / 0.5283 GB, free: 13.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.3654, allocations: 0 / 0.5283 GB, free: 13.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007567/0.3662, allocations: 329.6 kB / 0.5286 GB, free: 12.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3663, allocations: 57.66 kB / 0.5287 GB, free: 12.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3665, allocations: 231.4 kB / 0.5289 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3666, allocations: 29.7 kB / 0.5289 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3667, allocations: 153 kB / 0.5291 GB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.3667, allocations: 76.73 kB / 0.5291 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.3668, allocations: 53.11 kB / 0.5292 GB, free: 12.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.367, allocations: 328.2 kB / 0.5295 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.3672, allocations: 86.86 kB / 0.5296 GB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3674, allocations: 102.2 kB / 0.5297 GB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.3679, allocations: 205.7 kB / 0.5299 GB, free: 11.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3679, allocations: 4 kB / 0.5299 GB, free: 11.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005268/0.3684, allocations: 249.5 kB / 0.5301 GB, free: 11.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3684, allocations: 9.531 kB / 0.5301 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3685, allocations: 1.188 kB / 0.5301 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3685, allocations: 2.5 kB / 0.5301 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.3689, allocations: 95.06 kB / 0.5302 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.3704, allocations: 2.386 MB / 0.5325 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3705, allocations: 33.14 kB / 0.5326 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.3706, allocations: 10.31 kB / 0.5326 GB, free: 9.34 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.0001897/0.3708, allocations: 163.9 kB / 0.5327 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.3708, allocations: 16.84 kB / 0.5328 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.3716, allocations: 353.1 kB / 0.5331 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3716, allocations: 6.172 kB / 0.5331 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3716, allocations: 0.9375 kB / 0.5331 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3717, allocations: 3.984 kB / 0.5331 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.3721, allocations: 315.1 kB / 0.5334 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3721, allocations: 1.125 kB / 0.5334 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.3725, allocations: 93.64 kB / 0.5335 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3725, allocations: 1.219 kB / 0.5335 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3725, allocations: 6.75 kB / 0.5335 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3739, allocations: 2.386 MB / 0.5358 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3739, allocations: 1.5 kB / 0.5358 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.3745, allocations: 364.4 kB / 0.5362 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3746, allocations: 126.3 kB / 0.5363 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3747, allocations: 7.469 kB / 0.5363 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3748, allocations: 15.8 kB / 0.5363 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.3749, allocations: 22.16 kB / 0.5363 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3749, allocations: 10.16 kB / 0.5364 GB, free: 5.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.3751, allocations: 163.8 kB / 0.5365 GB, free: 5.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3751, allocations: 0 / 0.5365 GB, free: 5.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006392/0.3758, allocations: 171.4 kB / 0.5367 GB, free: 5.691 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 (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.001304/0.3771, allocations: 1.025 MB / 0.5377 GB, free: 4.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.3778, allocations: 273 kB / 0.5379 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3778, allocations: 0 / 0.5379 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.3783, allocations: 165.3 kB / 0.5381 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3787, allocations: 49.56 kB / 0.5381 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.3826, allocations: 2.829 MB / 0.5409 GB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.383, allocations: 0.7849 MB / 0.5417 GB, free: 1.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3833, allocations: 87.84 kB / 0.5418 GB, free: 1.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3834, allocations: 82.88 kB / 0.5418 GB, free: 1.805 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3834, allocations: 0 / 0.5418 GB, free: 1.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.4176, allocations: 8.72 MB / 0.5504 GB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.41, allocations: 18.23 kB / 0.5504 GB, free: 10.94 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches