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/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.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 1.036/1.036, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.711e-05, allocations: 0 / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04583/0.04588, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.2181, allocations: 34.59 MB / 207.9 MB, free: 6.984 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.2183, allocations: 62.92 kB / 207.9 MB, free: 6.984 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.2286, allocations: 2.862 MB / 210.8 MB, free: 6.484 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.317e-06/0.2287, allocations: 0 / 210.8 MB, free: 6.484 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.2287, allocations: 3.969 kB / 210.8 MB, free: 6.484 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.0004915/0.2292, allocations: 427.9 kB / 211.2 MB, free: 6.105 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2293, allocations: 8.312 kB / 211.2 MB, free: 6.105 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.2293, allocations: 20.92 kB / 211.2 MB, free: 6.094 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.2296, allocations: 220.6 kB / 211.5 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2296, allocations: 4.594 kB / 211.5 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.2297, allocations: 14.69 kB / 211.5 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000241/0.2299, allocations: 78.12 kB / 211.6 MB, free: 5.879 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.2302, allocations: 128.5 kB / 211.7 MB, free: 5.836 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2302, allocations: 2.281 kB / 211.7 MB, free: 5.836 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.2303, allocations: 3.953 kB / 211.7 MB, free: 5.832 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-06/0.2303, allocations: 4.531 kB / 211.7 MB, free: 5.832 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008951/0.2312, allocations: 0.5554 MB / 212.3 MB, free: 5.516 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.2314, allocations: 98.38 kB / 212.3 MB, free: 5.488 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.2315, allocations: 32.52 kB / 212.4 MB, free: 5.48 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2315, allocations: 1.438 kB / 212.4 MB, free: 5.48 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2316, allocations: 39.73 kB / 212.4 MB, free: 5.434 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 3.2e-06/0.2316, allocations: 0 / 212.4 MB, free: 5.434 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.00135/0.2329, allocations: 0.6848 MB / 213.1 MB, free: 4.953 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.233, allocations: 64.8 kB / 213.2 MB, free: 4.883 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.287e-05/0.2331, allocations: 116.1 kB / 213.3 MB, free: 4.793 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2331, allocations: 27.55 kB / 213.3 MB, free: 4.762 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2332, allocations: 198.7 kB / 213.5 MB, free: 4.59 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.2332, allocations: 60.58 kB / 213.6 MB, free: 4.547 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-06/0.2333, allocations: 0 / 213.6 MB, free: 4.547 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.2333, allocations: 319.7 kB / 213.9 MB, free: 4.234 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.2334, allocations: 30.72 kB / 213.9 MB, free: 4.23 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2335, allocations: 68.08 kB / 214 MB, free: 4.195 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.2337, allocations: 38.53 kB / 214 MB, free: 4.195 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-06/0.2337, allocations: 0 / 214 MB, free: 4.195 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003955/0.2341, allocations: 172.4 kB / 214.2 MB, free: 4.137 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2341, allocations: 5.469 kB / 214.2 MB, free: 4.137 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2341, allocations: 6.031 kB / 214.2 MB, free: 4.133 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.2344, allocations: 36.59 kB / 214.2 MB, free: 4.125 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2346, allocations: 38.83 kB / 214.3 MB, free: 4.125 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.2357, allocations: 1.363 MB / 215.6 MB, free: 2.914 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2358, allocations: 3.125 kB / 215.6 MB, free: 2.914 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.2359, allocations: 15.5 kB / 215.6 MB, free: 2.91 MB / 170.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.000146/0.236, allocations: 119.6 kB / 215.8 MB, free: 2.789 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.2361, allocations: 10.2 kB / 215.8 MB, free: 2.785 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.2362, allocations: 19.86 kB / 215.8 MB, free: 2.781 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2362, allocations: 1.531 kB / 215.8 MB, free: 2.781 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.679e-06/0.2362, allocations: 4.859 kB / 215.8 MB, free: 2.781 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.143e-06/0.2362, allocations: 0 / 215.8 MB, free: 2.781 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.2371, allocations: 0.5145 MB / 216.3 MB, free: 2.461 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-06/0.2371, allocations: 1.25 kB / 216.3 MB, free: 2.461 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.2374, allocations: 42.12 kB / 216.3 MB, free: 2.457 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.2376, allocations: 32.66 kB / 216.4 MB, free: 2.449 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2376, allocations: 96 / 216.4 MB, free: 2.449 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.239, allocations: 1.314 MB / 217.7 MB, free: 17.24 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.136e-06/0.239, allocations: 1.969 kB / 217.7 MB, free: 17.24 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.2395, allocations: 361.5 kB / 218.1 MB, free: 17 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.2396, allocations: 88.95 kB / 218.1 MB, free: 16.9 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.2397, allocations: 3.75 kB / 218.1 MB, free: 16.9 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2398, allocations: 7.875 kB / 218.1 MB, free: 16.9 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.2399, allocations: 26.69 kB / 218.2 MB, free: 16.89 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.2399, allocations: 3.75 kB / 218.2 MB, free: 16.89 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.87e-05/0.24, allocations: 100.8 kB / 218.3 MB, free: 16.82 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.24, allocations: 0 / 218.3 MB, free: 16.82 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004324/0.2405, allocations: 42.25 kB / 218.3 MB, free: 16.81 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.0001458/0.2406, allocations: 102.2 kB / 218.4 MB, free: 16.72 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.2411, allocations: 226.5 kB / 218.6 MB, free: 16.61 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.061e-06/0.2411, allocations: 0 / 218.6 MB, free: 16.61 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.2414, allocations: 175.2 kB / 218.8 MB, free: 16.5 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2417, allocations: 22.98 kB / 218.8 MB, free: 16.49 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.2425, allocations: 392.4 kB / 219.2 MB, free: 16.22 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.243, allocations: 0.731 MB / 219.9 MB, free: 15.52 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.243, allocations: 13.81 kB / 220 MB, free: 15.52 MB / 186.7 MB Notification: Performance of SimCode: time 1.602e-06/0.243, allocations: 0 / 220 MB, free: 15.52 MB / 186.7 MB Notification: Performance of Templates: time 0.004822/0.2479, allocations: 2.673 MB / 222.6 MB, free: 15.09 MB / 186.7 MB