Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 11.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1001, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5207, allocations: 73.14 MB / 382.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.521, allocations: 75.55 kB / 382.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.5363, allocations: 3.68 MB / 385.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5364, allocations: 0 / 385.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.5364, allocations: 4.781 kB / 385.9 MB, free: 14.84 MB / 314.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.0007917/0.5372, allocations: 490.4 kB / 386.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5373, allocations: 9.188 kB / 386.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.5374, allocations: 24.81 kB / 386.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.5377, allocations: 235.7 kB / 386.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.5377, allocations: 14.5 kB / 386.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5378, allocations: 27.25 kB / 386.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.5384, allocations: 210.9 kB / 386.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.5384, allocations: 8.844 kB / 386.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.5384, allocations: 6.219 kB / 386.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5385, allocations: 5.125 kB / 387 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.5389, allocations: 130.5 kB / 387.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.5402, allocations: 0.7156 MB / 387.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.5406, allocations: 151.6 kB / 387.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5407, allocations: 1.312 kB / 387.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5407, allocations: 37.27 kB / 388 MB, free: 13.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.705e-06/0.5407, allocations: 0 / 388 MB, free: 13.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.00307/0.5438, allocations: 0.8884 MB / 388.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.5439, allocations: 52.91 kB / 388.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.5443, allocations: 180.1 kB / 389.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.5443, allocations: 30.14 kB / 389.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5445, allocations: 142.8 kB / 389.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5446, allocations: 87.02 kB / 389.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.5447, allocations: 7.25 kB / 389.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5448, allocations: 330.4 kB / 389.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.5451, allocations: 58.17 kB / 389.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.5455, allocations: 110.2 kB / 389.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.546, allocations: 71.88 kB / 389.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.546, allocations: 0 / 389.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001192/0.5473, allocations: 254.2 kB / 390.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.5473, allocations: 7.891 kB / 390.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5473, allocations: 3.688 kB / 390.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.5477, allocations: 39.36 kB / 390.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.5482, allocations: 45.22 kB / 390.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.5504, allocations: 1.391 MB / 391.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.5509, allocations: 13.42 kB / 391.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.551, allocations: 11.16 kB / 391.7 MB, free: 11.04 MB / 314.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.0002186/0.5512, allocations: 131.4 kB / 391.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.5513, allocations: 21.84 kB / 391.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.5514, allocations: 24.25 kB / 391.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5514, allocations: 3.844 kB / 391.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.5514, allocations: 2.203 kB / 391.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5514, allocations: 0 / 391.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.5534, allocations: 0.6534 MB / 392.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5535, allocations: 8 kB / 392.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.5541, allocations: 40.97 kB / 392.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.5544, allocations: 33.55 kB / 392.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.5544, allocations: 5.312 kB / 392.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.5562, allocations: 1.398 MB / 394 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5563, allocations: 3.938 kB / 394 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5575, allocations: 412.7 kB / 394.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5576, allocations: 94.48 kB / 394.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.5577, allocations: 3.188 kB / 394.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.5581, allocations: 9 kB / 394.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.5582, allocations: 22.33 kB / 394.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.5582, allocations: 11.72 kB / 394.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.5584, allocations: 122.4 kB / 394.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.525e-06/0.5584, allocations: 0 / 394.7 MB, free: 8.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007749/0.5592, allocations: 64.28 kB / 394.7 MB, free: 8.859 MB / 314.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.0001958/0.5595, allocations: 108 kB / 394.8 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.5605, allocations: 294.7 kB / 395.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5606, allocations: 0 / 395.1 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.5612, allocations: 219.4 kB / 395.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.562, allocations: 47.27 kB / 395.4 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.5645, allocations: 0.802 MB / 396.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.5648, allocations: 0.7535 MB / 396.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.565, allocations: 24.41 kB / 397 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.5651, allocations: 19.09 kB / 397 MB, free: 7.281 MB / 314.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5651, allocations: 0 / 397 MB, free: 7.281 MB / 314.7 MB Notification: Performance of Templates: time 0.01122/0.5764, allocations: 2.15 MB / 399.1 MB, free: 7.109 MB / 314.7 MB