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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.334/2.334, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.931e-05, allocations: 4 kB / 303.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2849, allocations: 54.86 MB / 358 MB, free: 15.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.4194, allocations: 86.17 MB / 444.2 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4197, allocations: 71.97 kB / 444.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1334/0.5532, allocations: 33.73 MB / 478 MB, free: 7.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.005e-06/0.5532, allocations: 0 / 478 MB, free: 7.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.825e-05/0.5533, allocations: 32 kB / 478 MB, free: 7.246 MB / 410.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.004368/0.5577, allocations: 1.644 MB / 479.7 MB, free: 5.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5578, allocations: 12.03 kB / 479.7 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008909/0.5667, allocations: 1.651 MB / 481.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.5697, allocations: 1.009 MB / 482.3 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5699, allocations: 52 kB / 482.4 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007553/0.5707, allocations: 100 kB / 482.5 MB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.254/0.8246, allocations: 2.774 MB / 485.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009915/0.8346, allocations: 4.655 MB / 489.9 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.014e-05/0.8347, allocations: 34.95 kB / 490 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/0.8351, allocations: 20.41 kB / 490 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00072/0.8359, allocations: 0.5113 MB / 490.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02086/0.8567, allocations: 23.46 MB / 0.5019 GB, free: 83.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.8582, allocations: 1.151 MB / 0.503 GB, free: 82.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.8587, allocations: 341.8 kB / 0.5033 GB, free: 82.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.8587, allocations: 3.969 kB / 0.5034 GB, free: 82.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.8588, allocations: 38.22 kB / 0.5034 GB, free: 82.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 4.709e-06/0.8588, allocations: 0 / 0.5034 GB, free: 82.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001502/0.8603, allocations: 0.7283 MB / 0.5041 GB, free: 82.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.8604, allocations: 114.4 kB / 0.5042 GB, free: 81.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.8631, allocations: 1.685 MB / 0.5059 GB, free: 81.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.8632, allocations: 25.7 kB / 0.5059 GB, free: 81.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009343/0.8641, allocations: 1.696 MB / 0.5075 GB, free: 79.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.8644, allocations: 269.7 kB / 0.5078 GB, free: 79.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.8646, allocations: 0 / 0.5078 GB, free: 79.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.8648, allocations: 470.9 kB / 0.5082 GB, free: 79.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.8662, allocations: 0.8322 MB / 0.5091 GB, free: 79.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.8686, allocations: 3.178 MB / 0.5122 GB, free: 75.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.8716, allocations: 1.68 MB / 0.5138 GB, free: 74.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-05/0.8717, allocations: 22.31 kB / 0.5138 GB, free: 74.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.00782/0.8795, allocations: 3.382 MB / 0.5171 GB, free: 73.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.8797, allocations: 40.38 kB / 0.5172 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.105e-05/0.8798, allocations: 87.88 kB / 0.5172 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.8799, allocations: 122.2 kB / 0.5174 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.8827, allocations: 0.7925 MB / 0.5181 GB, free: 73.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/0.8829, allocations: 161.3 kB / 0.5183 GB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/0.8861, allocations: 436.2 kB / 0.5187 GB, free: 73.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006377/0.8868, allocations: 220 kB / 0.5189 GB, free: 73.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 425 * 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.0005383/0.8873, allocations: 314.6 kB / 0.5192 GB, free: 72.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.8876, allocations: 153.2 kB / 0.5194 GB, free: 72.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.888, allocations: 179.8 kB / 0.5195 GB, free: 72.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.888, allocations: 8 kB / 0.5195 GB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.581e-06/0.888, allocations: 0 / 0.5195 GB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.163e-06/0.8881, allocations: 7.703 kB / 0.5195 GB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.8916, allocations: 1.634 MB / 0.5211 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.8917, allocations: 0 / 0.5211 GB, free: 71.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.8921, allocations: 63.19 kB / 0.5212 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.8921, allocations: 4 kB / 0.5212 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.8922, allocations: 4 kB / 0.5212 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.8922, allocations: 0 / 0.5212 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.991e-06/0.8922, allocations: 0 / 0.5212 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.8937, allocations: 1.027 MB / 0.5222 GB, free: 70.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.894, allocations: 222.5 kB / 0.5224 GB, free: 69.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.8943, allocations: 7.141 kB / 0.5224 GB, free: 69.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/0.895, allocations: 27.17 kB / 0.5225 GB, free: 69.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.8951, allocations: 22.98 kB / 0.5225 GB, free: 69.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.8952, allocations: 12.55 kB / 0.5225 GB, free: 69.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001832/0.897, allocations: 1.109 MB / 0.5236 GB, free: 68.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.79e-07/0.897, allocations: 0 / 0.5236 GB, free: 68.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00333/0.9004, allocations: 452.7 kB / 0.524 GB, free: 68.43 MB / 410.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 () * 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.0002969/0.9007, allocations: 121.5 kB / 0.5241 GB, free: 68.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003369/0.9041, allocations: 1.89 MB / 0.526 GB, free: 66.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.89e-06/0.9041, allocations: 0 / 0.526 GB, free: 66.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.9046, allocations: 326 kB / 0.5263 GB, free: 66.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.9056, allocations: 135.7 kB / 0.5264 GB, free: 66.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.912, allocations: 3.169 MB / 0.5295 GB, free: 63.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.9142, allocations: 1.825 MB / 0.5313 GB, free: 61.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.9147, allocations: 141.5 kB / 0.5314 GB, free: 61.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.731e-06/0.9147, allocations: 0 / 0.5314 GB, free: 61.7 MB / 410.7 MB Notification: Performance of Templates: time 0.03608/0.9508, allocations: 23.78 MB / 0.5546 GB, free: 39.08 MB / 410.7 MB