Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Filter.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.Filter,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 8 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3362, allocations: 44.52 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1515/0.4878, allocations: 85.21 MB / 393.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.4881, allocations: 71.97 kB / 393.8 MB, free: 7.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4458/0.934, allocations: 35.52 MB / 429.4 MB, free: 83.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.934, allocations: 0 / 429.4 MB, free: 83.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.022e-05/0.9341, allocations: 17.09 kB / 429.4 MB, free: 83.14 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002584/0.9367, allocations: 0.8981 MB / 430.3 MB, free: 82.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9367, allocations: 7.531 kB / 430.3 MB, free: 82.53 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/0.9368, allocations: 51 kB / 430.3 MB, free: 82.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.937, allocations: 50.03 kB / 430.4 MB, free: 82.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.938, allocations: 454.5 kB / 430.8 MB, free: 82.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.938, allocations: 13.16 kB / 430.8 MB, free: 82.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.9382, allocations: 27.25 kB / 430.9 MB, free: 82.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.9388, allocations: 332.1 kB / 431.2 MB, free: 81.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9388, allocations: 0 / 431.2 MB, free: 81.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.9389, allocations: 15.8 kB / 431.2 MB, free: 81.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.9389, allocations: 2.812 kB / 431.2 MB, free: 81.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.9393, allocations: 147.6 kB / 431.4 MB, free: 81.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.9409, allocations: 0.6865 MB / 432 MB, free: 81.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.9418, allocations: 331 kB / 432.4 MB, free: 81.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.9419, allocations: 3.438 kB / 432.4 MB, free: 81.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.9419, allocations: 42.47 kB / 432.4 MB, free: 81.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.365e-06/0.9419, allocations: 0 / 432.4 MB, free: 81.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.001047/0.943, allocations: 389.1 kB / 432.8 MB, free: 81.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.9431, allocations: 367.5 kB / 433.1 MB, free: 80.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.9436, allocations: 357.3 kB / 433.5 MB, free: 80.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.9437, allocations: 37.45 kB / 433.5 MB, free: 80.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.9438, allocations: 197.6 kB / 433.7 MB, free: 80.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.9439, allocations: 89.27 kB / 433.8 MB, free: 80.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.944, allocations: 4 kB / 433.8 MB, free: 80.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.9441, allocations: 353.7 kB / 434.2 MB, free: 79.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.9447, allocations: 199 kB / 434.4 MB, free: 79.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.9455, allocations: 307.2 kB / 434.7 MB, free: 79.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007275/0.9463, allocations: 239 kB / 434.9 MB, free: 79.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.9463, allocations: 3.719 kB / 434.9 MB, free: 79.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002146/0.9484, allocations: 0.6431 MB / 435.5 MB, free: 79.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.9485, allocations: 3.75 kB / 435.5 MB, free: 79.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.755e-05/0.9485, allocations: 11.3 kB / 435.6 MB, free: 79.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007977/0.9494, allocations: 133 kB / 435.7 MB, free: 79.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.95, allocations: 60.58 kB / 435.7 MB, free: 79.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/0.9546, allocations: 4.258 MB / 440 MB, free: 75.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.9552, allocations: 50.72 kB / 440 MB, free: 75.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.9553, allocations: 19.05 kB / 440.1 MB, free: 75.26 MB / 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003716/0.9556, allocations: 174.7 kB / 440.2 MB, free: 75.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.9558, allocations: 37.84 kB / 440.3 MB, free: 75.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.9559, allocations: 50.48 kB / 440.3 MB, free: 75.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.9559, allocations: 3.75 kB / 440.3 MB, free: 75.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.956, allocations: 3.938 kB / 440.3 MB, free: 75.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.956, allocations: 0 / 440.3 MB, free: 75.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.9566, allocations: 340.8 kB / 440.7 MB, free: 74.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9566, allocations: 3.656 kB / 440.7 MB, free: 74.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/0.9573, allocations: 40.8 kB / 440.7 MB, free: 74.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9573, allocations: 0 / 440.7 MB, free: 74.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.9574, allocations: 11.36 kB / 440.7 MB, free: 74.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.9574, allocations: 7.703 kB / 440.7 MB, free: 74.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9574, allocations: 7.938 kB / 440.7 MB, free: 74.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.9587, allocations: 0.5137 MB / 441.2 MB, free: 74.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.9588, allocations: 108.1 kB / 441.4 MB, free: 74.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.9589, allocations: 15.02 kB / 441.4 MB, free: 74.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.9593, allocations: 18.86 kB / 441.4 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.9594, allocations: 15.28 kB / 441.4 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.9595, allocations: 7.219 kB / 441.4 MB, free: 74.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004771/0.96, allocations: 269.3 kB / 441.7 MB, free: 74.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.96, allocations: 3.938 kB / 441.7 MB, free: 74.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003353/0.9634, allocations: 0.6975 MB / 442.4 MB, free: 74.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.00474/0.9681, allocations: 1.652 MB / 444 MB, free: 73.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.9706, allocations: 0.9558 MB / 445 MB, free: 72.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.9707, allocations: 0 / 445 MB, free: 72.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.9711, allocations: 118.4 kB / 445.1 MB, free: 72.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.9722, allocations: 98 kB / 445.2 MB, free: 72.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.9766, allocations: 1.53 MB / 446.7 MB, free: 70.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.977, allocations: 0.85 MB / 447.6 MB, free: 70.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000423/0.9775, allocations: 73.67 kB / 447.6 MB, free: 70.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.9778, allocations: 130.5 kB / 447.8 MB, free: 70.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.9778, allocations: 0 / 447.8 MB, free: 70.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.091, allocations: 16.18 MB / 464 MB, free: 59.14 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/1.091, allocations: 229.6 kB / 464.2 MB, free: 58.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/4.315, allocations: 0 / 464.2 MB, free: 58.89 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat