Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09183, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3912/0.4831, allocations: 73.22 MB / 382.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.4835, allocations: 73.98 kB / 382.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.4957, allocations: 3.03 MB / 385.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4957, allocations: 0 / 385.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.4958, allocations: 4.094 kB / 385.3 MB, free: 14.43 MB / 314.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.0006893/0.4965, allocations: 449 kB / 385.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4965, allocations: 8.094 kB / 385.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.4966, allocations: 21.22 kB / 385.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4969, allocations: 224.4 kB / 386 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4969, allocations: 13.25 kB / 386 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.497, allocations: 16.91 kB / 386 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.4974, allocations: 151.9 kB / 386.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.4975, allocations: 9.312 kB / 386.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.4975, allocations: 5.156 kB / 386.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4975, allocations: 4.188 kB / 386.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.4979, allocations: 106.4 kB / 386.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4991, allocations: 0.5856 MB / 386.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.4996, allocations: 118.4 kB / 387 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4996, allocations: 5.5 kB / 387 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.4996, allocations: 35.97 kB / 387 MB, free: 13.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/0.4997, allocations: 0 / 387 MB, free: 13.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.002156/0.5018, allocations: 0.8158 MB / 387.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.5019, allocations: 53.88 kB / 387.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.5021, allocations: 160.2 kB / 388 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.5021, allocations: 34.55 kB / 388.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.5022, allocations: 190.9 kB / 388.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.5023, allocations: 65.73 kB / 388.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.5023, allocations: 5.406 kB / 388.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.5023, allocations: 320.5 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.5025, allocations: 41.77 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.5027, allocations: 81.59 kB / 388.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.5029, allocations: 60.55 kB / 388.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5029, allocations: 3.938 kB / 388.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006323/0.5036, allocations: 199.9 kB / 389 MB, free: 12.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5036, allocations: 5.844 kB / 389 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5036, allocations: 1.312 kB / 389 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.5039, allocations: 41 kB / 389.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.5042, allocations: 34.97 kB / 389.1 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5056, allocations: 1.435 MB / 390.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.5058, allocations: 7.469 kB / 390.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.5058, allocations: 4.906 kB / 390.6 MB, free: 10.73 MB / 314.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.0001646/0.506, allocations: 140.2 kB / 390.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.506, allocations: 15.19 kB / 390.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.5061, allocations: 19.53 kB / 390.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5061, allocations: 6.609 kB / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5061, allocations: 0 / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.5061, allocations: 3.938 kB / 390.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5073, allocations: 0.5862 MB / 391.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5073, allocations: 0 / 391.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.5076, allocations: 32.3 kB / 391.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.5078, allocations: 33.2 kB / 391.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.5079, allocations: 4.688 kB / 391.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.5092, allocations: 1.379 MB / 392.8 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5092, allocations: 0 / 392.8 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007954/0.51, allocations: 348.3 kB / 393.1 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.5101, allocations: 87.61 kB / 393.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.5101, allocations: 11.53 kB / 393.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.5103, allocations: 8.188 kB / 393.2 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.5104, allocations: 18.53 kB / 393.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.5104, allocations: 2.625 kB / 393.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.5106, allocations: 119 kB / 393.4 MB, free: 8.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5106, allocations: 0 / 393.4 MB, free: 8.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004392/0.511, allocations: 46.25 kB / 393.4 MB, free: 8.605 MB / 314.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.0001417/0.5112, allocations: 101.2 kB / 393.5 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007308/0.5119, allocations: 265.6 kB / 393.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.5119, allocations: 0 / 393.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.5123, allocations: 197.3 kB / 393.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.5127, allocations: 21.58 kB / 394 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.5139, allocations: 0.6222 MB / 394.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.5141, allocations: 0.736 MB / 395.3 MB, free: 7.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.5142, allocations: 15.31 kB / 395.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5142, allocations: 0 / 395.3 MB, free: 7.16 MB / 314.7 MB Notification: Performance of Templates: time 0.006582/0.5208, allocations: 2.743 MB / 398.1 MB, free: 6.996 MB / 314.7 MB