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 1.104/1.104, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002695, allocations: 4 kB / 158.2 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04834/0.04863, allocations: 25.17 MB / 183.4 MB, free: 6.004 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002407/0.05109, allocations: 1.537 MB / 185 MB, free: 4.469 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.05217, allocations: 471.5 kB / 185.4 MB, free: 4.004 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.05232, allocations: 4 kB / 185.4 MB, free: 4 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 5.59e-05/0.05239, allocations: 23.84 kB / 185.4 MB, free: 3.977 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.05258, allocations: 59.8 kB / 185.5 MB, free: 3.918 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.05277, allocations: 43.89 kB / 185.5 MB, free: 3.875 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.05305, allocations: 143.7 kB / 185.7 MB, free: 3.734 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.05323, allocations: 46.19 kB / 185.7 MB, free: 3.691 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.05334, allocations: 55.8 kB / 185.8 MB, free: 3.637 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.05349, allocations: 67.7 kB / 185.8 MB, free: 3.57 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.05354, allocations: 12 kB / 185.9 MB, free: 3.559 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.05358, allocations: 8 kB / 185.9 MB, free: 3.551 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.05363, allocations: 35.83 kB / 185.9 MB, free: 3.516 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.05371, allocations: 53.64 kB / 186 MB, free: 3.457 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.05394, allocations: 155.8 kB / 186.1 MB, free: 3.305 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.579e-06/0.05396, allocations: 4 kB / 186.1 MB, free: 3.301 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.05397, allocations: 0 / 186.1 MB, free: 3.301 MB / 154.7 MB Notification: Performance of Transformations before backend: time 6.329e-06/0.05399, allocations: 0 / 186.1 MB, free: 3.301 MB / 154.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.0007545/0.05475, allocations: 446.7 kB / 186.5 MB, free: 2.816 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.0548, allocations: 12.03 kB / 186.6 MB, free: 2.805 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.12e-05/0.05487, allocations: 15.81 kB / 186.6 MB, free: 2.789 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.05518, allocations: 224.8 kB / 186.8 MB, free: 2.531 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.05522, allocations: 16 kB / 186.8 MB, free: 2.516 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.05529, allocations: 19.95 kB / 186.8 MB, free: 2.496 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.05572, allocations: 161.2 kB / 187 MB, free: 2.332 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.05576, allocations: 3.938 kB / 187 MB, free: 2.328 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.05579, allocations: 8 kB / 187 MB, free: 2.32 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.516e-06/0.05581, allocations: 4 kB / 187 MB, free: 2.316 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.05615, allocations: 107.9 kB / 187.1 MB, free: 2.211 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.05735, allocations: 0.5965 MB / 187.7 MB, free: 1.555 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.05769, allocations: 114.6 kB / 187.8 MB, free: 1.434 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.05772, allocations: 0 / 187.8 MB, free: 1.434 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.05777, allocations: 38.56 kB / 187.9 MB, free: 1.387 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 2.058e-06/0.05779, allocations: 3.938 kB / 187.9 MB, free: 1.383 MB / 154.7 MB Notification: Performance of matching and sorting (n=18): time 0.002032/0.05983, allocations: 0.8138 MB / 188.7 MB, free: 484 kB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.0599, allocations: 51.41 kB / 188.7 MB, free: 420 kB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.06011, allocations: 162.2 kB / 188.9 MB, free: 248 kB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.06016, allocations: 25.7 kB / 188.9 MB, free: 216 kB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.0603, allocations: 194.7 kB / 189.1 MB, free: 20 kB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.0604, allocations: 59.28 kB / 189.2 MB, free: 15.96 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.06042, allocations: 4 kB / 189.2 MB, free: 15.95 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.0606, allocations: 318.8 kB / 189.5 MB, free: 15.63 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.06075, allocations: 44.17 kB / 189.5 MB, free: 15.59 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.06094, allocations: 74.53 kB / 189.6 MB, free: 15.51 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.06113, allocations: 51.98 kB / 189.6 MB, free: 15.46 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.06116, allocations: 7.781 kB / 189.6 MB, free: 15.45 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005655/0.06174, allocations: 202.2 kB / 189.8 MB, free: 15.25 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.06178, allocations: 10.17 kB / 189.9 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.81e-06/0.0618, allocations: 0 / 189.9 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.06202, allocations: 32.84 kB / 189.9 MB, free: 15.2 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.06227, allocations: 51.97 kB / 189.9 MB, free: 15.15 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.0641, allocations: 1.437 MB / 191.4 MB, free: 13.58 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.06429, allocations: 12.03 kB / 191.4 MB, free: 13.57 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.06433, allocations: 11.98 kB / 191.4 MB, free: 13.56 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.0002689/0.06461, allocations: 133.8 kB / 191.5 MB, free: 13.42 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.06468, allocations: 15.89 kB / 191.5 MB, free: 13.4 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.06475, allocations: 25.25 kB / 191.6 MB, free: 13.38 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.428e-06/0.06476, allocations: 0 / 191.6 MB, free: 13.38 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.72e-06/0.06478, allocations: 3.953 kB / 191.6 MB, free: 13.37 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.259e-06/0.0648, allocations: 4 kB / 191.6 MB, free: 13.37 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.06609, allocations: 0.5914 MB / 192.2 MB, free: 12.71 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.154e-06/0.06613, allocations: 0 / 192.2 MB, free: 12.71 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.06639, allocations: 39.92 kB / 192.2 MB, free: 12.67 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.06658, allocations: 36.77 kB / 192.2 MB, free: 12.63 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.06662, allocations: 4 kB / 192.2 MB, free: 12.62 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.06822, allocations: 1.375 MB / 193.6 MB, free: 11.11 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.798e-06/0.06825, allocations: 4.031 kB / 193.6 MB, free: 11.11 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.06903, allocations: 362.5 kB / 194 MB, free: 10.73 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.174e-05/0.06914, allocations: 101 kB / 194.1 MB, free: 10.61 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.06919, allocations: 7.953 kB / 194.1 MB, free: 10.6 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.06936, allocations: 8 kB / 194.1 MB, free: 10.59 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.06943, allocations: 15.98 kB / 194.1 MB, free: 10.58 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.06946, allocations: 8 kB / 194.1 MB, free: 10.57 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.06961, allocations: 120.1 kB / 194.2 MB, free: 10.45 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.06962, allocations: 0 / 194.2 MB, free: 10.45 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004352/0.07007, allocations: 40 kB / 194.3 MB, free: 10.41 MB / 170.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.0001451/0.07022, allocations: 119.1 kB / 194.4 MB, free: 10.29 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.07087, allocations: 246.6 kB / 194.6 MB, free: 10.04 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.0709, allocations: 4 kB / 194.6 MB, free: 10.03 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.07128, allocations: 190.7 kB / 194.8 MB, free: 9.832 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.07162, allocations: 23.89 kB / 194.8 MB, free: 9.809 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.0729, allocations: 0.648 MB / 195.5 MB, free: 9.117 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.07339, allocations: 0.7323 MB / 196.2 MB, free: 8.359 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.07347, allocations: 15.44 kB / 196.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of SimCode: time 2.005e-06/0.07348, allocations: 4 kB / 196.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of Templates: time 0.007884/0.08138, allocations: 2.749 MB / 199 MB, free: 5.586 MB / 170.7 MB