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.ColorMaps.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.ColorMaps,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.ColorMaps") Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004853, allocations: 16 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08914, allocations: 48.71 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.4863, allocations: 84.78 MB / 416.1 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.4866, allocations: 71.97 kB / 416.1 MB, free: 316 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2591/0.7458, allocations: 78.01 MB / 494.1 MB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.168e-06/0.7458, allocations: 4 kB / 494.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000855/0.7467, allocations: 139.9 kB / 494.3 MB, free: 1.848 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.2553/1.002, allocations: 8.206 MB / 0.4907 GB, free: 81.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.002, allocations: 11.84 kB / 0.4907 GB, free: 81.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/1.006, allocations: 1.129 MB / 0.4918 GB, free: 81.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/1.018, allocations: 4.124 MB / 0.4958 GB, free: 79.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/1.019, allocations: 189.8 kB / 0.496 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009112/1.02, allocations: 246.6 kB / 0.4963 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/1.035, allocations: 6.387 MB / 0.5025 GB, free: 79.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-05/1.035, allocations: 9.906 kB / 0.5025 GB, free: 79.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006626/1.036, allocations: 108 kB / 0.5026 GB, free: 79.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001366/1.037, allocations: 1.014 MB / 0.5036 GB, free: 79.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/1.048, allocations: 3.998 MB / 0.5075 GB, free: 79.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/1.082, allocations: 20.14 MB / 0.5272 GB, free: 70.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/1.084, allocations: 339.5 kB / 0.5275 GB, free: 70.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005937/1.09, allocations: 3.418 MB / 0.5308 GB, free: 67.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/1.09, allocations: 114.3 kB / 0.5309 GB, free: 67.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 3.291e-06/1.09, allocations: 3.844 kB / 0.5309 GB, free: 67.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.001548/1.091, allocations: 0.8345 MB / 0.5318 GB, free: 66.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.091, allocations: 133.7 kB / 0.5319 GB, free: 66.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02044/1.112, allocations: 9.274 MB / 0.5409 GB, free: 63.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/1.112, allocations: 25.7 kB / 0.541 GB, free: 63.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004846/1.117, allocations: 5.013 MB / 0.5459 GB, free: 59.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.117, allocations: 91.53 kB / 0.5459 GB, free: 59.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.117, allocations: 84.94 kB / 0.546 GB, free: 59.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002229/1.117, allocations: 484.5 kB / 0.5465 GB, free: 59.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/1.119, allocations: 0.7444 MB / 0.5472 GB, free: 58.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/1.121, allocations: 3.948 MB / 0.5511 GB, free: 54.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/1.124, allocations: 1.611 MB / 0.5526 GB, free: 53.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.379e-05/1.124, allocations: 34.25 kB / 0.5527 GB, free: 53.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008788/1.133, allocations: 4.207 MB / 0.5568 GB, free: 52.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/1.133, allocations: 56.91 kB / 0.5568 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/1.133, allocations: 119.8 kB / 0.557 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/1.133, allocations: 167.1 kB / 0.5571 GB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/1.136, allocations: 0.975 MB / 0.5581 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001806/1.137, allocations: 226 kB / 0.5583 GB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005585/1.142, allocations: 0.6403 MB / 0.5589 GB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005897/1.143, allocations: 283.1 kB / 0.5592 GB, free: 51.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 534 * Number of states: 0 () * Number of discrete variables: 27 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 534 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006419/1.149, allocations: 3.398 MB / 0.5625 GB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.151, allocations: 0.9166 MB / 0.5634 GB, free: 49.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/1.154, allocations: 1.013 MB / 0.5644 GB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/1.154, allocations: 183.4 kB / 0.5646 GB, free: 49.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/1.154, allocations: 176.3 kB / 0.5647 GB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-05/1.154, allocations: 179.7 kB / 0.5649 GB, free: 48.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.166, allocations: 5.13 MB / 0.5699 GB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.166, allocations: 103.5 kB / 0.57 GB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/1.166, allocations: 108.9 kB / 0.5701 GB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.208e-05/1.166, allocations: 176.3 kB / 0.5703 GB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/1.166, allocations: 180.3 kB / 0.5704 GB, free: 44.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.038e-05/1.166, allocations: 185.2 kB / 0.5706 GB, free: 44.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/1.166, allocations: 184 kB / 0.5708 GB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/1.168, allocations: 1.159 MB / 0.5719 GB, free: 43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/1.17, allocations: 1.066 MB / 0.573 GB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/1.171, allocations: 180.3 kB / 0.5731 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.174, allocations: 143.8 kB / 0.5733 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/1.174, allocations: 180.2 kB / 0.5735 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/1.174, allocations: 101 kB / 0.5735 GB, free: 41.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01558/1.189, allocations: 7.135 MB / 0.5805 GB, free: 35.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.174e-06/1.189, allocations: 3.844 kB / 0.5805 GB, free: 35.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005903/1.195, allocations: 1.141 MB / 0.5816 GB, free: 34.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002475/1.196, allocations: 206.1 kB / 0.5818 GB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003332/1.199, allocations: 1.842 MB / 0.5836 GB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/1.199, allocations: 0 / 0.5836 GB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-06/1.199, allocations: 0 / 0.5836 GB, free: 32.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/1.213, allocations: 3.289 MB / 0.5868 GB, free: 30.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05422/1.267, allocations: 23.2 MB / 0.6095 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01882/1.286, allocations: 5.445 MB / 0.6148 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/1.288, allocations: 479.4 kB / 0.6153 GB, free: 5.008 MB / 410.7 MB Notification: Performance of SimCode: time 3.389e-06/1.288, allocations: 0 / 0.6153 GB, free: 5.008 MB / 410.7 MB Notification: Performance of Templates: time 0.5026/1.791, allocations: 129.1 MB / 0.7414 GB, free: 58.62 MB / 442.7 MB