Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9855/0.9855, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.404e-05, allocations: 4 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 25.15 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0535/0.1922, allocations: 34.58 MB / 214 MB, free: 14.54 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.1924, allocations: 63.97 kB / 214.1 MB, free: 14.47 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.2068, allocations: 3.559 MB / 217.6 MB, free: 10.91 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.848e-06/0.2068, allocations: 0 / 217.6 MB, free: 10.91 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.364e-05/0.2069, allocations: 4 kB / 217.6 MB, free: 10.9 MB / 186.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.000798/0.2077, allocations: 478.4 kB / 218.1 MB, free: 10.39 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2077, allocations: 12.03 kB / 218.1 MB, free: 10.38 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.2078, allocations: 27.72 kB / 218.1 MB, free: 10.35 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2081, allocations: 208.2 kB / 218.3 MB, free: 10.1 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.2082, allocations: 20.42 kB / 218.4 MB, free: 10.08 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.96e-05/0.2083, allocations: 23.91 kB / 218.4 MB, free: 10.06 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.2087, allocations: 179.3 kB / 218.6 MB, free: 9.879 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.2087, allocations: 3.984 kB / 218.6 MB, free: 9.875 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2088, allocations: 16 kB / 218.6 MB, free: 9.859 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2088, allocations: 7.953 kB / 218.6 MB, free: 9.852 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.2091, allocations: 121.7 kB / 218.7 MB, free: 9.734 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2104, allocations: 0.6115 MB / 219.3 MB, free: 9.074 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.2108, allocations: 171.1 kB / 219.5 MB, free: 8.898 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2111, allocations: 81.23 kB / 219.6 MB, free: 8.816 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.2111, allocations: 4.125 kB / 219.6 MB, free: 8.812 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2112, allocations: 42.73 kB / 219.6 MB, free: 8.762 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 3.7e-06/0.2112, allocations: 0 / 219.6 MB, free: 8.762 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001547/0.2127, allocations: 0.7663 MB / 220.4 MB, free: 7.906 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.2128, allocations: 51.41 kB / 220.4 MB, free: 7.844 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.213, allocations: 138.1 kB / 220.6 MB, free: 7.703 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.213, allocations: 29.7 kB / 220.6 MB, free: 7.668 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2132, allocations: 198.8 kB / 220.8 MB, free: 7.469 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.2133, allocations: 86.75 kB / 220.9 MB, free: 7.383 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.2133, allocations: 11.94 kB / 220.9 MB, free: 7.371 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2135, allocations: 318.8 kB / 221.2 MB, free: 7.051 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.2136, allocations: 56 kB / 221.3 MB, free: 6.996 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.2139, allocations: 95.34 kB / 221.3 MB, free: 6.891 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.214, allocations: 68.09 kB / 221.4 MB, free: 6.824 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-06/0.2141, allocations: 4 kB / 221.4 MB, free: 6.82 MB / 186.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004642/0.2145, allocations: 205.3 kB / 221.6 MB, free: 6.613 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2146, allocations: 4 kB / 221.6 MB, free: 6.609 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.118e-06/0.2146, allocations: 3.938 kB / 221.6 MB, free: 6.605 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2146, allocations: 4 kB / 221.6 MB, free: 6.602 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.215, allocations: 71.89 kB / 221.7 MB, free: 6.531 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.981e-06/0.215, allocations: 0 / 221.7 MB, free: 6.531 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2152, allocations: 16.09 kB / 221.7 MB, free: 6.516 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.2153, allocations: 15.98 kB / 221.7 MB, free: 6.5 MB / 186.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 () * 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.00012/0.2154, allocations: 123.8 kB / 221.9 MB, free: 6.375 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.2155, allocations: 15.81 kB / 221.9 MB, free: 6.359 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.256e-05/0.2155, allocations: 20.75 kB / 221.9 MB, free: 6.344 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-06/0.2156, allocations: 0 / 221.9 MB, free: 6.344 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-06/0.2156, allocations: 0 / 221.9 MB, free: 6.344 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.748e-06/0.2156, allocations: 3.984 kB / 221.9 MB, free: 6.34 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.2167, allocations: 0.616 MB / 222.5 MB, free: 5.652 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-06/0.2168, allocations: 0 / 222.5 MB, free: 5.652 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.2172, allocations: 67.91 kB / 222.6 MB, free: 5.586 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.2172, allocations: 4 kB / 222.6 MB, free: 5.582 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.2173, allocations: 8.062 kB / 222.6 MB, free: 5.574 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.765e-06/0.2173, allocations: 7.984 kB / 222.6 MB, free: 5.566 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-06/0.2173, allocations: 0 / 222.6 MB, free: 5.566 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.218, allocations: 380.2 kB / 223 MB, free: 5.16 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.2181, allocations: 101 kB / 223.1 MB, free: 5.043 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.2181, allocations: 0 / 223.1 MB, free: 5.043 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2183, allocations: 19.94 kB / 223.1 MB, free: 5.023 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.2184, allocations: 15.98 kB / 223.1 MB, free: 5.008 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.2184, allocations: 4 kB / 223.1 MB, free: 5.004 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.2186, allocations: 123.4 kB / 223.2 MB, free: 4.883 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.2186, allocations: 0 / 223.2 MB, free: 4.883 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.219, allocations: 52 kB / 223.3 MB, free: 4.832 MB / 186.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 () * 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.000168/0.2192, allocations: 111.3 kB / 223.4 MB, free: 4.711 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.2196, allocations: 147.9 kB / 223.5 MB, free: 4.566 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.187e-06/0.2196, allocations: 3.938 kB / 223.5 MB, free: 4.562 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.2198, allocations: 83.86 kB / 223.6 MB, free: 4.48 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.2202, allocations: 32.28 kB / 223.6 MB, free: 4.449 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2218, allocations: 0.6877 MB / 224.3 MB, free: 3.727 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.2223, allocations: 0.7522 MB / 225.1 MB, free: 2.949 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.2224, allocations: 19.44 kB / 225.1 MB, free: 2.93 MB / 186.7 MB Notification: Performance of SimCode: time 1.685e-06/0.2224, allocations: 3.938 kB / 225.1 MB, free: 2.926 MB / 186.7 MB Notification: Performance of Templates: time 0.005283/0.2277, allocations: 2.409 MB / 227.5 MB, free: 0.5195 MB / 186.7 MB