Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.2 MB / 186.8 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 11.98 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0795/0.07995, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4328, allocations: 79.75 MB / 351.8 MB, free: 9.961 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.4331, allocations: 69.03 kB / 351.9 MB, free: 9.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04501/0.4781, allocations: 9.935 MB / 361.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4782, allocations: 0 / 361.9 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.4782, allocations: 8 kB / 361.9 MB, free: 1.535 MB / 282.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.001301/0.4795, allocations: 0.5736 MB / 362.4 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4796, allocations: 12.03 kB / 362.4 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.118e-05/0.4797, allocations: 41.81 kB / 362.5 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4798, allocations: 31.72 kB / 362.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.4807, allocations: 357.2 kB / 362.9 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4807, allocations: 11.38 kB / 362.9 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.4808, allocations: 18.69 kB / 362.9 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.4813, allocations: 230.6 kB / 363.1 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4813, allocations: 0 / 363.1 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.4813, allocations: 7.688 kB / 363.1 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4813, allocations: 0 / 363.1 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.4817, allocations: 89.88 kB / 363.2 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.4829, allocations: 0.4965 MB / 363.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.4834, allocations: 174.2 kB / 363.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.4834, allocations: 0 / 363.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4835, allocations: 37.94 kB / 363.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/0.4835, allocations: 0 / 363.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007661/0.4843, allocations: 225.2 kB / 364.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.4844, allocations: 294.5 kB / 364.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.4848, allocations: 244.9 kB / 364.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.4849, allocations: 32.83 kB / 364.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.485, allocations: 208.1 kB / 364.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.4851, allocations: 45.83 kB / 364.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.4851, allocations: 7.375 kB / 365 MB, free: 14.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4852, allocations: 317.9 kB / 365.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.4855, allocations: 100.4 kB / 365.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.4859, allocations: 180.6 kB / 365.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.4863, allocations: 118.8 kB / 365.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4863, allocations: 0 / 365.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007342/0.487, allocations: 280.9 kB / 365.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4871, allocations: 7.938 kB / 365.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/0.4871, allocations: 7.984 kB / 365.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4871, allocations: 3.984 kB / 365.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.4876, allocations: 47.97 kB / 366 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.4876, allocations: 3.953 kB / 366 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.4879, allocations: 38.72 kB / 366 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.4879, allocations: 11.12 kB / 366 MB, free: 13.52 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.0002814/0.4882, allocations: 146.1 kB / 366.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.4883, allocations: 27.62 kB / 366.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.647e-05/0.4884, allocations: 32.02 kB / 366.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4884, allocations: 0 / 366.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4884, allocations: 0 / 366.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.4884, allocations: 3.953 kB / 366.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.4888, allocations: 273.7 kB / 366.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4889, allocations: 0 / 366.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.4892, allocations: 27.92 kB / 366.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4892, allocations: 0 / 366.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.4893, allocations: 10.61 kB / 366.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4893, allocations: 0 / 366.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4893, allocations: 0 / 366.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007384/0.49, allocations: 351.3 kB / 366.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.4902, allocations: 112.6 kB / 367 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.4902, allocations: 4 kB / 367 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.4905, allocations: 12.08 kB / 367 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.4905, allocations: 15.92 kB / 367 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.4906, allocations: 4 kB / 367 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000275/0.4909, allocations: 198.8 kB / 367.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4909, allocations: 8 kB / 367.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005768/0.4915, allocations: 94.58 kB / 367.3 MB, free: 12.3 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.001273/0.4927, allocations: 0.9291 MB / 368.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.4935, allocations: 284.2 kB / 368.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4935, allocations: 0 / 368.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.4937, allocations: 72.64 kB / 368.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.4943, allocations: 58.56 kB / 368.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.4964, allocations: 0.9536 MB / 369.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.4969, allocations: 0.7714 MB / 370.4 MB, free: 9.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.4971, allocations: 83.97 kB / 370.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4971, allocations: 0 / 370.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.668/3.166, allocations: 4.88 MB / 375.4 MB, free: 4.422 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat