Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="// No comparison signals available. Just an animation test.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadModel(ModelicaTest): time 2.133/2.133, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004282, allocations: 12 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3441, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4734, allocations: 86.92 MB / 456.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4737, allocations: 75.97 kB / 456.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3639/0.8376, allocations: 34.36 MB / 490.6 MB, free: 90.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.416e-06/0.8377, allocations: 0 / 490.6 MB, free: 90.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.336e-05/0.8377, allocations: 29.19 kB / 490.6 MB, free: 90.49 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.002653/0.8404, allocations: 1.732 MB / 492.4 MB, free: 89.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8405, allocations: 7.688 kB / 492.4 MB, free: 89.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007927/0.8484, allocations: 1.651 MB / 494 MB, free: 89.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.8509, allocations: 1.033 MB / 495.1 MB, free: 88.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.8511, allocations: 127.8 kB / 495.2 MB, free: 88.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006439/0.8517, allocations: 174.9 kB / 495.4 MB, free: 88.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007479/0.8592, allocations: 4.937 MB / 0.4886 GB, free: 83.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-05/0.8593, allocations: 31.69 kB / 0.4886 GB, free: 83.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.8597, allocations: 91.66 kB / 0.4887 GB, free: 83.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006465/0.8603, allocations: 0.5062 MB / 0.4892 GB, free: 82.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/0.8675, allocations: 4.073 MB / 0.4932 GB, free: 78.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02074/0.8884, allocations: 24.57 MB / 0.5172 GB, free: 53.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.8899, allocations: 1.19 MB / 0.5183 GB, free: 51.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.8899, allocations: 4 kB / 0.5183 GB, free: 51.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8899, allocations: 38.56 kB / 0.5184 GB, free: 51.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=60): time 3.953e-06/0.89, allocations: 3.938 kB / 0.5184 GB, free: 51.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.001927/0.8919, allocations: 1.282 MB / 0.5196 GB, free: 50.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.892, allocations: 110.8 kB / 0.5197 GB, free: 50.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.8953, allocations: 1.951 MB / 0.5216 GB, free: 48.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.8954, allocations: 29.7 kB / 0.5217 GB, free: 48.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.8964, allocations: 1.633 MB / 0.5232 GB, free: 46.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.8967, allocations: 264.8 kB / 0.5235 GB, free: 46.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.8968, allocations: 63.52 kB / 0.5236 GB, free: 46.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.8971, allocations: 465.9 kB / 0.524 GB, free: 45.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.8986, allocations: 0.877 MB / 0.5249 GB, free: 44.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.9012, allocations: 3.121 MB / 0.5279 GB, free: 40.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/0.9038, allocations: 1.668 MB / 0.5295 GB, free: 38.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-05/0.9039, allocations: 27.95 kB / 0.5296 GB, free: 38.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.007626/0.9115, allocations: 3.737 MB / 0.5332 GB, free: 35.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.9116, allocations: 43.98 kB / 0.5333 GB, free: 35.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.21e-05/0.9117, allocations: 84.16 kB / 0.5333 GB, free: 35.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.9118, allocations: 116 kB / 0.5334 GB, free: 34.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.9145, allocations: 0.7447 MB / 0.5342 GB, free: 34.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.9147, allocations: 163.4 kB / 0.5343 GB, free: 34.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.9178, allocations: 486.8 kB / 0.5348 GB, free: 33.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/0.9183, allocations: 216 kB / 0.535 GB, free: 33.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.92, allocations: 1.085 MB / 0.5361 GB, free: 32.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.9203, allocations: 165.8 kB / 0.5362 GB, free: 32.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.9207, allocations: 199.8 kB / 0.5364 GB, free: 31.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.9207, allocations: 15.42 kB / 0.5364 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.78e-06/0.9208, allocations: 0 / 0.5364 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.417e-06/0.9208, allocations: 0 / 0.5364 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.9247, allocations: 2.014 MB / 0.5384 GB, free: 29.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.015e-06/0.9248, allocations: 0 / 0.5384 GB, free: 29.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.9252, allocations: 63.91 kB / 0.5385 GB, free: 29.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.039e-06/0.9252, allocations: 0 / 0.5385 GB, free: 29.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.9253, allocations: 11.98 kB / 0.5385 GB, free: 29.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.476e-06/0.9253, allocations: 4 kB / 0.5385 GB, free: 29.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.562e-06/0.9253, allocations: 0 / 0.5385 GB, free: 29.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.9266, allocations: 1.064 MB / 0.5395 GB, free: 28.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.9271, allocations: 234.8 kB / 0.5397 GB, free: 28.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.9273, allocations: 4 kB / 0.5397 GB, free: 28.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.928, allocations: 31.92 kB / 0.5398 GB, free: 28.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.9281, allocations: 27.91 kB / 0.5398 GB, free: 28.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.9282, allocations: 16.28 kB / 0.5398 GB, free: 28.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002448/0.9306, allocations: 1.359 MB / 0.5411 GB, free: 26.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.18e-07/0.9306, allocations: 0 / 0.5411 GB, free: 26.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003572/0.9342, allocations: 0.4976 MB / 0.5416 GB, free: 26.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002853/0.9345, allocations: 127.1 kB / 0.5417 GB, free: 26.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.9381, allocations: 2.011 MB / 0.5437 GB, free: 24.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9381, allocations: 1 kB / 0.5437 GB, free: 24.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.9386, allocations: 335.6 kB / 0.544 GB, free: 23.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.9397, allocations: 168.3 kB / 0.5442 GB, free: 23.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007594/0.9473, allocations: 4.572 MB / 0.5487 GB, free: 19.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/0.9492, allocations: 1.818 MB / 0.5504 GB, free: 17.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004607/0.9497, allocations: 147.4 kB / 0.5506 GB, free: 17.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.566e-06/0.9497, allocations: 0 / 0.5506 GB, free: 17.18 MB / 394.7 MB Notification: Performance of Templates: time 0.03899/0.9887, allocations: 24.71 MB / 0.5747 GB, free: 8.48 MB / 410.7 MB