Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01611/0.01611, allocations: 107.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001992/0.001992, allocations: 181.5 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.074/2.074, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2803/0.2803, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 15.94 kB / 361.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 54.87 MB / 416 MB, free: 9 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002795/0.1206, allocations: 1.468 MB / 417.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.1243, allocations: 1.589 MB / 419.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1245, allocations: 0 / 419.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1249, allocations: 43.73 kB / 419.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.1252, allocations: 51.84 kB / 419.2 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.1269, allocations: 0.5146 MB / 419.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.1273, allocations: 155.7 kB / 419.9 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1274, allocations: 25.66 kB / 419.9 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.1276, allocations: 83.62 kB / 420 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1278, allocations: 87.67 kB / 420.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.1279, allocations: 11.94 kB / 420.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.1303, allocations: 1.143 MB / 421.2 MB, free: 3.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1305, allocations: 55.81 kB / 421.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1306, allocations: 61.58 kB / 421.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1318, allocations: 435.5 kB / 421.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1319, allocations: 0 / 421.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1319, allocations: 0 / 421.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1319, allocations: 8 kB / 421.8 MB, free: 3.246 MB / 314.7 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.001204/0.1331, allocations: 0.5652 MB / 422.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1332, allocations: 8.031 kB / 422.3 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.1333, allocations: 66.53 kB / 422.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.1334, allocations: 27.62 kB / 422.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.1337, allocations: 226.7 kB / 422.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1338, allocations: 20.44 kB / 422.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.1339, allocations: 16 kB / 422.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.1348, allocations: 380.4 kB / 423 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1348, allocations: 0 / 423 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.1349, allocations: 11.94 kB / 423.1 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.491e-05/0.135, allocations: 40.62 kB / 423.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1361, allocations: 402.3 kB / 423.5 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.1384, allocations: 1.032 MB / 424.5 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2895/0.428, allocations: 290.2 kB / 424.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-05/0.4281, allocations: 8.453 kB / 424.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4281, allocations: 32.53 kB / 424.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.086e-06/0.4282, allocations: 2.906 kB / 424.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001338/0.4295, allocations: 341.8 kB / 425.2 MB, free: 16.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4296, allocations: 54.66 kB / 425.2 MB, free: 16.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.4299, allocations: 225.9 kB / 425.5 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.43, allocations: 29.06 kB / 425.5 MB, free: 16.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.4301, allocations: 155.9 kB / 425.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.4302, allocations: 70.27 kB / 425.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.4302, allocations: 2.812 kB / 425.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.4303, allocations: 330.7 kB / 426 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.4307, allocations: 82 kB / 426.1 MB, free: 16.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.431, allocations: 116.1 kB / 426.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.4315, allocations: 94.58 kB / 426.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4315, allocations: 5.938 kB / 426.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009442/0.4325, allocations: 270.1 kB / 426.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4325, allocations: 9 kB / 426.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4325, allocations: 0.875 kB / 426.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4325, allocations: 2.688 kB / 426.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.4334, allocations: 88.34 kB / 426.7 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.4345, allocations: 2.385 MB / 429.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.4349, allocations: 33.19 kB / 429.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.4349, allocations: 10.75 kB / 429.1 MB, free: 13.74 MB / 314.7 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002408/0.4352, allocations: 168.3 kB / 429.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.4353, allocations: 18.72 kB / 429.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.4367, allocations: 365.1 kB / 429.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4367, allocations: 2.969 kB / 429.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4367, allocations: 0.6094 kB / 429.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4367, allocations: 6.703 kB / 429.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.4373, allocations: 315.6 kB / 430 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4373, allocations: 1.219 kB / 430 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.4382, allocations: 95.62 kB / 430.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.4382, allocations: 5.656 kB / 430.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.4382, allocations: 9.703 kB / 430.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.4394, allocations: 2.382 MB / 432.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4394, allocations: 7.891 kB / 432.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/0.4404, allocations: 368.5 kB / 432.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.4406, allocations: 130.1 kB / 433 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.4407, allocations: 5.734 kB / 433 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/0.4412, allocations: 16.45 kB / 433 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.4413, allocations: 22.17 kB / 433 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.4414, allocations: 10.94 kB / 433 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.4417, allocations: 170.1 kB / 433.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4417, allocations: 0 / 433.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007614/0.4425, allocations: 159.2 kB / 433.3 MB, free: 10.62 MB / 314.7 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001836/0.4443, allocations: 1.035 MB / 434.4 MB, free: 9.902 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.4457, allocations: 270.1 kB / 434.6 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4457, allocations: 1.344 kB / 434.6 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.4466, allocations: 179.7 kB / 434.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.4471, allocations: 36.92 kB / 434.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.451, allocations: 1.933 MB / 436.8 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.4515, allocations: 0.7934 MB / 437.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004416/0.4519, allocations: 82.78 kB / 437.7 MB, free: 8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.4521, allocations: 85.41 kB / 437.7 MB, free: 7.941 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4521, allocations: 0 / 437.7 MB, free: 7.941 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.5053, allocations: 7.996 MB / 445.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.5057, allocations: 262.4 kB / 446 MB, free: 5.539 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.615, allocations: 0 / 446 MB, free: 5.539 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat