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.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.01129/0.0113, allocations: 104.8 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.001371/0.001371, allocations: 184.9 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.085/2.085, allocations: 194.5 MB / 211.3 MB, free: 11 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.3237/0.3237, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006536, allocations: 11.98 kB / 361.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1541, allocations: 54.88 MB / 416 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002623/0.1568, allocations: 1.433 MB / 417.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1596, allocations: 1.222 MB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.1597, allocations: 0 / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1599, allocations: 31.83 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1602, allocations: 55.77 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.1609, allocations: 203.5 kB / 419 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1611, allocations: 71.81 kB / 419.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1612, allocations: 5.125 kB / 419.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1614, allocations: 51.77 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1615, allocations: 51.77 kB / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1615, allocations: 4 kB / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.1626, allocations: 495.2 kB / 419.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.1626, allocations: 11.94 kB / 419.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.1627, allocations: 41.69 kB / 419.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.1633, allocations: 223.8 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1633, allocations: 0 / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1633, allocations: 0 / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1633, allocations: 0 / 419.9 MB, free: 14.62 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006817/0.164, allocations: 427 kB / 420.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1641, allocations: 8.031 kB / 420.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.1641, allocations: 42.56 kB / 420.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.1642, allocations: 11.91 kB / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1643, allocations: 182.8 kB / 420.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1644, allocations: 8 kB / 420.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/0.1644, allocations: 15.95 kB / 420.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1649, allocations: 150.4 kB / 420.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1649, allocations: 0 / 420.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.1649, allocations: 4 kB / 420.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.165, allocations: 4 kB / 420.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.1655, allocations: 147.8 kB / 420.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1668, allocations: 0.5182 MB / 421.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.1672, allocations: 110.6 kB / 421.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.1672, allocations: 11.94 kB / 421.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1673, allocations: 30.56 kB / 421.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.1673, allocations: 0 / 421.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007728/0.1681, allocations: 177.7 kB / 421.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.1681, allocations: 59.34 kB / 421.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1683, allocations: 122 kB / 421.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1683, allocations: 25.7 kB / 421.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1684, allocations: 111.6 kB / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1684, allocations: 39.39 kB / 422.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.1685, allocations: 4 kB / 422.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1686, allocations: 322.8 kB / 422.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.1688, allocations: 43.97 kB / 422.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1691, allocations: 89.11 kB / 422.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.1694, allocations: 51.92 kB / 422.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1694, allocations: 0 / 422.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001417/0.1708, allocations: 173.4 kB / 422.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.1709, allocations: 7.953 kB / 422.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.171, allocations: 0 / 422.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/0.171, allocations: 4 kB / 422.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.1717, allocations: 55.94 kB / 422.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/0.1722, allocations: 0.5939 MB / 423.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1724, allocations: 15.89 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.1724, allocations: 4 kB / 423.4 MB, free: 10.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.1726, allocations: 125.7 kB / 423.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.1727, allocations: 7.906 kB / 423.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.1734, allocations: 182.3 kB / 423.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1734, allocations: 4 kB / 423.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1734, allocations: 0 / 423.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1735, allocations: 0 / 423.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.1739, allocations: 221.5 kB / 424 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1739, allocations: 0 / 424 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.1743, allocations: 47.95 kB / 424 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1743, allocations: 0 / 424 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1743, allocations: 4 kB / 424 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000449/0.1748, allocations: 0.5899 MB / 424.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1748, allocations: 0 / 424.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.1757, allocations: 315.4 kB / 424.9 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1758, allocations: 93.03 kB / 425 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1758, allocations: 4 kB / 425 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.176, allocations: 7.984 kB / 425 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.1761, allocations: 15.98 kB / 425 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.1761, allocations: 8.062 kB / 425 MB, free: 9.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.1762, allocations: 95.14 kB / 425.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1762, allocations: 0 / 425.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005164/0.1768, allocations: 75.84 kB / 425.2 MB, free: 8.918 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.1783, allocations: 0.9076 MB / 426.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007011/0.1791, allocations: 144 kB / 426.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1791, allocations: 0 / 426.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.1795, allocations: 75.89 kB / 426.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.1798, allocations: 4 kB / 426.3 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.1824, allocations: 1.571 MB / 427.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1828, allocations: 0.716 MB / 428.6 MB, free: 5.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.1829, allocations: 24.75 kB / 428.6 MB, free: 5.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1831, allocations: 43.36 kB / 428.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.1831, allocations: 0 / 428.7 MB, free: 5.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.2086, allocations: 3.359 MB / 432 MB, free: 2.051 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.2089, allocations: 260.8 kB / 432.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/2.933, allocations: 0 / 432.3 MB, free: 1.691 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat