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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.583/1.583, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 8 kB / 233.2 MB, free: 3.043 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06796/0.06833, allocations: 38.77 MB / 271.9 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002505/0.07088, allocations: 1.641 MB / 273.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.07194, allocations: 0.5266 MB / 274.1 MB, free: 10 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.07208, allocations: 4 kB / 274.1 MB, free: 9.996 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.518e-05/0.07215, allocations: 19.84 kB / 274.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.07235, allocations: 75.72 kB / 274.2 MB, free: 9.902 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.07253, allocations: 35.97 kB / 274.2 MB, free: 9.867 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.07281, allocations: 143.6 kB / 274.4 MB, free: 9.727 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.07299, allocations: 61.77 kB / 274.4 MB, free: 9.664 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.0731, allocations: 59.78 kB / 274.5 MB, free: 9.605 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.07325, allocations: 75.69 kB / 274.6 MB, free: 9.531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.0733, allocations: 8 kB / 274.6 MB, free: 9.523 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.07335, allocations: 8 kB / 274.6 MB, free: 9.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.07339, allocations: 27.86 kB / 274.6 MB, free: 9.488 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.07347, allocations: 53.64 kB / 274.7 MB, free: 9.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.07371, allocations: 159.8 kB / 274.8 MB, free: 9.273 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.656e-06/0.07372, allocations: 4 kB / 274.8 MB, free: 9.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.751e-06/0.07374, allocations: 0 / 274.8 MB, free: 9.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.825e-06/0.07376, allocations: 0 / 274.8 MB, free: 9.27 MB / 234.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.0007149/0.07448, allocations: 450.8 kB / 275.3 MB, free: 8.781 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.07453, allocations: 8.031 kB / 275.3 MB, free: 8.773 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.0746, allocations: 19.72 kB / 275.3 MB, free: 8.754 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.0749, allocations: 214.8 kB / 275.5 MB, free: 8.504 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.07493, allocations: 16 kB / 275.5 MB, free: 8.488 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.075, allocations: 19.94 kB / 275.5 MB, free: 8.469 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.07541, allocations: 157.2 kB / 275.7 MB, free: 8.309 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.07545, allocations: 8 kB / 275.7 MB, free: 8.301 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.07548, allocations: 4 kB / 275.7 MB, free: 8.297 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.005e-06/0.0755, allocations: 4 kB / 275.7 MB, free: 8.293 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.07584, allocations: 99.94 kB / 275.8 MB, free: 8.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.07703, allocations: 0.6041 MB / 276.4 MB, free: 7.531 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.07736, allocations: 118.5 kB / 276.5 MB, free: 7.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.07741, allocations: 11.98 kB / 276.5 MB, free: 7.395 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.07745, allocations: 30.56 kB / 276.6 MB, free: 7.355 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.522e-06/0.07746, allocations: 0 / 276.6 MB, free: 7.355 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.001995/0.07946, allocations: 0.8098 MB / 277.4 MB, free: 6.453 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.07953, allocations: 55.41 kB / 277.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.07974, allocations: 154.2 kB / 277.6 MB, free: 6.227 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.07978, allocations: 25.7 kB / 277.6 MB, free: 6.195 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.07993, allocations: 198.7 kB / 277.8 MB, free: 6 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.02e-05/0.08001, allocations: 63.09 kB / 277.8 MB, free: 5.938 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.08003, allocations: 4 kB / 277.9 MB, free: 5.934 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.08021, allocations: 318.8 kB / 278.2 MB, free: 5.613 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.08037, allocations: 48.34 kB / 278.2 MB, free: 5.566 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.08056, allocations: 80.16 kB / 278.3 MB, free: 5.477 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.08074, allocations: 51.94 kB / 278.3 MB, free: 5.426 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.08076, allocations: 4 kB / 278.3 MB, free: 5.422 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005486/0.08132, allocations: 202.3 kB / 278.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.08135, allocations: 4 kB / 278.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-06/0.08137, allocations: 4 kB / 278.5 MB, free: 5.207 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/0.08159, allocations: 40.83 kB / 278.6 MB, free: 5.164 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.0818, allocations: 35.88 kB / 278.6 MB, free: 5.129 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.08354, allocations: 1.437 MB / 280.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.08368, allocations: 4.031 kB / 280.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.08373, allocations: 8 kB / 280.1 MB, free: 3.551 MB / 234.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.0001784/0.08392, allocations: 145.8 kB / 280.2 MB, free: 3.398 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.08398, allocations: 11.81 kB / 280.2 MB, free: 3.387 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.08405, allocations: 21.19 kB / 280.2 MB, free: 3.367 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.08407, allocations: 7.953 kB / 280.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-06/0.08408, allocations: 0 / 280.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.836e-06/0.08409, allocations: 0 / 280.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.08526, allocations: 0.5878 MB / 280.8 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.95e-06/0.08529, allocations: 3.938 kB / 280.8 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.08551, allocations: 35.86 kB / 280.9 MB, free: 2.668 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.08568, allocations: 36.88 kB / 280.9 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.08572, allocations: 320 / 280.9 MB, free: 2.629 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.08726, allocations: 1.382 MB / 282.3 MB, free: 1.109 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.022e-06/0.08729, allocations: 0 / 282.3 MB, free: 1.109 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/0.08802, allocations: 351.8 kB / 282.6 MB, free: 0.75 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.08812, allocations: 88.95 kB / 282.7 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.08816, allocations: 7.953 kB / 282.7 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.08832, allocations: 7.984 kB / 282.7 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.08838, allocations: 16.05 kB / 282.8 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.08841, allocations: 4 kB / 282.8 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.08855, allocations: 124.1 kB / 282.9 MB, free: 500 kB / 234.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.08857, allocations: 0 / 282.9 MB, free: 500 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.08899, allocations: 44 kB / 282.9 MB, free: 456 kB / 234.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.0001402/0.08914, allocations: 95.75 kB / 283 MB, free: 348 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.08979, allocations: 266.4 kB / 283.3 MB, free: 68 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.95e-06/0.08981, allocations: 0 / 283.3 MB, free: 68 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.09019, allocations: 186.7 kB / 283.5 MB, free: 15.87 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.09054, allocations: 24.11 kB / 283.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.09176, allocations: 0.6299 MB / 284.1 MB, free: 15.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.09222, allocations: 0.7362 MB / 284.9 MB, free: 14.42 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.0923, allocations: 19.44 kB / 284.9 MB, free: 14.4 MB / 250.7 MB Notification: Performance of SimCode: time 1.402e-06/0.09231, allocations: 0 / 284.9 MB, free: 14.4 MB / 250.7 MB Notification: Performance of Templates: time 0.005666/0.09799, allocations: 2.741 MB / 287.6 MB, free: 11.65 MB / 250.7 MB