Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003662, allocations: 8 kB / 233.1 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07057/0.07096, allocations: 38.77 MB / 271.9 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002026/0.07303, allocations: 1.265 MB / 273.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006065/0.07914, allocations: 3.057 MB / 276.2 MB, free: 7.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.07933, allocations: 7.938 kB / 276.2 MB, free: 7.867 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.07969, allocations: 55.77 kB / 276.3 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.191e-05/0.07978, allocations: 11.97 kB / 276.3 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.08351, allocations: 0.9739 MB / 277.3 MB, free: 6.828 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.08378, allocations: 99.75 kB / 277.4 MB, free: 6.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.0839, allocations: 25.09 kB / 277.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.084, allocations: 51.78 kB / 277.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.08412, allocations: 43.78 kB / 277.5 MB, free: 6.613 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.08416, allocations: 4 kB / 277.5 MB, free: 6.609 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.08589, allocations: 1.05 MB / 278.6 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.086, allocations: 31.91 kB / 278.6 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.08607, allocations: 41.64 kB / 278.6 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.08758, allocations: 1.088 MB / 279.7 MB, free: 4.391 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.298e-06/0.0876, allocations: 0 / 279.7 MB, free: 4.391 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.479e-06/0.08762, allocations: 0 / 279.7 MB, free: 4.391 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.379e-06/0.08764, allocations: 8 kB / 279.7 MB, free: 4.383 MB / 234.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.001066/0.08871, allocations: 0.534 MB / 280.3 MB, free: 3.801 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.08877, allocations: 12.03 kB / 280.3 MB, free: 3.789 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.08884, allocations: 7.906 kB / 280.3 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.08914, allocations: 218.8 kB / 280.5 MB, free: 3.527 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.08918, allocations: 11.95 kB / 280.5 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.08923, allocations: 11.91 kB / 280.5 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.08955, allocations: 129 kB / 280.6 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.08959, allocations: 3.984 kB / 280.6 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.08961, allocations: 0 / 280.6 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.328e-06/0.08963, allocations: 4 kB / 280.6 MB, free: 3.352 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.08984, allocations: 59.89 kB / 280.7 MB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.09065, allocations: 388.5 kB / 281.1 MB, free: 2.863 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.09114, allocations: 134.5 kB / 281.2 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.09118, allocations: 4 kB / 281.2 MB, free: 2.719 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.09122, allocations: 34.56 kB / 281.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 2.889e-06/0.09124, allocations: 0 / 281.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.003046/0.0943, allocations: 1.226 MB / 282.5 MB, free: 1.316 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.09444, allocations: 136.5 kB / 282.6 MB, free: 1.152 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.09467, allocations: 174.3 kB / 282.8 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.09472, allocations: 25.7 kB / 282.8 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.09486, allocations: 174.9 kB / 283 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.09494, allocations: 63.12 kB / 283 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.09497, allocations: 4 kB / 283 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.09515, allocations: 322.8 kB / 283.4 MB, free: 384 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.0954, allocations: 99.94 kB / 283.5 MB, free: 284 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.09569, allocations: 129.1 kB / 283.6 MB, free: 144 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.09598, allocations: 115.9 kB / 283.7 MB, free: 28 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-06/0.096, allocations: 0 / 283.7 MB, free: 28 kB / 234.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007969/0.09681, allocations: 306.4 kB / 284 MB, free: 15.72 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.09685, allocations: 4 kB / 284 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.09689, allocations: 7.984 kB / 284 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.09714, allocations: 40.83 kB / 284.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.09737, allocations: 37.12 kB / 284.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.09914, allocations: 1.421 MB / 285.5 MB, free: 14.08 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.09936, allocations: 12.28 kB / 285.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.0994, allocations: 8 kB / 285.5 MB, free: 14.06 MB / 250.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.0001959/0.09961, allocations: 141.8 kB / 285.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.09968, allocations: 11.81 kB / 285.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.09976, allocations: 25.52 kB / 285.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-06/0.09977, allocations: 0 / 285.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-06/0.09979, allocations: 4 kB / 285.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.09981, allocations: 4.031 kB / 285.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.1002, allocations: 253.5 kB / 286 MB, free: 13.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-06/0.1002, allocations: 4 kB / 286 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1006, allocations: 51.91 kB / 286 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.1006, allocations: 3.938 kB / 286 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.1007, allocations: 4 kB / 286 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.487e-06/0.1007, allocations: 0 / 286 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.322e-06/0.1007, allocations: 3.938 kB / 286 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.1015, allocations: 423.1 kB / 286.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.1016, allocations: 85.02 kB / 286.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1017, allocations: 4.031 kB / 286.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1018, allocations: 8 kB / 286.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.1019, allocations: 7.984 kB / 286.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1019, allocations: 8 kB / 286.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.1021, allocations: 124.2 kB / 286.7 MB, free: 12.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.1021, allocations: 4 kB / 286.7 MB, free: 12.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001589/0.1037, allocations: 0.5156 MB / 287.2 MB, free: 12.3 MB / 250.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.001444/0.1051, allocations: 0.555 MB / 287.7 MB, free: 11.74 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009454/0.1061, allocations: 397.1 kB / 288.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.263e-06/0.1061, allocations: 0 / 288.1 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.1064, allocations: 91.89 kB / 288.2 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1067, allocations: 23.94 kB / 288.2 MB, free: 11.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009042/0.1077, allocations: 486.3 kB / 288.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1081, allocations: 0.7324 MB / 289.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.1082, allocations: 19.44 kB / 289.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of SimCode: time 1.642e-06/0.1082, allocations: 0 / 289.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of Templates: time 0.01556/0.1238, allocations: 7.062 MB / 296.5 MB, free: 2.859 MB / 250.7 MB