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.RollingWheel.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.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 0.9876/0.9876, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002582, allocations: 4 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05168/0.05196, allocations: 25.16 MB / 184 MB, free: 6.035 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.2655, allocations: 35.34 MB / 219.4 MB, free: 6.305 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.2658, allocations: 68.22 kB / 219.4 MB, free: 6.297 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.2765, allocations: 2.875 MB / 222.3 MB, free: 5.113 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2766, allocations: 0 / 222.3 MB, free: 5.113 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.2766, allocations: 4.094 kB / 222.3 MB, free: 5.113 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006254/0.2772, allocations: 455 kB / 222.8 MB, free: 4.688 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2773, allocations: 11.34 kB / 222.8 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.2773, allocations: 23.39 kB / 222.8 MB, free: 4.672 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.2776, allocations: 212.7 kB / 223 MB, free: 4.453 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2776, allocations: 19.34 kB / 223 MB, free: 4.449 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.2777, allocations: 14.22 kB / 223 MB, free: 4.449 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.2781, allocations: 161.6 kB / 223.2 MB, free: 4.383 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2781, allocations: 0 / 223.2 MB, free: 4.383 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2781, allocations: 10.94 kB / 223.2 MB, free: 4.383 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2782, allocations: 7.766 kB / 223.2 MB, free: 4.379 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.2785, allocations: 101.2 kB / 223.3 MB, free: 4.363 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.2796, allocations: 0.5965 MB / 223.9 MB, free: 3.938 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.28, allocations: 115.8 kB / 224 MB, free: 3.898 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.28, allocations: 11.81 kB / 224 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2801, allocations: 30.56 kB / 224.1 MB, free: 3.852 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.2801, allocations: 0 / 224.1 MB, free: 3.852 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.001997/0.2821, allocations: 0.812 MB / 224.9 MB, free: 3.309 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2821, allocations: 51.41 kB / 224.9 MB, free: 3.246 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.2823, allocations: 165.7 kB / 225.1 MB, free: 3.129 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2823, allocations: 25.92 kB / 225.1 MB, free: 3.098 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.2824, allocations: 192.9 kB / 225.3 MB, free: 2.93 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.2825, allocations: 65.59 kB / 225.4 MB, free: 2.879 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.2825, allocations: 3.625 kB / 225.4 MB, free: 2.879 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.2826, allocations: 318.2 kB / 225.7 MB, free: 2.566 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2827, allocations: 42.12 kB / 225.7 MB, free: 2.555 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.2829, allocations: 76.03 kB / 225.8 MB, free: 2.512 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.2831, allocations: 51.86 kB / 225.8 MB, free: 2.508 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2831, allocations: 0 / 225.8 MB, free: 2.508 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005415/0.2837, allocations: 212.3 kB / 226.1 MB, free: 2.426 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2837, allocations: 3.656 kB / 226.1 MB, free: 2.426 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2837, allocations: 3.875 kB / 226.1 MB, free: 2.426 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.284, allocations: 42.98 kB / 226.1 MB, free: 2.406 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.2843, allocations: 34.73 kB / 226.1 MB, free: 2.402 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2856, allocations: 1.44 MB / 227.6 MB, free: 1.086 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2858, allocations: 3.5 kB / 227.6 MB, free: 1.086 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2858, allocations: 10.47 kB / 227.6 MB, free: 1.086 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "absolute velocity of component" type: Real 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 (18): * Single equations (assignments): 17 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002532/0.2861, allocations: 148.4 kB / 227.7 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.2861, allocations: 11.78 kB / 227.7 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.2862, allocations: 19.59 kB / 227.8 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2862, allocations: 3.844 kB / 227.8 MB, free: 0.9414 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2862, allocations: 7.922 kB / 227.8 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2862, allocations: 0 / 227.8 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2874, allocations: 0.5828 MB / 228.4 MB, free: 0.5195 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2874, allocations: 4.094 kB / 228.4 MB, free: 0.5156 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.2877, allocations: 49.11 kB / 228.4 MB, free: 0.5 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.2879, allocations: 28.59 kB / 228.4 MB, free: 500 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.2879, allocations: 6.719 kB / 228.4 MB, free: 500 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.2893, allocations: 1.378 MB / 229.8 MB, free: 15.17 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2893, allocations: 3.844 kB / 229.8 MB, free: 15.17 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.2901, allocations: 371.9 kB / 230.2 MB, free: 14.96 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.2902, allocations: 88.77 kB / 230.3 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.2902, allocations: 7.156 kB / 230.3 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2904, allocations: 4.125 kB / 230.3 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.2905, allocations: 22.72 kB / 230.3 MB, free: 14.85 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.2905, allocations: 7.797 kB / 230.3 MB, free: 14.84 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000123/0.2907, allocations: 128.6 kB / 230.4 MB, free: 14.75 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.264e-06/0.2907, allocations: 0 / 230.4 MB, free: 14.75 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004138/0.2911, allocations: 49.03 kB / 230.5 MB, free: 14.75 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass.s,mass.v) * 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 (15): * Single equations (assignments): 14 * 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.0001492/0.2912, allocations: 102 kB / 230.6 MB, free: 14.66 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006614/0.2919, allocations: 259.4 kB / 230.8 MB, free: 14.52 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2919, allocations: 0 / 230.8 MB, free: 14.52 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.2924, allocations: 190.9 kB / 231 MB, free: 14.39 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2927, allocations: 26.39 kB / 231.1 MB, free: 14.38 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2941, allocations: 0.6436 MB / 231.7 MB, free: 13.89 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.2944, allocations: 0.735 MB / 232.4 MB, free: 13.16 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.2945, allocations: 19.84 kB / 232.5 MB, free: 13.15 MB / 186.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2945, allocations: 0 / 232.5 MB, free: 13.15 MB / 186.7 MB Notification: Performance of Templates: time 0.006254/0.3008, allocations: 2.767 MB / 235.2 MB, free: 11.54 MB / 186.7 MB