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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.01156/0.01156, allocations: 109.6 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.001198/0.001198, allocations: 181.8 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.264/2.264, allocations: 194.6 MB / 211.3 MB, free: 10.93 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.2897/0.2897, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007391/0.0007394, allocations: 12 kB / 361.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1281, allocations: 54.89 MB / 416.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.00319/0.1313, allocations: 1.713 MB / 417.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.1353, allocations: 1.682 MB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1356, allocations: 0 / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1359, allocations: 63.66 kB / 419.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.1364, allocations: 103.7 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1383, allocations: 0.5069 MB / 420.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1389, allocations: 251.5 kB / 420.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.139, allocations: 28.73 kB / 420.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.1393, allocations: 131.4 kB / 420.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1396, allocations: 139.5 kB / 420.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.451e-05/0.1397, allocations: 8 kB / 420.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.143, allocations: 1.599 MB / 422.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.1433, allocations: 91.64 kB / 422.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1435, allocations: 73.58 kB / 422.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.1449, allocations: 0.5149 MB / 422.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.145, allocations: 7.938 kB / 422.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.145, allocations: 0 / 422.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.145, allocations: 0 / 422.9 MB, free: 11.59 MB / 362.7 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.00148/0.1465, allocations: 0.6159 MB / 423.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1465, allocations: 12.03 kB / 423.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.1467, allocations: 78.52 kB / 423.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.1468, allocations: 35.53 kB / 423.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.1473, allocations: 262.5 kB / 423.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.1473, allocations: 24.64 kB / 424 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.1474, allocations: 31.95 kB / 424 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1487, allocations: 0.4998 MB / 424.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1488, allocations: 8 kB / 424.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.1488, allocations: 11.98 kB / 424.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.1489, allocations: 48.95 kB / 424.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.1504, allocations: 0.5309 MB / 425.1 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.1537, allocations: 1.321 MB / 426.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.155, allocations: 382.3 kB / 426.8 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.819e-05/0.1551, allocations: 12 kB / 426.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1552, allocations: 38.59 kB / 426.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.875e-06/0.1552, allocations: 0 / 426.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001579/0.1568, allocations: 445.4 kB / 427.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.1568, allocations: 51.41 kB / 427.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.1574, allocations: 310.5 kB / 427.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.1574, allocations: 29.7 kB / 427.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1576, allocations: 196.1 kB / 427.8 MB, free: 6.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1577, allocations: 90.73 kB / 427.9 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1578, allocations: 4 kB / 427.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1579, allocations: 338.8 kB / 428.3 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1584, allocations: 123.9 kB / 428.4 MB, free: 5.855 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.1589, allocations: 162.7 kB / 428.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.1594, allocations: 149.2 kB / 428.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1595, allocations: 176 / 428.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001241/0.1607, allocations: 386.5 kB / 429.1 MB, free: 5.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1608, allocations: 7.984 kB / 429.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1608, allocations: 0 / 429.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.1608, allocations: 8 kB / 429.1 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.1619, allocations: 119.8 kB / 429.2 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.1641, allocations: 3.012 MB / 432.2 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.1646, allocations: 47.45 kB / 432.3 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.1647, allocations: 19.98 kB / 432.3 MB, free: 1.832 MB / 362.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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.165, allocations: 173.7 kB / 432.5 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.1651, allocations: 31.62 kB / 432.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.1669, allocations: 475 kB / 432.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.1669, allocations: 7.953 kB / 433 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.167, allocations: 0 / 433 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.167, allocations: 0 / 433 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007108/0.1677, allocations: 373.3 kB / 433.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1677, allocations: 0 / 433.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.1688, allocations: 119.8 kB / 433.4 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.1688, allocations: 0 / 433.4 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.1689, allocations: 15.98 kB / 433.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.1711, allocations: 3.008 MB / 436.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1711, allocations: 288 / 436.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.1723, allocations: 459.1 kB / 436.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1724, allocations: 108.8 kB / 437 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.1725, allocations: 4 kB / 437 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.1729, allocations: 19.98 kB / 437 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.173, allocations: 23.97 kB / 437.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.1731, allocations: 15.94 kB / 437.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003757/0.1735, allocations: 225.9 kB / 437.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1735, allocations: 0 / 437.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.1743, allocations: 183.7 kB / 437.5 MB, free: 12.42 MB / 378.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.1765, allocations: 1.106 MB / 438.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.1783, allocations: 376.1 kB / 439 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1783, allocations: 3.938 kB / 439 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.1794, allocations: 219.8 kB / 439.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.18, allocations: 56.66 kB / 439.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/0.1853, allocations: 2.461 MB / 441.7 MB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.1859, allocations: 0.838 MB / 442.5 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006431/0.1866, allocations: 126.7 kB / 442.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.1868, allocations: 115.3 kB / 442.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1869, allocations: 3.938 kB / 442.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.335/0.5219, allocations: 10.15 MB / 452.9 MB, free: 59.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.5222, allocations: 268.1 kB / 453.2 MB, free: 59.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/3.55, allocations: 7.25 kB / 453.2 MB, free: 59.08 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat