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.ColorMaps.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.ColorMaps,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.ColorMaps") Notification: Performance of loadModel(ModelicaTest): time 2.18/2.18, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.393e-05/2.421e-05, allocations: 0 / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 54.85 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4582, allocations: 91.77 MB / 456.3 MB, free: 4.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4585, allocations: 71.97 kB / 456.4 MB, free: 4.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2657/0.7241, allocations: 78.9 MB / 0.5227 GB, free: 5.414 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.319e-06/0.7242, allocations: 0 / 0.5227 GB, free: 5.414 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008115/0.725, allocations: 136 kB / 0.5229 GB, free: 5.281 MB / 458.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.5842/1.309, allocations: 6.511 MB / 0.5292 GB, free: 100 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.309, allocations: 13.38 kB / 0.5292 GB, free: 100 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/1.313, allocations: 1.125 MB / 0.5303 GB, free: 99.43 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/1.323, allocations: 3.894 MB / 0.5341 GB, free: 98.7 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/1.323, allocations: 187.6 kB / 0.5343 GB, free: 98.69 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006052/1.324, allocations: 242.9 kB / 0.5345 GB, free: 98.69 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/1.338, allocations: 6.347 MB / 0.5407 GB, free: 98.06 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.219e-05/1.338, allocations: 7.781 kB / 0.5407 GB, free: 98.06 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/1.338, allocations: 106 kB / 0.5409 GB, free: 98.06 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001298/1.339, allocations: 1.012 MB / 0.5418 GB, free: 98.05 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009958/1.349, allocations: 3.906 MB / 0.5457 GB, free: 98.01 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0317/1.381, allocations: 19.94 MB / 0.5651 GB, free: 89.26 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/1.383, allocations: 340.4 kB / 0.5655 GB, free: 89.21 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/1.383, allocations: 59.39 kB / 0.5655 GB, free: 89.19 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005164/1.389, allocations: 3.265 MB / 0.5687 GB, free: 86.61 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/1.389, allocations: 109.1 kB / 0.5688 GB, free: 86.5 MB / 458.8 MB Notification: Performance of pre-optimization done (n=0): time 3.32e-06/1.389, allocations: 0 / 0.5688 GB, free: 86.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=0): time 0.001078/1.39, allocations: 0.8316 MB / 0.5696 GB, free: 86.01 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.39, allocations: 130.7 kB / 0.5697 GB, free: 85.87 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01897/1.409, allocations: 9.141 MB / 0.5787 GB, free: 83.08 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/1.409, allocations: 26.45 kB / 0.5787 GB, free: 83.05 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004629/1.413, allocations: 5.018 MB / 0.5836 GB, free: 78.79 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/1.414, allocations: 94.7 kB / 0.5837 GB, free: 78.75 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.414, allocations: 84.75 kB / 0.5838 GB, free: 78.68 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002186/1.414, allocations: 482.8 kB / 0.5842 GB, free: 78.3 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.415, allocations: 0.7166 MB / 0.5849 GB, free: 78.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/1.418, allocations: 3.927 MB / 0.5888 GB, free: 73.43 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/1.42, allocations: 1.619 MB / 0.5903 GB, free: 73.01 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.617e-05/1.421, allocations: 32.78 kB / 0.5904 GB, free: 73.01 MB / 458.8 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008254/1.429, allocations: 4.157 MB / 0.5944 GB, free: 71.54 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/1.429, allocations: 57.91 kB / 0.5945 GB, free: 71.54 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/1.429, allocations: 114.2 kB / 0.5946 GB, free: 71.54 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/1.429, allocations: 169.8 kB / 0.5948 GB, free: 71.54 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/1.432, allocations: 0.9768 MB / 0.5957 GB, free: 71.41 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001838/1.433, allocations: 225 kB / 0.5959 GB, free: 71.36 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/1.438, allocations: 0.6021 MB / 0.5965 GB, free: 70.97 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000507/1.438, allocations: 284.4 kB / 0.5968 GB, free: 70.94 MB / 458.8 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.0005168/1.439, allocations: 0.5317 MB / 0.5973 GB, free: 70.48 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.44, allocations: 0.915 MB / 0.5982 GB, free: 69.91 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/1.442, allocations: 1.014 MB / 0.5992 GB, free: 69.54 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.442, allocations: 188 kB / 0.5994 GB, free: 69.35 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.062e-05/1.442, allocations: 181.8 kB / 0.5995 GB, free: 69.17 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/1.442, allocations: 176.3 kB / 0.5997 GB, free: 68.99 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.452, allocations: 5.122 MB / 0.6047 GB, free: 66.69 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.452, allocations: 108.7 kB / 0.6048 GB, free: 66.58 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/1.452, allocations: 106 kB / 0.6049 GB, free: 66.47 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.195e-05/1.452, allocations: 180.2 kB / 0.6051 GB, free: 66.29 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/1.452, allocations: 183 kB / 0.6053 GB, free: 66.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.978e-05/1.452, allocations: 184.2 kB / 0.6054 GB, free: 65.91 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.81e-05/1.452, allocations: 179.6 kB / 0.6056 GB, free: 65.73 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.453, allocations: 1.151 MB / 0.6067 GB, free: 64.55 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.455, allocations: 0.9049 MB / 0.6076 GB, free: 63.63 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007604/1.456, allocations: 188.1 kB / 0.6078 GB, free: 63.45 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.457, allocations: 103 kB / 0.6079 GB, free: 63.34 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/1.457, allocations: 184 kB / 0.6081 GB, free: 63.16 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/1.457, allocations: 107.1 kB / 0.6082 GB, free: 63.05 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.02364/1.481, allocations: 6.999 MB / 0.615 GB, free: 56.98 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.484e-06/1.481, allocations: 0 / 0.615 GB, free: 56.98 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.009394/1.49, allocations: 1.116 MB / 0.6161 GB, free: 55.86 MB / 458.8 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.0001882/1.491, allocations: 175.7 kB / 0.6163 GB, free: 55.68 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005253/1.496, allocations: 1.822 MB / 0.618 GB, free: 54.04 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.234e-06/1.496, allocations: 4 kB / 0.618 GB, free: 54.04 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-06/1.496, allocations: 0 / 0.618 GB, free: 54.04 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02531/1.521, allocations: 3.279 MB / 0.6213 GB, free: 51.55 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05921/1.581, allocations: 13.4 MB / 0.6343 GB, free: 39.51 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01834/1.599, allocations: 5.441 MB / 0.6397 GB, free: 35.62 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/1.6, allocations: 435.4 kB / 0.6401 GB, free: 35.2 MB / 458.8 MB Notification: Performance of SimCode: time 2.276e-06/1.6, allocations: 0 / 0.6401 GB, free: 35.2 MB / 458.8 MB Notification: Performance of Templates: time 0.5245/2.125, allocations: 123.3 MB / 0.7605 GB, free: 110.3 MB / 490.8 MB