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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9543/0.9543, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.855e-05/1.861e-05, allocations: 4 kB / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06411/0.06415, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.2904, allocations: 33.92 MB / 207.2 MB, free: 7.066 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.2906, allocations: 62.36 kB / 207.3 MB, free: 7.066 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.3032, allocations: 3.516 MB / 210.8 MB, free: 6.52 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.905e-06/0.3033, allocations: 7.938 kB / 210.8 MB, free: 6.512 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3033, allocations: 4.094 kB / 210.8 MB, free: 6.512 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.0005866/0.3039, allocations: 481.4 kB / 211.3 MB, free: 6.117 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3039, allocations: 9.031 kB / 211.3 MB, free: 6.117 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.304, allocations: 28.59 kB / 211.3 MB, free: 6.102 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3042, allocations: 213 kB / 211.5 MB, free: 5.887 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3043, allocations: 11.39 kB / 211.5 MB, free: 5.883 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.3043, allocations: 20.94 kB / 211.5 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002922/0.3046, allocations: 107.3 kB / 211.6 MB, free: 5.875 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.3049, allocations: 149.4 kB / 211.8 MB, free: 5.84 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.305, allocations: 1 kB / 211.8 MB, free: 5.84 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.305, allocations: 3.953 kB / 211.8 MB, free: 5.836 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.293e-06/0.305, allocations: 9.688 kB / 211.8 MB, free: 5.832 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008946/0.3059, allocations: 0.5549 MB / 212.4 MB, free: 5.559 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.3063, allocations: 162.5 kB / 212.5 MB, free: 5.523 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3065, allocations: 77.09 kB / 212.6 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3065, allocations: 2.875 kB / 212.6 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3066, allocations: 35.19 kB / 212.6 MB, free: 5.477 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 2.589e-06/0.3066, allocations: 0 / 212.6 MB, free: 5.477 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.001126/0.3077, allocations: 0.7235 MB / 213.4 MB, free: 4.98 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.3077, allocations: 54.31 kB / 213.4 MB, free: 4.918 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.3079, allocations: 124.7 kB / 213.5 MB, free: 4.824 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.3079, allocations: 25.7 kB / 213.6 MB, free: 4.793 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.3079, allocations: 200.2 kB / 213.8 MB, free: 4.621 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.308, allocations: 83.34 kB / 213.8 MB, free: 4.566 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.308, allocations: 0 / 213.8 MB, free: 4.566 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.3081, allocations: 325.7 kB / 214.2 MB, free: 4.25 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3082, allocations: 47.91 kB / 214.2 MB, free: 4.25 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3084, allocations: 83.88 kB / 214.3 MB, free: 4.219 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3085, allocations: 55.92 kB / 214.3 MB, free: 4.219 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-06/0.3085, allocations: 0 / 214.3 MB, free: 4.219 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003666/0.3089, allocations: 189.4 kB / 214.5 MB, free: 4.168 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3089, allocations: 7.75 kB / 214.5 MB, free: 4.168 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.885e-06/0.309, allocations: 1.812 kB / 214.5 MB, free: 4.168 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.309, allocations: 1.688 kB / 214.5 MB, free: 4.168 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.3093, allocations: 69.36 kB / 214.6 MB, free: 4.164 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-06/0.3094, allocations: 2.906 kB / 214.6 MB, free: 4.164 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3095, allocations: 9.281 kB / 214.6 MB, free: 4.164 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3095, allocations: 17.5 kB / 214.6 MB, free: 4.156 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 () * 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 6.222e-05/0.3096, allocations: 102.5 kB / 214.7 MB, free: 4.051 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.3097, allocations: 20.48 kB / 214.7 MB, free: 4.039 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.118e-05/0.3097, allocations: 17.16 kB / 214.8 MB, free: 4.035 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-06/0.3098, allocations: 6.844 kB / 214.8 MB, free: 4.031 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-06/0.3098, allocations: 1.406 kB / 214.8 MB, free: 4.031 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.022e-06/0.3098, allocations: 3.516 kB / 214.8 MB, free: 4.031 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007896/0.3106, allocations: 0.5522 MB / 215.3 MB, free: 3.695 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.855e-06/0.3106, allocations: 0 / 215.3 MB, free: 3.695 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.311, allocations: 75.66 kB / 215.4 MB, free: 3.688 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.311, allocations: 1.5 kB / 215.4 MB, free: 3.688 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3111, allocations: 2.906 kB / 215.4 MB, free: 3.688 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.605e-06/0.3111, allocations: 1.625 kB / 215.4 MB, free: 3.688 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.445e-06/0.3111, allocations: 7.578 kB / 215.4 MB, free: 3.684 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.3116, allocations: 374.2 kB / 215.8 MB, free: 3.484 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.3116, allocations: 84.83 kB / 215.9 MB, free: 3.387 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3117, allocations: 6.547 kB / 215.9 MB, free: 3.387 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3119, allocations: 7.562 kB / 215.9 MB, free: 3.383 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.3119, allocations: 27.23 kB / 215.9 MB, free: 3.375 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.312, allocations: 8.75 kB / 215.9 MB, free: 3.371 MB / 170.7 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.312, allocations: 104.5 kB / 216 MB, free: 3.297 MB / 170.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.312, allocations: 0 / 216 MB, free: 3.297 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.3124, allocations: 46.66 kB / 216.1 MB, free: 3.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 () * 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.0001153/0.3126, allocations: 98.34 kB / 216.2 MB, free: 3.199 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3129, allocations: 143 kB / 216.3 MB, free: 3.188 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3129, allocations: 0 / 216.3 MB, free: 3.188 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3131, allocations: 73.12 kB / 216.4 MB, free: 3.184 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3135, allocations: 27.55 kB / 216.4 MB, free: 3.18 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3147, allocations: 0.6845 MB / 217.1 MB, free: 2.719 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.3149, allocations: 0.7452 MB / 217.8 MB, free: 2.02 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.315, allocations: 17.06 kB / 217.8 MB, free: 2.012 MB / 170.7 MB Notification: Performance of SimCode: time 1.52e-06/0.315, allocations: 0 / 217.8 MB, free: 2.012 MB / 170.7 MB Notification: Performance of Templates: time 0.004393/0.3194, allocations: 2.361 MB / 220.2 MB, free: 1.785 MB / 170.7 MB