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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.151/2.151, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.694e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2639, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4117, allocations: 84.03 MB / 404 MB, free: 12.42 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.4121, allocations: 71.97 kB / 404.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5586/0.9708, allocations: 76.16 MB / 480.3 MB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.607e-06/0.9708, allocations: 0 / 480.3 MB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001137/0.972, allocations: 138.4 kB / 480.4 MB, free: 82.95 MB / 378.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.01833/0.9903, allocations: 6.51 MB / 486.9 MB, free: 79.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.9904, allocations: 10.69 kB / 486.9 MB, free: 79.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/0.9945, allocations: 1.127 MB / 488 MB, free: 79.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/1.005, allocations: 4.089 MB / 492.1 MB, free: 76.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.005, allocations: 80 kB / 492.2 MB, free: 76.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/1.006, allocations: 140 kB / 492.4 MB, free: 76.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007543/1.013, allocations: 4.504 MB / 496.9 MB, free: 72.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/1.024, allocations: 5.962 MB / 0.491 GB, free: 66.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.439e-05/1.024, allocations: 7.938 kB / 0.491 GB, free: 66.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/1.025, allocations: 4 kB / 0.491 GB, free: 66.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/1.026, allocations: 1.026 MB / 0.492 GB, free: 65.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0545/1.08, allocations: 20.4 MB / 0.512 GB, free: 44.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/1.08, allocations: 165.1 kB / 0.5121 GB, free: 44.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/1.08, allocations: 80.14 kB / 0.5122 GB, free: 44.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/1.08, allocations: 75.28 kB / 0.5123 GB, free: 44.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/1.08, allocations: 121.8 kB / 0.5124 GB, free: 44.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 6.934e-06/1.08, allocations: 4.031 kB / 0.5124 GB, free: 44.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.002506/1.083, allocations: 0.8347 MB / 0.5132 GB, free: 43.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/1.083, allocations: 51.41 kB / 0.5133 GB, free: 43.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0341/1.117, allocations: 8.634 MB / 0.5217 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-06/1.117, allocations: 25.7 kB / 0.5217 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008951/1.126, allocations: 5.025 MB / 0.5266 GB, free: 29.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/1.126, allocations: 91.89 kB / 0.5267 GB, free: 29.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/1.127, allocations: 0 / 0.5267 GB, free: 29.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004484/1.127, allocations: 487.8 kB / 0.5272 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/1.13, allocations: 0.6368 MB / 0.5278 GB, free: 28.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004674/1.135, allocations: 3.812 MB / 0.5315 GB, free: 22.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/1.137, allocations: 1.501 MB / 0.533 GB, free: 21.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-05/1.137, allocations: 36 kB / 0.533 GB, free: 21.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.007503/1.145, allocations: 3.494 MB / 0.5364 GB, free: 17.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/1.145, allocations: 52.78 kB / 0.5365 GB, free: 17.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/1.145, allocations: 120 kB / 0.5366 GB, free: 17.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/1.145, allocations: 168 kB / 0.5368 GB, free: 17.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.148, allocations: 0.9785 MB / 0.5377 GB, free: 16.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001384/1.148, allocations: 223.2 kB / 0.5379 GB, free: 16.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/1.153, allocations: 0.5524 MB / 0.5385 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005931/1.154, allocations: 280 kB / 0.5387 GB, free: 15.57 MB / 378.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 () * 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.0004788/1.154, allocations: 456.1 kB / 0.5392 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.156, allocations: 0.9031 MB / 0.54 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/1.158, allocations: 1.018 MB / 0.541 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.158, allocations: 184.3 kB / 0.5412 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.827e-05/1.158, allocations: 180.2 kB / 0.5414 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/1.158, allocations: 180.2 kB / 0.5416 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008514/1.167, allocations: 3.923 MB / 0.5454 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.167, allocations: 101 kB / 0.5455 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/1.167, allocations: 108.9 kB / 0.5456 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.112e-05/1.167, allocations: 180.2 kB / 0.5458 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/1.167, allocations: 176.3 kB / 0.5459 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.921e-05/1.167, allocations: 184.2 kB / 0.5461 GB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.042e-05/1.167, allocations: 184.3 kB / 0.5463 GB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/1.168, allocations: 1.151 MB / 0.5474 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.17, allocations: 1.054 MB / 0.5484 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008468/1.171, allocations: 180.2 kB / 0.5486 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.172, allocations: 140.9 kB / 0.5487 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/1.172, allocations: 176.3 kB / 0.5489 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.172, allocations: 109 kB / 0.549 GB, free: 4.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0143/1.187, allocations: 6.505 MB / 0.5554 GB, free: 14.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.22e-06/1.187, allocations: 0 / 0.5554 GB, free: 14.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005935/1.193, allocations: 1.069 MB / 0.5564 GB, free: 13.27 MB / 394.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 () * 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.0003055/1.193, allocations: 205.8 kB / 0.5566 GB, free: 13.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003509/1.197, allocations: 1.586 MB / 0.5582 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.284e-06/1.197, allocations: 0 / 0.5582 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.054e-06/1.197, allocations: 0 / 0.5582 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01999/1.217, allocations: 3.269 MB / 0.5613 GB, free: 8.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04577/1.262, allocations: 17.94 MB / 0.5789 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/1.276, allocations: 5.444 MB / 0.5842 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.277, allocations: 479.4 kB / 0.5846 GB, free: 252 kB / 410.7 MB Notification: Performance of SimCode: time 2.336e-06/1.277, allocations: 0 / 0.5846 GB, free: 252 kB / 410.7 MB Notification: Performance of Templates: time 0.4768/1.754, allocations: 127.2 MB / 0.7089 GB, free: 35.8 MB / 426.7 MB