Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 12 kB / 264 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.4859, allocations: 85.07 MB / 393.6 MB, free: 7.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4862, allocations: 71.97 kB / 393.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07989/0.5661, allocations: 16.86 MB / 410.5 MB, free: 6.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5662, allocations: 7.938 kB / 410.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.5662, allocations: 4 kB / 410.6 MB, free: 6.609 MB / 346.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.001734/0.568, allocations: 0.5676 MB / 411.1 MB, free: 5.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.568, allocations: 8.031 kB / 411.1 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/0.5681, allocations: 38.56 kB / 411.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.5682, allocations: 11.81 kB / 411.2 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.5686, allocations: 242.7 kB / 411.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5687, allocations: 4 kB / 411.4 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.5687, allocations: 15.98 kB / 411.4 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.5691, allocations: 128.8 kB / 411.6 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.5691, allocations: 4 kB / 411.6 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.5692, allocations: 4 kB / 411.6 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.5692, allocations: 0 / 411.6 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.5694, allocations: 67.89 kB / 411.6 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.5703, allocations: 396.4 kB / 412 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.5708, allocations: 130.5 kB / 412.2 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.5709, allocations: 0 / 412.2 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5709, allocations: 34.78 kB / 412.2 MB, free: 4.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.5709, allocations: 4 kB / 412.2 MB, free: 4.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.003609/0.5746, allocations: 1.223 MB / 413.4 MB, free: 3.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5747, allocations: 140.4 kB / 413.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.5749, allocations: 153.5 kB / 413.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.575, allocations: 29.7 kB / 413.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.5751, allocations: 116.4 kB / 413.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.5752, allocations: 47.27 kB / 413.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.5752, allocations: 0 / 413.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5754, allocations: 334.8 kB / 414.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.5757, allocations: 95.94 kB / 414.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.576, allocations: 131.4 kB / 414.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.5764, allocations: 116 kB / 414.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5764, allocations: 7.984 kB / 414.6 MB, free: 2.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008887/0.5773, allocations: 302.1 kB / 414.9 MB, free: 1.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5773, allocations: 4 kB / 414.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.5774, allocations: 4 kB / 414.9 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.5776, allocations: 48.81 kB / 414.9 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5779, allocations: 27.98 kB / 414.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.5798, allocations: 1.421 MB / 416.4 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.58, allocations: 4.031 kB / 416.4 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.5801, allocations: 11.98 kB / 416.4 MB, free: 268 kB / 346.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.0002133/0.5803, allocations: 137.8 kB / 416.5 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.5804, allocations: 16 kB / 416.5 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.8e-05/0.5805, allocations: 21.53 kB / 416.5 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5805, allocations: 4 kB / 416.6 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5805, allocations: 0 / 416.6 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5805, allocations: 3.953 kB / 416.6 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3448/0.9253, allocations: 241.9 kB / 416.8 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9254, allocations: 0.6562 kB / 416.8 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.9261, allocations: 51.56 kB / 416.8 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.9261, allocations: 1.094 kB / 416.8 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.9262, allocations: 4.219 kB / 416.8 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.9262, allocations: 8.5 kB / 416.9 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9262, allocations: 1.781 kB / 416.9 MB, free: 87.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009547/0.9358, allocations: 416.6 kB / 417.3 MB, free: 86.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.9359, allocations: 92.42 kB / 417.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.936, allocations: 4.344 kB / 417.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.9363, allocations: 11.97 kB / 417.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.9364, allocations: 8.656 kB / 417.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.9364, allocations: 4.625 kB / 417.4 MB, free: 86.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.9366, allocations: 127.6 kB / 417.5 MB, free: 86.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9367, allocations: 0.5625 kB / 417.5 MB, free: 86.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01054/0.9472, allocations: 0.5334 MB / 418 MB, free: 86.75 MB / 346.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.004437/0.9517, allocations: 1.408 MB / 419.4 MB, free: 86.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.9531, allocations: 395.8 kB / 419.8 MB, free: 85.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9531, allocations: 0 / 419.8 MB, free: 85.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.9535, allocations: 92.17 kB / 419.9 MB, free: 85.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.954, allocations: 24.81 kB / 420 MB, free: 85.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.9566, allocations: 0.8198 MB / 420.8 MB, free: 85.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.9569, allocations: 0.7397 MB / 421.5 MB, free: 84.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.9572, allocations: 35.5 kB / 421.5 MB, free: 84.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.9574, allocations: 41.16 kB / 421.6 MB, free: 84.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.9574, allocations: 0 / 421.6 MB, free: 84.79 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04899/1.006, allocations: 9.442 MB / 431 MB, free: 84.37 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.007, allocations: 243.2 kB / 431.3 MB, free: 84.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.749, allocations: 3.938 kB / 431.3 MB, free: 84.12 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat