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 1.05/1.05, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.000262, allocations: 4 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04571/0.04599, allocations: 25.16 MB / 183.5 MB, free: 5.969 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.2215, allocations: 34.68 MB / 218.2 MB, free: 6.52 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.2217, allocations: 59.81 kB / 218.2 MB, free: 6.512 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.2342, allocations: 3.559 MB / 221.8 MB, free: 5.121 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.176e-06/0.2342, allocations: 0 / 221.8 MB, free: 5.121 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.2342, allocations: 3.969 kB / 221.8 MB, free: 5.121 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.0006039/0.2348, allocations: 489.8 kB / 222.3 MB, free: 4.684 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2349, allocations: 11.5 kB / 222.3 MB, free: 4.684 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.235, allocations: 27.28 kB / 222.3 MB, free: 4.668 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.2352, allocations: 222.3 kB / 222.5 MB, free: 4.434 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2352, allocations: 18.73 kB / 222.5 MB, free: 4.43 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.2353, allocations: 28.44 kB / 222.6 MB, free: 4.426 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.2358, allocations: 197.9 kB / 222.8 MB, free: 4.359 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.2358, allocations: 3.906 kB / 222.8 MB, free: 4.355 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2358, allocations: 11.78 kB / 222.8 MB, free: 4.355 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.653e-06/0.2359, allocations: 7.828 kB / 222.8 MB, free: 4.352 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.2363, allocations: 160.3 kB / 222.9 MB, free: 4.32 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.2373, allocations: 0.6152 MB / 223.6 MB, free: 3.91 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.2378, allocations: 184.6 kB / 223.7 MB, free: 3.863 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2378, allocations: 8.031 kB / 223.8 MB, free: 3.859 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2378, allocations: 34.73 kB / 223.8 MB, free: 3.816 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 2.995e-06/0.2378, allocations: 0 / 223.8 MB, free: 3.816 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.001784/0.2396, allocations: 0.9144 MB / 224.7 MB, free: 3.27 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.2397, allocations: 55.97 kB / 224.8 MB, free: 3.207 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2398, allocations: 133.4 kB / 224.9 MB, free: 3.109 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2399, allocations: 32.7 kB / 224.9 MB, free: 3.078 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.2399, allocations: 198.8 kB / 225.1 MB, free: 2.898 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.24, allocations: 93.67 kB / 225.2 MB, free: 2.832 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.24, allocations: 4.438 kB / 225.2 MB, free: 2.832 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.2401, allocations: 318.9 kB / 225.5 MB, free: 2.52 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.2403, allocations: 73.86 kB / 225.6 MB, free: 2.504 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2406, allocations: 109.1 kB / 225.7 MB, free: 2.457 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.2408, allocations: 93.09 kB / 225.8 MB, free: 2.441 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-06/0.2409, allocations: 7.891 kB / 225.8 MB, free: 2.434 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005504/0.2414, allocations: 239.4 kB / 226 MB, free: 2.367 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2415, allocations: 5.875 kB / 226 MB, free: 2.367 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.102e-06/0.2415, allocations: 3.938 kB / 226 MB, free: 2.363 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2415, allocations: 3.812 kB / 226 MB, free: 2.363 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.2418, allocations: 67.16 kB / 226.1 MB, free: 2.352 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2418, allocations: 7.672 kB / 226.1 MB, free: 2.348 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.242, allocations: 16.09 kB / 226.1 MB, free: 2.344 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.242, allocations: 10.69 kB / 226.1 MB, free: 2.344 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.0001262/0.2422, allocations: 130 kB / 226.3 MB, free: 2.227 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.2422, allocations: 19.48 kB / 226.3 MB, free: 2.215 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.2423, allocations: 28.95 kB / 226.3 MB, free: 2.207 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.816e-06/0.2423, allocations: 3.844 kB / 226.3 MB, free: 2.207 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.875e-06/0.2423, allocations: 0 / 226.3 MB, free: 2.207 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-06/0.2423, allocations: 0 / 226.3 MB, free: 2.207 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2434, allocations: 0.6416 MB / 227 MB, free: 1.766 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-06/0.2434, allocations: 7.75 kB / 227 MB, free: 1.762 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.2439, allocations: 63 kB / 227 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.993e-06/0.2439, allocations: 0 / 227 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.2439, allocations: 10.92 kB / 227 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2439, allocations: 0 / 227 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.362e-06/0.2439, allocations: 7.688 kB / 227 MB, free: 1.746 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.2447, allocations: 448.4 kB / 227.5 MB, free: 1.512 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.2448, allocations: 92.14 kB / 227.6 MB, free: 1.41 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.2449, allocations: 7.125 kB / 227.6 MB, free: 1.41 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2451, allocations: 18.75 kB / 227.6 MB, free: 1.402 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.2452, allocations: 11.36 kB / 227.6 MB, free: 1.398 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.2452, allocations: 10.84 kB / 227.6 MB, free: 1.395 MB / 170.7 MB Notification: Performance of sorting global known variables: time 8.816e-05/0.2453, allocations: 114.1 kB / 227.7 MB, free: 1.312 MB / 170.7 MB Notification: Performance of sort global known variables: time 6.57e-07/0.2453, allocations: 3.938 kB / 227.7 MB, free: 1.309 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.00041/0.2457, allocations: 58.22 kB / 227.8 MB, free: 1.301 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.0001138/0.2458, allocations: 105.6 kB / 227.9 MB, free: 1.211 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.2463, allocations: 202.7 kB / 228.1 MB, free: 1.168 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.844e-06/0.2464, allocations: 0 / 228.1 MB, free: 1.168 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.2466, allocations: 93.98 kB / 228.2 MB, free: 1.152 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.247, allocations: 36.16 kB / 228.2 MB, free: 1.141 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.2485, allocations: 0.9503 MB / 229.2 MB, free: 408 kB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.2489, allocations: 0.7527 MB / 229.9 MB, free: 15.67 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.249, allocations: 18.31 kB / 229.9 MB, free: 15.66 MB / 186.7 MB Notification: Performance of SimCode: time 1.459e-06/0.249, allocations: 0 / 229.9 MB, free: 15.66 MB / 186.7 MB Notification: Performance of Templates: time 0.005082/0.2541, allocations: 2.407 MB / 232.4 MB, free: 14.14 MB / 186.7 MB