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.9444/0.9444, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002728, allocations: 8 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04558/0.04589, allocations: 25.16 MB / 183.5 MB, free: 5.988 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.2208, allocations: 35.36 MB / 218.8 MB, free: 6.281 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.2211, allocations: 60.06 kB / 218.9 MB, free: 6.273 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009728/0.2308, allocations: 2.887 MB / 221.8 MB, free: 5.082 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.25e-06/0.2309, allocations: 0 / 221.8 MB, free: 5.082 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.2309, allocations: 3.656 kB / 221.8 MB, free: 5.082 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.0005104/0.2314, allocations: 442.3 kB / 222.2 MB, free: 4.668 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2315, allocations: 11.62 kB / 222.2 MB, free: 4.664 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.2315, allocations: 23.3 kB / 222.3 MB, free: 4.652 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2317, allocations: 216.7 kB / 222.5 MB, free: 4.43 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.2318, allocations: 14.12 kB / 222.5 MB, free: 4.43 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2318, allocations: 14.97 kB / 222.5 MB, free: 4.43 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.2322, allocations: 157.6 kB / 222.7 MB, free: 4.367 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.2322, allocations: 3.984 kB / 222.7 MB, free: 4.363 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.2322, allocations: 3.812 kB / 222.7 MB, free: 4.363 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-06/0.2322, allocations: 7.797 kB / 222.7 MB, free: 4.359 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.2325, allocations: 113.9 kB / 222.8 MB, free: 4.34 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008775/0.2334, allocations: 0.5986 MB / 223.4 MB, free: 3.906 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.2337, allocations: 115 kB / 223.5 MB, free: 3.871 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2338, allocations: 7.828 kB / 223.5 MB, free: 3.867 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.2338, allocations: 38.36 kB / 223.5 MB, free: 3.824 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.2338, allocations: 0 / 223.5 MB, free: 3.824 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.001733/0.2356, allocations: 0.7988 MB / 224.3 MB, free: 3.285 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.2356, allocations: 51.97 kB / 224.4 MB, free: 3.223 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2357, allocations: 147.5 kB / 224.5 MB, free: 3.117 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2358, allocations: 28.52 kB / 224.6 MB, free: 3.086 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.2358, allocations: 193.4 kB / 224.8 MB, free: 2.918 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2359, allocations: 61.62 kB / 224.8 MB, free: 2.875 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.269e-05/0.2359, allocations: 3.875 kB / 224.8 MB, free: 2.875 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.142e-05/0.236, allocations: 327.7 kB / 225.1 MB, free: 2.551 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.2361, allocations: 42.77 kB / 225.2 MB, free: 2.539 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.2363, allocations: 75.22 kB / 225.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2365, allocations: 58.55 kB / 225.3 MB, free: 2.492 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2365, allocations: 4 kB / 225.3 MB, free: 2.488 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000458/0.2369, allocations: 196.3 kB / 225.5 MB, free: 2.418 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.237, allocations: 3.719 kB / 225.5 MB, free: 2.418 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.237, allocations: 3.688 kB / 225.5 MB, free: 2.418 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.2372, allocations: 38.77 kB / 225.5 MB, free: 2.402 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2374, allocations: 49.27 kB / 225.6 MB, free: 2.391 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.2386, allocations: 1.432 MB / 227 MB, free: 1.082 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.2387, allocations: 7.703 kB / 227 MB, free: 1.078 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.2388, allocations: 9.375 kB / 227 MB, free: 1.078 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.0002101/0.239, allocations: 142.6 kB / 227.2 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.239, allocations: 11.78 kB / 227.2 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.2391, allocations: 29.2 kB / 227.2 MB, free: 0.9297 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-06/0.2391, allocations: 7.781 kB / 227.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-06/0.2391, allocations: 0 / 227.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.532e-06/0.2391, allocations: 0 / 227.2 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2401, allocations: 0.5883 MB / 227.8 MB, free: 0.5078 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-06/0.2402, allocations: 0 / 227.8 MB, free: 0.5078 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2404, allocations: 38.41 kB / 227.9 MB, free: 0.5 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/0.2406, allocations: 34.17 kB / 227.9 MB, free: 496 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.2406, allocations: 7.469 kB / 227.9 MB, free: 496 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.242, allocations: 1.375 MB / 229.3 MB, free: 15.18 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.124e-06/0.242, allocations: 3.938 kB / 229.3 MB, free: 15.17 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.2427, allocations: 405.8 kB / 229.7 MB, free: 14.91 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.2428, allocations: 96.2 kB / 229.8 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.2428, allocations: 11.62 kB / 229.8 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.243, allocations: 7.406 kB / 229.8 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2431, allocations: 14.95 kB / 229.8 MB, free: 14.79 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2431, allocations: 3.625 kB / 229.8 MB, free: 14.79 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.2432, allocations: 124.9 kB / 229.9 MB, free: 14.7 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.203e-06/0.2433, allocations: 0 / 229.9 MB, free: 14.7 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000429/0.2437, allocations: 51.81 kB / 230 MB, free: 14.7 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.0001596/0.2439, allocations: 117.2 kB / 230.1 MB, free: 14.6 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005782/0.2445, allocations: 250.6 kB / 230.3 MB, free: 14.46 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.281e-06/0.2445, allocations: 0 / 230.3 MB, free: 14.46 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.2448, allocations: 190.1 kB / 230.5 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2452, allocations: 18.95 kB / 230.5 MB, free: 14.33 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2464, allocations: 0.6491 MB / 231.2 MB, free: 13.83 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.2468, allocations: 0.7422 MB / 231.9 MB, free: 13.1 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.2469, allocations: 15.09 kB / 231.9 MB, free: 13.09 MB / 186.7 MB Notification: Performance of SimCode: time 4.651e-06/0.2469, allocations: 0 / 231.9 MB, free: 13.09 MB / 186.7 MB Notification: Performance of Templates: time 0.005393/0.2523, allocations: 2.761 MB / 234.7 MB, free: 11.48 MB / 186.7 MB