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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.606/1.606, allocations: 171.3 MB / 179.2 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.572e-05, allocations: 4.219 kB / 222.5 MB, free: 4.75 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2081, allocations: 38.77 MB / 261.3 MB, free: 13.01 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3105, allocations: 67.1 MB / 328.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3108, allocations: 67.95 kB / 328.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.3261, allocations: 3.646 MB / 332.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.942e-06/0.3261, allocations: 4 kB / 332.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.3262, allocations: 7.938 kB / 332.1 MB, free: 6.699 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.0007249/0.3269, allocations: 470.2 kB / 332.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3269, allocations: 8.031 kB / 332.6 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.327, allocations: 27.62 kB / 332.6 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.3274, allocations: 223.5 kB / 332.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3274, allocations: 12 kB / 332.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.3275, allocations: 16.17 kB / 332.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002933/0.3278, allocations: 96.86 kB / 332.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.3282, allocations: 176.9 kB / 333.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.3282, allocations: 7.984 kB / 333.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3283, allocations: 0 / 333.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-06/0.3283, allocations: 4 kB / 333.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.3296, allocations: 0.6582 MB / 333.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3299, allocations: 130.6 kB / 333.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3301, allocations: 56.86 kB / 334 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3301, allocations: 4 kB / 334 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3302, allocations: 34.5 kB / 334 MB, free: 4.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.926e-06/0.3302, allocations: 0 / 334 MB, free: 4.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0018/0.332, allocations: 0.7642 MB / 334.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3321, allocations: 51.41 kB / 334.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3323, allocations: 141.5 kB / 335 MB, free: 3.57 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3323, allocations: 25.7 kB / 335 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.3325, allocations: 210.8 kB / 335.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.3326, allocations: 90.66 kB / 335.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.3326, allocations: 4 kB / 335.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3328, allocations: 322.8 kB / 335.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3329, allocations: 40 kB / 335.6 MB, free: 2.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3331, allocations: 89.33 kB / 335.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3333, allocations: 59.92 kB / 335.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-06/0.3333, allocations: 0 / 335.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005413/0.3338, allocations: 206.2 kB / 336 MB, free: 2.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3339, allocations: 5.406 kB / 336 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3339, allocations: 4 kB / 336 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.3341, allocations: 32.83 kB / 336 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.3344, allocations: 52.05 kB / 336.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.3361, allocations: 1.327 MB / 337.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3363, allocations: 12.09 kB / 337.4 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3363, allocations: 4 kB / 337.4 MB, free: 0.9531 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 () * 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.0001306/0.3365, allocations: 116.9 kB / 337.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.3365, allocations: 15.81 kB / 337.5 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.3366, allocations: 21.95 kB / 337.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.636e-06/0.3366, allocations: 0 / 337.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.971e-06/0.3367, allocations: 11.88 kB / 337.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.536e-06/0.3367, allocations: 0 / 337.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.3379, allocations: 0.5796 MB / 338.2 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.906e-06/0.3379, allocations: 4 kB / 338.2 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.3382, allocations: 44 kB / 338.2 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/0.3384, allocations: 36.83 kB / 338.2 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3385, allocations: 4 kB / 338.2 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.3401, allocations: 1.332 MB / 339.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.72e-06/0.3401, allocations: 0 / 339.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.3408, allocations: 385.5 kB / 340 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.341, allocations: 101 kB / 340 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3411, allocations: 3.984 kB / 340.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3413, allocations: 4 kB / 340.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.3413, allocations: 19.94 kB / 340.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3414, allocations: 7.984 kB / 340.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3415, allocations: 119.3 kB / 340.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.3415, allocations: 0 / 340.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004861/0.342, allocations: 48 kB / 340.2 MB, free: 13.88 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.0001595/0.3422, allocations: 99.19 kB / 340.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006112/0.3428, allocations: 257.6 kB / 340.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.631e-06/0.3429, allocations: 256 / 340.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.3432, allocations: 201.5 kB / 340.8 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3436, allocations: 31.97 kB / 340.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.345, allocations: 0.5585 MB / 341.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.3455, allocations: 0.748 MB / 342.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.3456, allocations: 23.44 kB / 342.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of SimCode: time 1.791e-06/0.3456, allocations: 0 / 342.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Templates: time 0.006914/0.3525, allocations: 3.285 MB / 345.4 MB, free: 8.602 MB / 298.7 MB