Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.68e-05, allocations: 11.94 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0697/0.06975, allocations: 38.76 MB / 261.3 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.281/0.3508, allocations: 67.17 MB / 328.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.3511, allocations: 70.64 kB / 328.5 MB, free: 5.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.3629, allocations: 2.991 MB / 331.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.051e-06/0.363, allocations: 0 / 331.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.363, allocations: 11.67 kB / 331.5 MB, free: 2.555 MB / 266.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.0006644/0.3637, allocations: 429.1 kB / 331.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3638, allocations: 8.031 kB / 331.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.3638, allocations: 19.81 kB / 332 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3641, allocations: 213.1 kB / 332.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3642, allocations: 4 kB / 332.2 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.3642, allocations: 15.91 kB / 332.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000256/0.3645, allocations: 86.56 kB / 332.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.3648, allocations: 120.3 kB / 332.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3648, allocations: 4 kB / 332.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.3649, allocations: 0 / 332.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-06/0.3649, allocations: 4 kB / 332.4 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.366, allocations: 0.557 MB / 333 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3663, allocations: 99.77 kB / 333.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.3664, allocations: 32.08 kB / 333.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3664, allocations: 0 / 333.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.3664, allocations: 45.67 kB / 333.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.262e-06/0.3665, allocations: 0 / 333.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001622/0.3681, allocations: 0.6812 MB / 333.8 MB, free: 304 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3681, allocations: 55.41 kB / 333.9 MB, free: 236 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3683, allocations: 131.2 kB / 334 MB, free: 108 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3683, allocations: 25.7 kB / 334 MB, free: 76 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3685, allocations: 192.3 kB / 334.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.3686, allocations: 68.75 kB / 334.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.84e-06/0.3686, allocations: 0 / 334.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3688, allocations: 318.7 kB / 334.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.3689, allocations: 31.56 kB / 334.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.369, allocations: 79.55 kB / 334.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3692, allocations: 37.48 kB / 334.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-06/0.3692, allocations: 0 / 334.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005214/0.3697, allocations: 174.4 kB / 334.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3697, allocations: 4 kB / 334.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3698, allocations: 4 kB / 334.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.37, allocations: 40.41 kB / 335 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.3702, allocations: 35.97 kB / 335 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.3718, allocations: 1.364 MB / 336.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.372, allocations: 4.031 kB / 336.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.3721, allocations: 7.375 kB / 336.4 MB, free: 13.79 MB / 282.7 MB 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.0001252/0.3722, allocations: 109.2 kB / 336.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.3723, allocations: 7.906 kB / 336.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.3723, allocations: 23.86 kB / 336.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3723, allocations: 4.062 kB / 336.5 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.158e-06/0.3724, allocations: 4 kB / 336.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-06/0.3724, allocations: 0 / 336.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3734, allocations: 0.5236 MB / 337 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.056e-06/0.3734, allocations: 0 / 337 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.3737, allocations: 31.98 kB / 337.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.3739, allocations: 39.73 kB / 337.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3739, allocations: 0 / 337.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.3754, allocations: 1.315 MB / 338.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.641e-06/0.3754, allocations: 0 / 338.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.376, allocations: 309.9 kB / 338.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.3761, allocations: 81.02 kB / 338.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3762, allocations: 4.031 kB / 338.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3763, allocations: 4.125 kB / 338.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3764, allocations: 19.59 kB / 338.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3764, allocations: 4 kB / 338.8 MB, free: 11.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.3765, allocations: 94.34 kB / 338.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.3765, allocations: 0 / 338.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004353/0.377, allocations: 40 kB / 339 MB, free: 11.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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.000167/0.3772, allocations: 107.1 kB / 339.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.3777, allocations: 225 kB / 339.3 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.527e-06/0.3777, allocations: 7.938 kB / 339.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.378, allocations: 166.2 kB / 339.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.3784, allocations: 23.48 kB / 339.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/0.3793, allocations: 368.1 kB / 339.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3798, allocations: 0.7358 MB / 340.6 MB, free: 9.586 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.3799, allocations: 19.25 kB / 340.6 MB, free: 9.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.808e-06/0.3799, allocations: 0 / 340.6 MB, free: 9.57 MB / 282.7 MB Notification: Performance of Templates: time 0.005886/0.3858, allocations: 2.667 MB / 343.3 MB, free: 6.926 MB / 282.7 MB