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 2.017/2.017, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007801/0.0007803, allocations: 11.98 kB / 282.5 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1382, allocations: 48.71 MB / 331.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2768/0.415, allocations: 45.81 MB / 377 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02728/0.4423, allocations: 9.636 MB / 386.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/0.4539, allocations: 229.8 kB / 386.9 MB, free: 13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007945/0.4619, allocations: 2.366 MB / 389.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02334/0.4853, allocations: 6.565 MB / 395.8 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.4879, allocations: 291.6 kB / 396.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.4905, allocations: 0.8853 MB / 397 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005396/0.4959, allocations: 2.826 MB / 399.8 MB, free: 244 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.4972, allocations: 0.5565 MB / 400.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.5011, allocations: 2.123 MB / 402.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.5016, allocations: 72 kB / 402.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5028, allocations: 315.4 kB / 402.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.5061, allocations: 2.898 MB / 405.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.5079, allocations: 1.391 MB / 407.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009446/0.5173, allocations: 6.867 MB / 414 MB, free: 1.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.734e-06/0.5174, allocations: 0 / 414 MB, free: 1.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.017e-06/0.5174, allocations: 0 / 414 MB, free: 1.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000214/0.5176, allocations: 0 / 414 MB, free: 1.98 MB / 330.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.01483/0.5325, allocations: 7.98 MB / 422 MB, free: 9.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.5325, allocations: 8.031 kB / 422 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.5344, allocations: 0.9666 MB / 423 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008117/0.5426, allocations: 3.706 MB / 426.7 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.5427, allocations: 131.3 kB / 426.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.5431, allocations: 167.9 kB / 427 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.5554, allocations: 6.623 MB / 433.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/0.5555, allocations: 7.938 kB / 433.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.5557, allocations: 75.94 kB / 433.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.5579, allocations: 1.561 MB / 435.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.5685, allocations: 4.148 MB / 439.4 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04044/0.609, allocations: 20.67 MB / 460 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.6113, allocations: 334.2 kB / 460.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007072/0.6184, allocations: 3.577 MB / 463.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/0.6186, allocations: 114.8 kB / 464.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.088e-06/0.6186, allocations: 0 / 464.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.001662/0.6203, allocations: 0.8425 MB / 464.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.6204, allocations: 126.7 kB / 465 MB, free: 13.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02325/0.6436, allocations: 10.56 MB / 475.6 MB, free: 3.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.6437, allocations: 25.7 kB / 475.6 MB, free: 3.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006407/0.6501, allocations: 5.01 MB / 480.6 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.6504, allocations: 95.91 kB / 480.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.6506, allocations: 80 kB / 480.8 MB, free: 14.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000381/0.651, allocations: 487.8 kB / 481.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.6526, allocations: 0.7459 MB / 482 MB, free: 12.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004864/0.6575, allocations: 3.957 MB / 486 MB, free: 7.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/0.661, allocations: 1.607 MB / 487.6 MB, free: 5.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.6612, allocations: 39.98 kB / 487.6 MB, free: 5.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01065/0.6718, allocations: 4.198 MB / 491.8 MB, free: 1.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.672, allocations: 56.84 kB / 491.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/0.6722, allocations: 120 kB / 492 MB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.6724, allocations: 168 kB / 492.2 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/0.6759, allocations: 0.9747 MB / 493.1 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002812/0.6763, allocations: 231.1 kB / 493.4 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/0.6817, allocations: 0.6809 MB / 494 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006024/0.6823, allocations: 290.9 kB / 494.3 MB, free: 14.91 MB / 426.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.006979/0.6893, allocations: 3.39 MB / 497.7 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/0.691, allocations: 0.912 MB / 498.6 MB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.6934, allocations: 1.011 MB / 499.6 MB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.073e-05/0.6935, allocations: 188.2 kB / 499.8 MB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001009/0.6936, allocations: 184.2 kB / 500 MB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.879e-05/0.6937, allocations: 176.3 kB / 0.4884 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.7052, allocations: 5.13 MB / 0.4935 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.508e-05/0.7053, allocations: 101 kB / 0.4936 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.7053, allocations: 104.9 kB / 0.4937 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-05/0.7054, allocations: 184.2 kB / 0.4938 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.7055, allocations: 180.5 kB / 0.494 GB, free: 3.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.462e-05/0.7056, allocations: 180.2 kB / 0.4942 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.412e-05/0.7058, allocations: 180.3 kB / 0.4943 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.7075, allocations: 1.163 MB / 0.4955 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/0.7101, allocations: 1.213 MB / 0.4967 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/0.7112, allocations: 188.2 kB / 0.4968 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.7132, allocations: 177 kB / 0.497 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4471/1.16, allocations: 184.6 kB / 0.4972 GB, free: 134.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/1.16, allocations: 105.3 kB / 0.4973 GB, free: 134.1 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.01686/1.177, allocations: 7.171 MB / 0.5043 GB, free: 132.6 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.961e-06/1.177, allocations: 0 / 0.5043 GB, free: 132.6 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00548/1.183, allocations: 1.141 MB / 0.5054 GB, free: 132.5 MB / 426.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 () * 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.0002757/1.183, allocations: 197.5 kB / 0.5056 GB, free: 132.4 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00382/1.187, allocations: 1.845 MB / 0.5074 GB, free: 131.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.055e-06/1.187, allocations: 0 / 0.5074 GB, free: 131.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 6.303e-06/1.187, allocations: 1.906 kB / 0.5074 GB, free: 131.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01432/1.201, allocations: 3.284 MB / 0.5106 GB, free: 130.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/1.235, allocations: 18.96 MB / 0.5291 GB, free: 121.9 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009863/1.245, allocations: 5.45 MB / 0.5344 GB, free: 118.2 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.246, allocations: 0.5149 MB / 0.5349 GB, free: 117.7 MB / 426.8 MB Notification: Performance of SimCode: time 1.784e-06/1.246, allocations: 0 / 0.5349 GB, free: 117.7 MB / 426.8 MB Notification: Performance of Templates: time 0.4985/1.745, allocations: 134.5 MB / 0.6663 GB, free: 91.2 MB / 442.8 MB