Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.Filter.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.Filter,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 171.1 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 15.94 kB / 233.3 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.0834, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3684/0.4518, allocations: 80.03 MB / 352.1 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4522, allocations: 72.27 kB / 352.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1973/0.6495, allocations: 35.63 MB / 387.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6496, allocations: 0 / 387.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.191e-05/0.6497, allocations: 20.06 kB / 387.9 MB, free: 10.04 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004458/0.6542, allocations: 0.8844 MB / 388.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.6543, allocations: 8.031 kB / 388.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000203/0.6545, allocations: 52.67 kB / 388.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.6548, allocations: 51.39 kB / 388.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.6567, allocations: 440.8 kB / 389.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.6568, allocations: 17.09 kB / 389.3 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.657, allocations: 30.22 kB / 389.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6581, allocations: 342.5 kB / 389.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.6582, allocations: 0 / 389.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.6582, allocations: 7.938 kB / 389.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6583, allocations: 4 kB / 389.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.659, allocations: 150.4 kB / 389.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.6619, allocations: 0.6933 MB / 390.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.6635, allocations: 311.3 kB / 390.8 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.6636, allocations: 8.125 kB / 390.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/0.6637, allocations: 42.55 kB / 390.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 8.425e-06/0.6637, allocations: 3.984 kB / 390.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001797/0.6655, allocations: 386.5 kB / 391.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002535/0.6658, allocations: 363.8 kB / 391.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.6667, allocations: 358.2 kB / 392 MB, free: 6.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.6668, allocations: 36.95 kB / 392 MB, free: 6.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.667, allocations: 190.3 kB / 392.2 MB, free: 5.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6671, allocations: 82.23 kB / 392.3 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.6672, allocations: 15.8 kB / 392.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6673, allocations: 361.8 kB / 392.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.6679, allocations: 198.4 kB / 392.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.6685, allocations: 307 kB / 393.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.6691, allocations: 242.3 kB / 393.4 MB, free: 5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6692, allocations: 3.938 kB / 393.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001801/0.671, allocations: 0.6351 MB / 394 MB, free: 4.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.671, allocations: 4 kB / 394 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.282e-05/0.6711, allocations: 15.92 kB / 394 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007069/0.6718, allocations: 127.8 kB / 394.1 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.6724, allocations: 67.86 kB / 394.2 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.6772, allocations: 4.258 MB / 398.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.6777, allocations: 50.72 kB / 398.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.6777, allocations: 19.48 kB / 398.5 MB, free: 15.82 MB / 330.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.0003485/0.6781, allocations: 173.5 kB / 398.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.6782, allocations: 39.48 kB / 398.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.6783, allocations: 44.12 kB / 398.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6783, allocations: 0 / 398.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6784, allocations: 3.984 kB / 398.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6784, allocations: 4 kB / 398.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.6789, allocations: 350 kB / 399.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6789, allocations: 0 / 399.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.6795, allocations: 46.91 kB / 399.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.6796, allocations: 4 kB / 399.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.6796, allocations: 15.06 kB / 399.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6796, allocations: 0 / 399.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6796, allocations: 0 / 399.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.6808, allocations: 0.5076 MB / 399.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.681, allocations: 112.6 kB / 399.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.6811, allocations: 15.27 kB / 399.8 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.6814, allocations: 15.61 kB / 399.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.6815, allocations: 15.97 kB / 399.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.6815, allocations: 7.984 kB / 399.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004608/0.682, allocations: 271.7 kB / 400.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.682, allocations: 4 kB / 400.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002969/0.685, allocations: 0.6913 MB / 400.8 MB, free: 13.7 MB / 330.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.004601/0.6896, allocations: 1.666 MB / 402.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.6919, allocations: 0.9496 MB / 403.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.692, allocations: 0 / 403.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.6924, allocations: 123.9 kB / 403.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/0.6932, allocations: 97.38 kB / 403.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.6975, allocations: 1.527 MB / 405.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.6982, allocations: 0.8535 MB / 406 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.6986, allocations: 70.92 kB / 406.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.6989, allocations: 127.4 kB / 406.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6989, allocations: 0 / 406.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/0.7583, allocations: 16.19 MB / 422.4 MB, free: 8.086 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/0.7587, allocations: 221.1 kB / 422.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/4.081, allocations: 4.062 kB / 422.6 MB, free: 7.84 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat