Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.704/1.704, allocations: 171.2 MB / 187.3 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003419, allocations: 8 kB / 233.8 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08371, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3443/0.428, allocations: 67.92 MB / 340.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.4284, allocations: 74.53 kB / 340.5 MB, free: 6.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01285/0.4412, allocations: 3.029 MB / 343.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4413, allocations: 0 / 343.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4413, allocations: 4 kB / 343.6 MB, free: 3.5 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.001334/0.4427, allocations: 441.9 kB / 344 MB, free: 3.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/0.4428, allocations: 12.03 kB / 344 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4429, allocations: 27.59 kB / 344 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.4434, allocations: 219.5 kB / 344.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.4434, allocations: 15.31 kB / 344.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.4435, allocations: 19.77 kB / 344.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.4443, allocations: 156.3 kB / 344.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.4444, allocations: 0 / 344.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.4444, allocations: 6.188 kB / 344.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4444, allocations: 11.98 kB / 344.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.4451, allocations: 96.14 kB / 344.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.4471, allocations: 0.6062 MB / 345.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.4478, allocations: 116.8 kB / 345.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.4478, allocations: 0 / 345.3 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.4479, allocations: 34.78 kB / 345.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 6.051e-06/0.4479, allocations: 0 / 345.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.003129/0.4511, allocations: 0.8178 MB / 346.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4511, allocations: 63.25 kB / 346.2 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.4514, allocations: 159.5 kB / 346.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4514, allocations: 25.7 kB / 346.4 MB, free: 0.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4515, allocations: 192.1 kB / 346.6 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.4516, allocations: 65.66 kB / 346.6 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.4516, allocations: 4 kB / 346.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4517, allocations: 314.1 kB / 346.9 MB, free: 248 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.4519, allocations: 47.28 kB / 347 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4521, allocations: 81.28 kB / 347.1 MB, free: 136 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.4523, allocations: 50.06 kB / 347.1 MB, free: 108 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4524, allocations: 0 / 347.1 MB, free: 108 kB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006418/0.453, allocations: 207.9 kB / 347.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.453, allocations: 4 kB / 347.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4531, allocations: 0 / 347.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.4533, allocations: 42.77 kB / 347.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.4536, allocations: 35.92 kB / 347.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.4553, allocations: 1.431 MB / 348.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.4555, allocations: 11.7 kB / 348.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.4555, allocations: 8.062 kB / 348.8 MB, free: 14.4 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 () * 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.0001838/0.4557, allocations: 131.2 kB / 349 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.4558, allocations: 11.91 kB / 349 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.945e-05/0.4559, allocations: 29.05 kB / 349 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4559, allocations: 3.938 kB / 349 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4559, allocations: 3.938 kB / 349 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4559, allocations: 4 kB / 349 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.4571, allocations: 0.5847 MB / 349.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4571, allocations: 0 / 349.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.4574, allocations: 39.09 kB / 349.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.4576, allocations: 36.38 kB / 349.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4577, allocations: 3.562 kB / 349.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.4592, allocations: 1.381 MB / 351.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/0.4592, allocations: 0 / 351.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.46, allocations: 343.2 kB / 351.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.4601, allocations: 89.08 kB / 351.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.4601, allocations: 10.5 kB / 351.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4603, allocations: 7.125 kB / 351.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.4604, allocations: 15.92 kB / 351.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4604, allocations: 7.438 kB / 351.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.4606, allocations: 122.5 kB / 351.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4606, allocations: 0 / 351.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004225/0.461, allocations: 47.69 kB / 351.7 MB, free: 11.61 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 () * 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.0001713/0.4612, allocations: 106.6 kB / 351.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.4619, allocations: 251.4 kB / 352 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.462, allocations: 4 kB / 352 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.4624, allocations: 198.9 kB / 352.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4628, allocations: 23.53 kB / 352.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.4641, allocations: 0.6254 MB / 352.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4645, allocations: 0.7401 MB / 353.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.4646, allocations: 15.44 kB / 353.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of SimCode: time 2.986e-06/0.4646, allocations: 0 / 353.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of Templates: time 0.006742/0.4714, allocations: 2.75 MB / 356.4 MB, free: 6.922 MB / 282.7 MB