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.736/1.736, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003633, allocations: 8 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07081/0.0712, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/0.3521, allocations: 67.85 MB / 339.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3524, allocations: 78.27 kB / 339.9 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.3677, allocations: 3.68 MB / 343.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.597e-06/0.3677, allocations: 0 / 343.6 MB, free: 2.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.3677, allocations: 11.98 kB / 343.6 MB, free: 2.945 MB / 266.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.0008375/0.3686, allocations: 490.6 kB / 344.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3686, allocations: 8.031 kB / 344.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.3687, allocations: 27.72 kB / 344.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3691, allocations: 228.2 kB / 344.4 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3691, allocations: 18.58 kB / 344.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.3692, allocations: 22 kB / 344.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.3697, allocations: 204 kB / 344.6 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.3697, allocations: 3.906 kB / 344.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3698, allocations: 10.69 kB / 344.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3698, allocations: 4.219 kB / 344.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.3702, allocations: 136.9 kB / 344.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3715, allocations: 0.7071 MB / 345.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.3719, allocations: 153.6 kB / 345.6 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3719, allocations: 3.938 kB / 345.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.372, allocations: 34.56 kB / 345.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 3.777e-06/0.372, allocations: 4 kB / 345.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.002138/0.3741, allocations: 0.8936 MB / 346.5 MB, free: 208 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.3742, allocations: 51.41 kB / 346.6 MB, free: 144 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.3744, allocations: 159.1 kB / 346.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3745, allocations: 29.39 kB / 346.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3746, allocations: 212.4 kB / 347 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.3747, allocations: 84.31 kB / 347.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.3748, allocations: 7.625 kB / 347.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3749, allocations: 322.7 kB / 347.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3751, allocations: 62.02 kB / 347.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.3753, allocations: 105 kB / 347.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3756, allocations: 73.72 kB / 347.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-06/0.3756, allocations: 0 / 347.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006589/0.3762, allocations: 239.3 kB / 347.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3763, allocations: 4 kB / 347.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3763, allocations: 8.125 kB / 347.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.3765, allocations: 35.7 kB / 347.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.3768, allocations: 51.91 kB / 348 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.3785, allocations: 1.393 MB / 349.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.3787, allocations: 11.84 kB / 349.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3787, allocations: 7.25 kB / 349.4 MB, free: 13.44 MB / 282.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 () * Number of clocked 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.0002008/0.379, allocations: 136.2 kB / 349.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.379, allocations: 19.88 kB / 349.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.3791, allocations: 28.48 kB / 349.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-06/0.3791, allocations: 8 kB / 349.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3791, allocations: 3.953 kB / 349.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.288e-06/0.3791, allocations: 0 / 349.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3804, allocations: 0.6535 MB / 350.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.3805, allocations: 3.984 kB / 350.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.3808, allocations: 51.48 kB / 350.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.381, allocations: 31.77 kB / 350.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.381, allocations: 3.562 kB / 350.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.3826, allocations: 1.399 MB / 351.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3826, allocations: 4.062 kB / 351.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.3835, allocations: 435.4 kB / 352.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3837, allocations: 107.8 kB / 352.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.3837, allocations: 2.875 kB / 352.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3839, allocations: 7.5 kB / 352.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.384, allocations: 19.97 kB / 352.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.384, allocations: 7.312 kB / 352.3 MB, free: 10.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3842, allocations: 130.7 kB / 352.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.3842, allocations: 4 kB / 352.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000494/0.3847, allocations: 59.12 kB / 352.5 MB, free: 10.43 MB / 282.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 () * Number of clocked 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.0001732/0.3849, allocations: 106.4 kB / 352.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007421/0.3856, allocations: 304.4 kB / 352.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.574e-06/0.3857, allocations: 0 / 352.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004192/0.3861, allocations: 211.7 kB / 353.1 MB, free: 9.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3865, allocations: 34.31 kB / 353.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3882, allocations: 0.8568 MB / 354 MB, free: 8.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.3887, allocations: 0.7479 MB / 354.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.3888, allocations: 23.44 kB / 354.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of SimCode: time 1.468e-06/0.3888, allocations: 0 / 354.7 MB, free: 8.188 MB / 282.7 MB Notification: Performance of Templates: time 0.006907/0.3958, allocations: 3.31 MB / 358 MB, free: 4.898 MB / 282.7 MB