Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 8 kB / 233.3 MB, free: 172 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08669/0.0871, allocations: 38.77 MB / 272.1 MB, free: 9.312 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.4788, allocations: 79.74 MB / 351.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4791, allocations: 71.97 kB / 351.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04774/0.5269, allocations: 9.948 MB / 361.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5269, allocations: 0 / 361.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.531e-05/0.527, allocations: 4 kB / 361.9 MB, free: 8.652 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001338/0.5283, allocations: 0.5684 MB / 362.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.5284, allocations: 12.02 kB / 362.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.5285, allocations: 50.5 kB / 362.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.5286, allocations: 27.72 kB / 362.5 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.5294, allocations: 358.7 kB / 362.9 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.5295, allocations: 12.19 kB / 362.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.218e-05/0.5295, allocations: 12 kB / 362.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.5301, allocations: 230.3 kB / 363.1 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5301, allocations: 4 kB / 363.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.5301, allocations: 4 kB / 363.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5302, allocations: 8 kB / 363.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.5305, allocations: 88.5 kB / 363.2 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.5318, allocations: 0.4934 MB / 363.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.5324, allocations: 166.5 kB / 363.9 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.5324, allocations: 4 kB / 363.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5324, allocations: 30.56 kB / 363.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 5.79e-06/0.5324, allocations: 4 kB / 363.9 MB, free: 6.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007656/0.5332, allocations: 233.2 kB / 364.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.5334, allocations: 286.7 kB / 364.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004068/0.5338, allocations: 247.6 kB / 364.7 MB, free: 5.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.5339, allocations: 29.7 kB / 364.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.534, allocations: 152.5 kB / 364.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.5341, allocations: 54.83 kB / 364.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.5342, allocations: 12 kB / 364.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5343, allocations: 338.8 kB / 365.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.5347, allocations: 95.94 kB / 365.4 MB, free: 4.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.5351, allocations: 180.4 kB / 365.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.5354, allocations: 116.2 kB / 365.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5354, allocations: 7.875 kB / 365.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008714/0.5363, allocations: 301.1 kB / 365.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5364, allocations: 10.03 kB / 366 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.5364, allocations: 4 kB / 366 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5364, allocations: 0 / 366 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.5369, allocations: 51.95 kB / 366 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.5369, allocations: 3.953 kB / 366 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.5372, allocations: 23.78 kB / 366 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.5372, allocations: 8 kB / 366 MB, free: 4.141 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.5375, allocations: 153.8 kB / 366.2 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.5375, allocations: 31.62 kB / 366.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.5376, allocations: 26.02 kB / 366.3 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5376, allocations: 4 kB / 366.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5377, allocations: 0 / 366.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5377, allocations: 3.953 kB / 366.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.5381, allocations: 265.5 kB / 366.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5381, allocations: 0 / 366.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.5385, allocations: 27.92 kB / 366.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5385, allocations: 4 kB / 366.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.5385, allocations: 4 kB / 366.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5385, allocations: 8 kB / 366.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5385, allocations: 0 / 366.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.5393, allocations: 335.8 kB / 366.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.5395, allocations: 120.7 kB / 367 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.5395, allocations: 11.98 kB / 367 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.5398, allocations: 16.12 kB / 367 MB, free: 3.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.5398, allocations: 7.984 kB / 367 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5399, allocations: 4 kB / 367 MB, free: 3.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003004/0.5402, allocations: 195 kB / 367.2 MB, free: 2.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5402, allocations: 0 / 367.2 MB, free: 2.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005432/0.5407, allocations: 95.92 kB / 367.3 MB, free: 2.766 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.5421, allocations: 0.9418 MB / 368.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.5428, allocations: 280.9 kB / 368.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5429, allocations: 8 kB / 368.6 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.5431, allocations: 67.91 kB / 368.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.5437, allocations: 68.48 kB / 368.7 MB, free: 1.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.5459, allocations: 0.903 MB / 369.6 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.5463, allocations: 0.7794 MB / 370.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.5466, allocations: 41.91 kB / 370.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.5468, allocations: 83.42 kB / 370.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5468, allocations: 4 kB / 370.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.5767, allocations: 5.982 MB / 376.5 MB, free: 9.562 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.5771, allocations: 185.2 kB / 376.7 MB, free: 9.309 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.317, allocations: 0 / 376.7 MB, free: 9.309 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat