Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.041/1.041, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003406, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05508/0.05545, allocations: 25.17 MB / 184 MB, free: 6.012 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.2602, allocations: 34.66 MB / 218.7 MB, free: 6.496 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.2605, allocations: 70.42 kB / 218.8 MB, free: 6.484 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.2737, allocations: 3.553 MB / 222.3 MB, free: 5.09 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2738, allocations: 0 / 222.3 MB, free: 5.09 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.2738, allocations: 7.812 kB / 222.3 MB, free: 5.086 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007689/0.2746, allocations: 488.5 kB / 222.8 MB, free: 4.648 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2746, allocations: 7.594 kB / 222.8 MB, free: 4.648 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.2747, allocations: 27.11 kB / 222.8 MB, free: 4.633 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.2749, allocations: 223.2 kB / 223.1 MB, free: 4.402 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.275, allocations: 17.47 kB / 223.1 MB, free: 4.402 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.275, allocations: 21.56 kB / 223.1 MB, free: 4.402 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.2756, allocations: 202 kB / 223.3 MB, free: 4.336 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.2756, allocations: 7.844 kB / 223.3 MB, free: 4.328 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.2757, allocations: 5.5 kB / 223.3 MB, free: 4.328 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.2757, allocations: 11.3 kB / 223.3 MB, free: 4.324 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.2762, allocations: 162 kB / 223.5 MB, free: 4.293 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.2773, allocations: 0.6112 MB / 224.1 MB, free: 3.883 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.2779, allocations: 189.3 kB / 224.3 MB, free: 3.828 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2779, allocations: 3.875 kB / 224.3 MB, free: 3.828 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.278, allocations: 38.36 kB / 224.3 MB, free: 3.785 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 2.806e-06/0.278, allocations: 0 / 224.3 MB, free: 3.785 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.00213/0.2801, allocations: 0.9183 MB / 225.2 MB, free: 3.242 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2802, allocations: 55.44 kB / 225.3 MB, free: 3.18 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2803, allocations: 149.1 kB / 225.4 MB, free: 3.07 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2804, allocations: 36.95 kB / 225.5 MB, free: 3.035 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.2804, allocations: 193.2 kB / 225.7 MB, free: 2.863 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.2805, allocations: 93 kB / 225.8 MB, free: 2.793 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.2805, allocations: 7.062 kB / 225.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.2806, allocations: 323.4 kB / 226.1 MB, free: 2.473 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.2809, allocations: 72.58 kB / 226.1 MB, free: 2.461 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.2812, allocations: 113.3 kB / 226.3 MB, free: 2.406 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.2815, allocations: 84.38 kB / 226.3 MB, free: 2.398 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2815, allocations: 0 / 226.3 MB, free: 2.398 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006982/0.2823, allocations: 243.5 kB / 226.6 MB, free: 2.328 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2823, allocations: 7.828 kB / 226.6 MB, free: 2.324 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.2823, allocations: 3.812 kB / 226.6 MB, free: 2.324 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2823, allocations: 0 / 226.6 MB, free: 2.324 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.2828, allocations: 70.78 kB / 226.7 MB, free: 2.312 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2828, allocations: 3.844 kB / 226.7 MB, free: 2.312 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.283, allocations: 18.64 kB / 226.7 MB, free: 2.305 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.2831, allocations: 14.91 kB / 226.7 MB, free: 2.301 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 31 * 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 prepare postOptimizeDAE: time 0.0001482/0.2832, allocations: 131.8 kB / 226.8 MB, free: 2.184 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.2833, allocations: 15.19 kB / 226.8 MB, free: 2.176 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.2834, allocations: 26.73 kB / 226.9 MB, free: 2.168 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2834, allocations: 3.781 kB / 226.9 MB, free: 2.168 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2834, allocations: 0 / 226.9 MB, free: 2.168 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2834, allocations: 4 kB / 226.9 MB, free: 2.164 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.2846, allocations: 0.6432 MB / 227.5 MB, free: 1.723 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2846, allocations: 0 / 227.5 MB, free: 1.723 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.2852, allocations: 71.91 kB / 227.6 MB, free: 1.711 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2852, allocations: 0 / 227.6 MB, free: 1.711 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2852, allocations: 10.94 kB / 227.6 MB, free: 1.707 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2852, allocations: 0 / 227.6 MB, free: 1.707 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2852, allocations: 0 / 227.6 MB, free: 1.707 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.2862, allocations: 431.5 kB / 228 MB, free: 1.5 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.2862, allocations: 88.73 kB / 228.1 MB, free: 1.398 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.2863, allocations: 11.45 kB / 228.1 MB, free: 1.395 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.2865, allocations: 7.344 kB / 228.1 MB, free: 1.395 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.2866, allocations: 19.38 kB / 228.1 MB, free: 1.387 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2866, allocations: 7.656 kB / 228.1 MB, free: 1.387 MB / 170.7 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.2867, allocations: 121.5 kB / 228.3 MB, free: 1.297 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2867, allocations: 0 / 228.3 MB, free: 1.297 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003844/0.2871, allocations: 53.59 kB / 228.3 MB, free: 1.293 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.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 (24): * Single equations (assignments): 24 * 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.0001231/0.2872, allocations: 110.1 kB / 228.4 MB, free: 1.199 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.2879, allocations: 195 kB / 228.6 MB, free: 1.164 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2879, allocations: 4.062 kB / 228.6 MB, free: 1.16 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2882, allocations: 95.78 kB / 228.7 MB, free: 1.145 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.2886, allocations: 39.69 kB / 228.8 MB, free: 1.133 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.2904, allocations: 0.9475 MB / 229.7 MB, free: 400 kB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.2908, allocations: 0.7503 MB / 230.5 MB, free: 15.66 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.2909, allocations: 18.84 kB / 230.5 MB, free: 15.65 MB / 186.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2909, allocations: 0 / 230.5 MB, free: 15.65 MB / 186.7 MB Notification: Performance of Templates: time 0.006075/0.297, allocations: 2.414 MB / 232.9 MB, free: 14.18 MB / 186.7 MB