Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.755/1.755, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 8 kB / 233.4 MB, free: 2.277 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/0.08367, allocations: 38.76 MB / 272.1 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.4823, allocations: 79.88 MB / 352 MB, free: 9.637 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.4827, allocations: 79.14 kB / 352.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09687/0.5796, allocations: 16.88 MB / 369 MB, free: 9.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5796, allocations: 4 kB / 369 MB, free: 9.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.5797, allocations: 0 / 369 MB, free: 9.969 MB / 298.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.002063/0.5817, allocations: 0.5649 MB / 369.5 MB, free: 9.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.141e-05/0.5818, allocations: 12.03 kB / 369.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.805e-05/0.5819, allocations: 34.19 kB / 369.6 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.282e-05/0.582, allocations: 15.81 kB / 369.6 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.5826, allocations: 239.2 kB / 369.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.5826, allocations: 14.39 kB / 369.8 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.5827, allocations: 14.61 kB / 369.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.5832, allocations: 131.9 kB / 370 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5832, allocations: 0 / 370 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.5832, allocations: 7.062 kB / 370 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5833, allocations: 0 / 370 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.5836, allocations: 63.2 kB / 370 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.5847, allocations: 394.1 kB / 370.4 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.5854, allocations: 128.5 kB / 370.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5854, allocations: 0 / 370.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.5855, allocations: 38.33 kB / 370.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.5855, allocations: 0 / 370.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.003589/0.5891, allocations: 1.224 MB / 371.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.5892, allocations: 136.5 kB / 371.9 MB, free: 6.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.5894, allocations: 163.7 kB / 372.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.5895, allocations: 29.39 kB / 372.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.5896, allocations: 110.9 kB / 372.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.5897, allocations: 57.83 kB / 372.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.5897, allocations: 3.938 kB / 372.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5898, allocations: 326.1 kB / 372.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.5901, allocations: 103.8 kB / 372.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.5904, allocations: 127.4 kB / 372.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.5908, allocations: 113.6 kB / 373 MB, free: 6.047 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5908, allocations: 0 / 373 MB, free: 6.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000889/0.5917, allocations: 311.7 kB / 373.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5917, allocations: 5.406 kB / 373.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.5917, allocations: 4 kB / 373.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.592, allocations: 44.12 kB / 373.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5923, allocations: 31.98 kB / 373.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.594, allocations: 1.42 MB / 374.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.5942, allocations: 16.73 kB / 374.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.5942, allocations: 4 kB / 374.8 MB, free: 4.238 MB / 298.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.0001926/0.5944, allocations: 142.7 kB / 374.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.5945, allocations: 15.81 kB / 374.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.5946, allocations: 19.91 kB / 375 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.5946, allocations: 4.188 kB / 375 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5946, allocations: 4 kB / 375 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5946, allocations: 0 / 375 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.595, allocations: 250.7 kB / 375.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.595, allocations: 0 / 375.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.5955, allocations: 51.95 kB / 375.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/0.5955, allocations: 4.656 kB / 375.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.5956, allocations: 3.625 kB / 375.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5956, allocations: 0 / 375.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5956, allocations: 3.984 kB / 375.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.5965, allocations: 427.5 kB / 375.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.5965, allocations: 88.92 kB / 375.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.5966, allocations: 2.625 kB / 375.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.5968, allocations: 10.06 kB / 375.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.5968, allocations: 13.16 kB / 375.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.5969, allocations: 4.75 kB / 375.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.597, allocations: 133.1 kB / 375.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.597, allocations: 0 / 375.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00233/0.5994, allocations: 0.53 MB / 376.5 MB, free: 2.641 MB / 298.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.003275/0.6027, allocations: 1.428 MB / 377.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.6038, allocations: 396.5 kB / 378.3 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6038, allocations: 4 kB / 378.3 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.6041, allocations: 91.14 kB / 378.4 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6045, allocations: 19.36 kB / 378.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.6065, allocations: 0.7993 MB / 379.2 MB, free: 60 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.6069, allocations: 0.7412 MB / 379.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.6071, allocations: 37.05 kB / 380 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.6072, allocations: 43.55 kB / 380 MB, free: 15.24 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6073, allocations: 0 / 380 MB, free: 15.24 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.6591, allocations: 9.437 MB / 389.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/0.6594, allocations: 239 kB / 389.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.386, allocations: 0 / 389.7 MB, free: 5.676 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat