Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005539, allocations: 11.94 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09816, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.542, allocations: 85.05 MB / 393.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5423, allocations: 73.23 kB / 393.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07288/0.6152, allocations: 16.86 MB / 410.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6152, allocations: 0 / 410.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.6153, allocations: 3.969 kB / 410.5 MB, free: 6.898 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001499/0.6168, allocations: 0.5617 MB / 411.1 MB, free: 6.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6168, allocations: 11.56 kB / 411.1 MB, free: 6.457 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.6169, allocations: 37.92 kB / 411.1 MB, free: 6.414 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.617, allocations: 19.44 kB / 411.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.6173, allocations: 240.1 kB / 411.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.6174, allocations: 7.125 kB / 411.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.6174, allocations: 7.438 kB / 411.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.6177, allocations: 142 kB / 411.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.6178, allocations: 0 / 411.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.6178, allocations: 3.875 kB / 411.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6178, allocations: 0 / 411.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.618, allocations: 65.11 kB / 411.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.6187, allocations: 393.4 kB / 412 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.6192, allocations: 133.4 kB / 412.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.6193, allocations: 0 / 412.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6193, allocations: 38.78 kB / 412.2 MB, free: 5.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.564e-06/0.6193, allocations: 3.984 kB / 412.2 MB, free: 5.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002941/0.6223, allocations: 1.232 MB / 413.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.6223, allocations: 132.4 kB / 413.5 MB, free: 4.688 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.6225, allocations: 159.1 kB / 413.7 MB, free: 4.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.6226, allocations: 28.83 kB / 413.7 MB, free: 4.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.6226, allocations: 173.6 kB / 413.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.6227, allocations: 49.58 kB / 413.9 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.6227, allocations: 3.688 kB / 413.9 MB, free: 4.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.6228, allocations: 329.8 kB / 414.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.6231, allocations: 91.22 kB / 414.3 MB, free: 4.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.6233, allocations: 129.2 kB / 414.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.6236, allocations: 123.4 kB / 414.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6236, allocations: 4 kB / 414.6 MB, free: 3.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007372/0.6244, allocations: 295 kB / 414.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6244, allocations: 3.875 kB / 414.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.6244, allocations: 7.734 kB / 414.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.6247, allocations: 39.86 kB / 414.9 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.625, allocations: 38.75 kB / 415 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.6263, allocations: 1.412 MB / 416.4 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.6265, allocations: 8.031 kB / 416.4 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.6266, allocations: 7.156 kB / 416.4 MB, free: 2.496 MB / 314.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.6268, allocations: 135.8 kB / 416.5 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.6268, allocations: 15.56 kB / 416.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.6269, allocations: 27.02 kB / 416.6 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6269, allocations: 0 / 416.6 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6269, allocations: 0 / 416.6 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6269, allocations: 3.953 kB / 416.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.6272, allocations: 254.3 kB / 416.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6272, allocations: 0 / 416.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.6277, allocations: 54.66 kB / 416.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6278, allocations: 3.938 kB / 416.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.6278, allocations: 3.938 kB / 416.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6278, allocations: 0 / 416.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6278, allocations: 0.6562 kB / 416.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.6285, allocations: 418.4 kB / 417.3 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.6286, allocations: 88.88 kB / 417.4 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.6286, allocations: 7.359 kB / 417.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.6288, allocations: 11.52 kB / 417.4 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.6289, allocations: 11.78 kB / 417.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.6289, allocations: 3.906 kB / 417.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.629, allocations: 133 kB / 417.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.629, allocations: 0 / 417.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00208/0.6311, allocations: 0.5279 MB / 418.1 MB, free: 1.695 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002674/0.6338, allocations: 1.415 MB / 419.5 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009068/0.6348, allocations: 390.9 kB / 419.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6348, allocations: 0 / 419.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.635, allocations: 99.44 kB / 420 MB, free: 0.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.6354, allocations: 27.56 kB / 420 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.6371, allocations: 0.8446 MB / 420.8 MB, free: 140 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.6375, allocations: 0.7378 MB / 421.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.6376, allocations: 48.48 kB / 421.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6376, allocations: 4 kB / 421.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.001/3.639, allocations: 7.735 MB / 429.4 MB, free: 11.42 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat