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.RollingWheel.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.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.9558/0.9558, allocations: 111.2 MB / 124.2 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.041e-05, allocations: 4 kB / 154.3 MB, free: 13.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 25.15 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05393/0.1907, allocations: 35.27 MB / 214.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.191, allocations: 63.97 kB / 214.8 MB, free: 13.8 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.2025, allocations: 2.873 MB / 217.6 MB, free: 10.92 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.558e-06/0.2026, allocations: 0 / 217.6 MB, free: 10.92 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.2026, allocations: 4 kB / 217.6 MB, free: 10.91 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006352/0.2032, allocations: 426.2 kB / 218 MB, free: 10.45 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2033, allocations: 15.97 kB / 218.1 MB, free: 10.44 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.2034, allocations: 23.67 kB / 218.1 MB, free: 10.41 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.2037, allocations: 214.8 kB / 218.3 MB, free: 10.16 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2037, allocations: 15.98 kB / 218.3 MB, free: 10.15 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.2038, allocations: 19.98 kB / 218.3 MB, free: 10.13 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.2041, allocations: 149.2 kB / 218.5 MB, free: 9.977 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2042, allocations: 0 / 218.5 MB, free: 9.977 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.2042, allocations: 8 kB / 218.5 MB, free: 9.969 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.2042, allocations: 7.953 kB / 218.5 MB, free: 9.961 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.2045, allocations: 87.98 kB / 218.6 MB, free: 9.875 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2057, allocations: 0.5927 MB / 219.2 MB, free: 9.223 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.206, allocations: 106.6 kB / 219.3 MB, free: 9.109 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2061, allocations: 40.81 kB / 219.3 MB, free: 9.066 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2061, allocations: 7.984 kB / 219.3 MB, free: 9.059 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.2062, allocations: 38.56 kB / 219.4 MB, free: 9.012 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 2.467e-06/0.2062, allocations: 0 / 219.4 MB, free: 9.012 MB / 186.7 MB Notification: Performance of matching and sorting (n=18): time 0.001738/0.208, allocations: 0.7307 MB / 220.1 MB, free: 8.188 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.208, allocations: 59.34 kB / 220.1 MB, free: 8.117 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.2082, allocations: 141.4 kB / 220.3 MB, free: 7.973 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.2083, allocations: 25.7 kB / 220.3 MB, free: 7.941 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2084, allocations: 194.7 kB / 220.5 MB, free: 7.75 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.2085, allocations: 63.02 kB / 220.6 MB, free: 7.688 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.2085, allocations: 8 kB / 220.6 MB, free: 7.68 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2087, allocations: 322.9 kB / 220.9 MB, free: 7.355 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2088, allocations: 36.19 kB / 220.9 MB, free: 7.316 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.209, allocations: 63.81 kB / 221 MB, free: 7.242 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2091, allocations: 52.89 kB / 221 MB, free: 7.191 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2091, allocations: 0 / 221 MB, free: 7.191 MB / 186.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004898/0.2096, allocations: 192.4 kB / 221.2 MB, free: 6.996 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2097, allocations: 4 kB / 221.2 MB, free: 6.992 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.2097, allocations: 7.938 kB / 221.2 MB, free: 6.984 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.2099, allocations: 40.88 kB / 221.3 MB, free: 6.941 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.2102, allocations: 43.91 kB / 221.3 MB, free: 6.898 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.2119, allocations: 1.414 MB / 222.7 MB, free: 5.355 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2121, allocations: 12.02 kB / 222.7 MB, free: 5.344 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2121, allocations: 4 kB / 222.7 MB, free: 5.34 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" ) "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" ) "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 () * 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.0001818/0.2123, allocations: 125 kB / 222.9 MB, free: 5.215 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2124, allocations: 15.81 kB / 222.9 MB, free: 5.199 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.2124, allocations: 16.75 kB / 222.9 MB, free: 5.184 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.2125, allocations: 0 / 222.9 MB, free: 5.184 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-06/0.2125, allocations: 4 kB / 222.9 MB, free: 5.18 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.71e-06/0.2125, allocations: 3.984 kB / 222.9 MB, free: 5.176 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.2137, allocations: 0.5757 MB / 223.5 MB, free: 4.531 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-06/0.2137, allocations: 0 / 223.5 MB, free: 4.531 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.214, allocations: 35.94 kB / 223.5 MB, free: 4.496 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.2142, allocations: 44.86 kB / 223.6 MB, free: 4.449 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2142, allocations: 4 kB / 223.6 MB, free: 4.445 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.2158, allocations: 1.367 MB / 224.9 MB, free: 2.941 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.404e-06/0.2158, allocations: 8.062 kB / 224.9 MB, free: 2.934 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.2165, allocations: 373.1 kB / 225.3 MB, free: 2.523 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.2166, allocations: 96.88 kB / 225.4 MB, free: 2.41 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2166, allocations: 0 / 225.4 MB, free: 2.41 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.2168, allocations: 8 kB / 225.4 MB, free: 2.402 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.2169, allocations: 15.97 kB / 225.4 MB, free: 2.387 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.2169, allocations: 8 kB / 225.4 MB, free: 2.379 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.217, allocations: 120.1 kB / 225.6 MB, free: 2.262 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.217, allocations: 64 / 225.6 MB, free: 2.262 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.2175, allocations: 48 kB / 225.6 MB, free: 2.215 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 () * 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.000162/0.2177, allocations: 103.2 kB / 225.7 MB, free: 2.102 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000561/0.2183, allocations: 248.2 kB / 225.9 MB, free: 1.848 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2183, allocations: 0 / 225.9 MB, free: 1.848 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.2186, allocations: 190.7 kB / 226.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.219, allocations: 19.92 kB / 226.1 MB, free: 1.629 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009524/0.2199, allocations: 409 kB / 226.5 MB, free: 1.195 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.2204, allocations: 0.7363 MB / 227.3 MB, free: 444 kB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.2205, allocations: 15.44 kB / 227.3 MB, free: 428 kB / 186.7 MB Notification: Performance of SimCode: time 1.628e-06/0.2205, allocations: 0 / 227.3 MB, free: 428 kB / 186.7 MB Notification: Performance of Templates: time 0.005708/0.2262, allocations: 2.742 MB / 230 MB, free: 13.67 MB / 202.7 MB