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.FilterWithRiseTime.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.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1099, allocations: 44.51 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.54, allocations: 84.93 MB / 393.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5403, allocations: 70.25 kB / 393.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04136/0.5817, allocations: 9.915 MB / 403.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5817, allocations: 0 / 403.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.5818, allocations: 15.72 kB / 403.5 MB, free: 11.14 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001205/0.583, allocations: 0.5733 MB / 404 MB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.5831, allocations: 7.781 kB / 404 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.583e-05/0.5831, allocations: 40.91 kB / 404.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.5832, allocations: 38.95 kB / 404.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.584, allocations: 353.7 kB / 404.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.584, allocations: 11.5 kB / 404.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.5841, allocations: 15.25 kB / 404.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.5845, allocations: 228.8 kB / 404.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5846, allocations: 0 / 404.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.5846, allocations: 0 / 404.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5846, allocations: 3.875 kB / 404.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.5849, allocations: 103.6 kB / 404.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.586, allocations: 496.6 kB / 405.3 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.5864, allocations: 170.2 kB / 405.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.5865, allocations: 7.875 kB / 405.5 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.5865, allocations: 34.19 kB / 405.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.166e-06/0.5865, allocations: 0 / 405.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000669/0.5872, allocations: 233.9 kB / 405.7 MB, free: 9.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.5873, allocations: 282.7 kB / 406 MB, free: 9.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.5876, allocations: 250.9 kB / 406.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.5877, allocations: 36.16 kB / 406.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.5878, allocations: 207 kB / 406.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.5878, allocations: 49.92 kB / 406.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.5879, allocations: 0 / 406.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.588, allocations: 324.8 kB / 406.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.5882, allocations: 95.53 kB / 406.9 MB, free: 8.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.5886, allocations: 172.9 kB / 407.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.5889, allocations: 124.3 kB / 407.2 MB, free: 8.383 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5889, allocations: 4 kB / 407.2 MB, free: 8.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006645/0.5896, allocations: 289.1 kB / 407.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5896, allocations: 3.938 kB / 407.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/0.5897, allocations: 11.36 kB / 407.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5897, allocations: 0 / 407.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.5901, allocations: 50.62 kB / 407.6 MB, free: 8.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5902, allocations: 3.938 kB / 407.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.5904, allocations: 27.33 kB / 407.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.5904, allocations: 11.56 kB / 407.6 MB, free: 8.266 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 (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.0002005/0.5907, allocations: 146.6 kB / 407.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.5907, allocations: 31.14 kB / 407.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.5908, allocations: 28.97 kB / 407.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.5908, allocations: 0 / 407.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5908, allocations: 112 / 407.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5909, allocations: 7.781 kB / 407.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.5912, allocations: 266.7 kB / 408.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5912, allocations: 4 kB / 408.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.5916, allocations: 27.23 kB / 408.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5916, allocations: 0 / 408.1 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.5916, allocations: 7.859 kB / 408.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5917, allocations: 0 / 408.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5917, allocations: 7.953 kB / 408.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006595/0.5923, allocations: 340.6 kB / 408.5 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.5924, allocations: 96.67 kB / 408.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.5925, allocations: 15.64 kB / 408.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.5927, allocations: 11.27 kB / 408.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.5928, allocations: 7.859 kB / 408.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.5928, allocations: 3.938 kB / 408.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.593, allocations: 192.1 kB / 408.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.593, allocations: 0 / 408.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005312/0.5936, allocations: 99.58 kB / 408.9 MB, free: 7.434 MB / 314.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.00109/0.5947, allocations: 0.9315 MB / 409.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006343/0.5953, allocations: 282.9 kB / 410.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5954, allocations: 0 / 410.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.5955, allocations: 68.92 kB / 410.2 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.5962, allocations: 66.47 kB / 410.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.5981, allocations: 0.9322 MB / 411.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.5984, allocations: 0.7833 MB / 412 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.5986, allocations: 85.47 kB / 412 MB, free: 5.109 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5986, allocations: 3.938 kB / 412 MB, free: 5.105 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.711/3.309, allocations: 4.879 MB / 416.9 MB, free: 2.648 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat