Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 8 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08998, allocations: 48.7 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5217, allocations: 80.36 MB / 411.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004638/0.5223, allocations: 75.97 kB / 411.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1714/0.6937, allocations: 34.35 MB / 446.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6938, allocations: 3.938 kB / 446.1 MB, free: 2.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.657e-05/0.6939, allocations: 28 kB / 446.1 MB, free: 2.004 MB / 362.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.004434/0.6983, allocations: 1.741 MB / 447.8 MB, free: 216 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.6984, allocations: 8.031 kB / 447.8 MB, free: 208 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008989/0.7074, allocations: 1.647 MB / 449.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.7104, allocations: 1.038 MB / 450.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.7107, allocations: 135.4 kB / 450.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007493/0.7114, allocations: 167.9 kB / 450.8 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.7217, allocations: 4.922 MB / 455.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.59e-05/0.7218, allocations: 39.67 kB / 455.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000413/0.7223, allocations: 91.94 kB / 455.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008695/0.7231, allocations: 0.5023 MB / 456.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008816/0.732, allocations: 4.081 MB / 460.5 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03604/0.7681, allocations: 24.57 MB / 485 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.7713, allocations: 1.178 MB / 486.2 MB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.7714, allocations: 4 kB / 486.2 MB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.7715, allocations: 42.48 kB / 486.2 MB, free: 8.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 7.25e-06/0.7715, allocations: 0 / 486.2 MB, free: 8.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.004141/0.7757, allocations: 1.279 MB / 487.5 MB, free: 6.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.7758, allocations: 114.9 kB / 487.6 MB, free: 6.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/0.7829, allocations: 1.947 MB / 489.6 MB, free: 4.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.7831, allocations: 33.7 kB / 489.6 MB, free: 4.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002545/0.7856, allocations: 1.643 MB / 491.3 MB, free: 2.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/0.7863, allocations: 260.9 kB / 491.5 MB, free: 2.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.7867, allocations: 64 kB / 491.6 MB, free: 2.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006476/0.7873, allocations: 458 kB / 492 MB, free: 2.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/0.7909, allocations: 0.8809 MB / 492.9 MB, free: 1.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006782/0.7977, allocations: 3.121 MB / 496 MB, free: 12.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005862/0.8036, allocations: 1.662 MB / 497.7 MB, free: 11.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/0.8038, allocations: 24 kB / 497.7 MB, free: 11.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0126/0.8164, allocations: 3.754 MB / 0.4897 GB, free: 7.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.8165, allocations: 43.95 kB / 0.4898 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.8167, allocations: 84.16 kB / 0.4898 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.8169, allocations: 116 kB / 0.4899 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.8197, allocations: 0.7485 MB / 0.4907 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001748/0.8199, allocations: 151.4 kB / 0.4908 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/0.8233, allocations: 499.1 kB / 0.4913 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006382/0.824, allocations: 208 kB / 0.4915 GB, free: 5.672 MB / 426.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.002389/0.8264, allocations: 1.101 MB / 0.4926 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.8268, allocations: 169.7 kB / 0.4927 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.8273, allocations: 199.8 kB / 0.4929 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.8273, allocations: 8 kB / 0.4929 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.249e-06/0.8274, allocations: 0 / 0.4929 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8274, allocations: 7.984 kB / 0.4929 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.8323, allocations: 1.999 MB / 0.4949 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.249e-06/0.8323, allocations: 0 / 0.4949 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.8328, allocations: 71.89 kB / 0.495 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.8328, allocations: 4 kB / 0.495 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.8329, allocations: 11.98 kB / 0.495 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.492e-06/0.8329, allocations: 0 / 0.495 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8329, allocations: 0 / 0.495 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.8346, allocations: 1.062 MB / 0.496 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005605/0.8352, allocations: 246.7 kB / 0.4962 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.8355, allocations: 8 kB / 0.4963 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.8362, allocations: 23.97 kB / 0.4963 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.8363, allocations: 23.92 kB / 0.4963 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.8364, allocations: 20 kB / 0.4963 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2303/1.067, allocations: 1.349 MB / 0.4976 GB, free: 127.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.394e-06/1.067, allocations: 0 / 0.4976 GB, free: 127.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003622/1.07, allocations: 498.1 kB / 0.4981 GB, free: 127.4 MB / 426.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.0003371/1.071, allocations: 129.5 kB / 0.4982 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004352/1.075, allocations: 2.016 MB / 0.5002 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.19e-06/1.075, allocations: 1.375 kB / 0.5002 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/1.076, allocations: 332.1 kB / 0.5005 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/1.077, allocations: 154.4 kB / 0.5007 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/1.085, allocations: 4.577 MB / 0.5051 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/1.088, allocations: 1.826 MB / 0.5069 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/1.089, allocations: 145.4 kB / 0.5071 GB, free: 124.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/1.089, allocations: 0 / 0.5071 GB, free: 124.8 MB / 426.7 MB Notification: Performance of Templates: time 0.04175/1.13, allocations: 24.7 MB / 0.5312 GB, free: 121.2 MB / 426.7 MB