Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.975e-05, allocations: 8 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3151, allocations: 67.77 MB / 335.4 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3154, allocations: 63.97 kB / 335.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.3307, allocations: 3.674 MB / 339.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3307, allocations: 0 / 339.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.3308, allocations: 8 kB / 339.1 MB, free: 1.801 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007124/0.3315, allocations: 474.2 kB / 339.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3315, allocations: 8.031 kB / 339.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.3316, allocations: 27.62 kB / 339.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.332, allocations: 227.4 kB / 339.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.332, allocations: 12.44 kB / 339.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.3321, allocations: 23.95 kB / 339.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3325, allocations: 201.9 kB / 340.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3326, allocations: 0 / 340.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.3326, allocations: 8 kB / 340.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3326, allocations: 8 kB / 340.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.3329, allocations: 113.7 kB / 340.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.3343, allocations: 0.7093 MB / 340.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.3347, allocations: 142.5 kB / 341 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.3348, allocations: 72.78 kB / 341.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3349, allocations: 4 kB / 341.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3349, allocations: 34.56 kB / 341.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.88e-06/0.3349, allocations: 3.938 kB / 341.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.00183/0.3368, allocations: 0.8111 MB / 342 MB, free: 14.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3368, allocations: 55.41 kB / 342 MB, free: 14.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3371, allocations: 150.7 kB / 342.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3371, allocations: 29.7 kB / 342.2 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3373, allocations: 214.7 kB / 342.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.3374, allocations: 86.8 kB / 342.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.3374, allocations: 4 kB / 342.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3376, allocations: 323 kB / 342.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3377, allocations: 51.98 kB / 342.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.3379, allocations: 104.1 kB / 343 MB, free: 13.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3381, allocations: 59.92 kB / 343 MB, free: 13.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.7e-06/0.3381, allocations: 7.953 kB / 343 MB, free: 13.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005716/0.3387, allocations: 226.2 kB / 343.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.3387, allocations: 5.094 kB / 343.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.3388, allocations: 0 / 343.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.339, allocations: 36.83 kB / 343.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.3393, allocations: 51.92 kB / 343.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.3409, allocations: 1.375 MB / 344.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3412, allocations: 20 kB / 344.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3412, allocations: 12 kB / 344.7 MB, free: 11.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.3413, allocations: 116.9 kB / 344.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.3414, allocations: 23.72 kB / 344.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.3415, allocations: 29.64 kB / 344.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-06/0.3415, allocations: 0 / 344.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.988e-06/0.3415, allocations: 4 kB / 344.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3416, allocations: 0 / 344.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3428, allocations: 0.6409 MB / 345.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3429, allocations: 0 / 345.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.3432, allocations: 47.91 kB / 345.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.3434, allocations: 36.91 kB / 345.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.3434, allocations: 8 kB / 345.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.345, allocations: 1.378 MB / 347 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.345, allocations: 0 / 347 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.3458, allocations: 409 kB / 347.4 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.346, allocations: 108.9 kB / 347.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.346, allocations: 8 kB / 347.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3462, allocations: 8 kB / 347.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.3463, allocations: 15.97 kB / 347.6 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3463, allocations: 8 kB / 347.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3465, allocations: 129.2 kB / 347.7 MB, free: 8.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.3465, allocations: 4 kB / 347.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.347, allocations: 59.94 kB / 347.8 MB, free: 8.414 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.3472, allocations: 111.2 kB / 347.9 MB, free: 8.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.3479, allocations: 274.4 kB / 348.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.085e-06/0.3479, allocations: 0 / 348.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.3483, allocations: 210.7 kB / 348.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3487, allocations: 35.94 kB / 348.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3501, allocations: 0.5687 MB / 348.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3506, allocations: 0.7516 MB / 349.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.3507, allocations: 19.44 kB / 349.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of SimCode: time 1.834e-06/0.3507, allocations: 4 kB / 349.7 MB, free: 6.359 MB / 298.7 MB Notification: Performance of Templates: time 0.007358/0.358, allocations: 3.312 MB / 353 MB, free: 3.051 MB / 298.7 MB