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.022/2.022, allocations: 209.3 MB / 222.4 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.656e-05, allocations: 3.984 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08865, allocations: 48.7 MB / 326.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.4341, allocations: 84.69 MB / 411.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4344, allocations: 71.97 kB / 411.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2724/0.7068, allocations: 78.03 MB / 489.3 MB, free: 4.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.7068, allocations: 8 kB / 489.3 MB, free: 4.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008604/0.7077, allocations: 132 kB / 489.5 MB, free: 3.984 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.2537/0.9614, allocations: 6.503 MB / 496 MB, free: 81.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9615, allocations: 9.594 kB / 496 MB, free: 81.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.9658, allocations: 1.13 MB / 497.1 MB, free: 80.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.9777, allocations: 4.082 MB / 0.4894 GB, free: 80.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.978, allocations: 190.1 kB / 0.4896 GB, free: 80.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008573/0.9788, allocations: 242.8 kB / 0.4899 GB, free: 80.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.9937, allocations: 6.343 MB / 0.4961 GB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.92e-05/0.9938, allocations: 10.88 kB / 0.4961 GB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005952/0.9945, allocations: 109.6 kB / 0.4962 GB, free: 79.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/0.9958, allocations: 1.01 MB / 0.4972 GB, free: 79.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/1.007, allocations: 3.911 MB / 0.501 GB, free: 79.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03574/1.042, allocations: 20.15 MB / 0.5206 GB, free: 70.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.044, allocations: 338.1 kB / 0.521 GB, free: 70.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/1.045, allocations: 60.14 kB / 0.521 GB, free: 70.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005758/1.05, allocations: 3.425 MB / 0.5244 GB, free: 67.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/1.051, allocations: 108.9 kB / 0.5245 GB, free: 67.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 3.488e-06/1.051, allocations: 0 / 0.5245 GB, free: 67.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.001455/1.052, allocations: 0.8381 MB / 0.5253 GB, free: 67.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.052, allocations: 133.9 kB / 0.5254 GB, free: 67.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02093/1.073, allocations: 9.173 MB / 0.5344 GB, free: 64.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/1.073, allocations: 25.7 kB / 0.5344 GB, free: 64.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004839/1.078, allocations: 5.018 MB / 0.5393 GB, free: 60.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/1.078, allocations: 94.02 kB / 0.5394 GB, free: 60.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.078, allocations: 84.59 kB / 0.5395 GB, free: 59.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002626/1.079, allocations: 485.8 kB / 0.5399 GB, free: 59.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.08, allocations: 0.7173 MB / 0.5406 GB, free: 59.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/1.083, allocations: 3.925 MB / 0.5445 GB, free: 54.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/1.086, allocations: 1.616 MB / 0.546 GB, free: 54.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.724e-05/1.086, allocations: 33.88 kB / 0.5461 GB, free: 54.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.00901/1.095, allocations: 4.153 MB / 0.5501 GB, free: 52.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.305e-05/1.095, allocations: 61.12 kB / 0.5502 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/1.095, allocations: 115 kB / 0.5503 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/1.095, allocations: 166.4 kB / 0.5505 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/1.098, allocations: 0.9777 MB / 0.5514 GB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001753/1.099, allocations: 233.2 kB / 0.5516 GB, free: 52.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/1.104, allocations: 0.6336 MB / 0.5523 GB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005482/1.105, allocations: 285.1 kB / 0.5525 GB, free: 52.21 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 () * 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.0005515/1.105, allocations: 0.5292 MB / 0.553 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.107, allocations: 0.9078 MB / 0.5539 GB, free: 51.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/1.109, allocations: 1.018 MB / 0.5549 GB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/1.109, allocations: 183.5 kB / 0.5551 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-05/1.109, allocations: 180.2 kB / 0.5553 GB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/1.109, allocations: 187.4 kB / 0.5555 GB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.122, allocations: 5.125 MB / 0.5605 GB, free: 48.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/1.122, allocations: 105 kB / 0.5606 GB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/1.122, allocations: 101 kB / 0.5607 GB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-05/1.122, allocations: 180.2 kB / 0.5608 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/1.122, allocations: 188 kB / 0.561 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.012e-05/1.122, allocations: 184.2 kB / 0.5612 GB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.82e-05/1.122, allocations: 176.3 kB / 0.5613 GB, free: 47.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/1.123, allocations: 1.158 MB / 0.5625 GB, free: 46.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/1.125, allocations: 1.067 MB / 0.5635 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.127, allocations: 184 kB / 0.5637 GB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.129, allocations: 139.8 kB / 0.5638 GB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/1.129, allocations: 180.2 kB / 0.564 GB, free: 44.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.129, allocations: 108.3 kB / 0.5641 GB, free: 44.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01541/1.144, allocations: 7.035 MB / 0.571 GB, free: 38.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-06/1.144, allocations: 4 kB / 0.571 GB, free: 38.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005625/1.15, allocations: 1.134 MB / 0.5721 GB, free: 37.36 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 () * 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.0002314/1.15, allocations: 206.6 kB / 0.5723 GB, free: 37.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003519/1.154, allocations: 1.82 MB / 0.5741 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.009e-06/1.154, allocations: 0 / 0.5741 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.753e-06/1.154, allocations: 0 / 0.5741 GB, free: 35.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/1.169, allocations: 3.281 MB / 0.5773 GB, free: 33.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03985/1.209, allocations: 17.96 MB / 0.5948 GB, free: 19.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/1.22, allocations: 5.446 MB / 0.6001 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000934/1.221, allocations: 476.8 kB / 0.6006 GB, free: 14.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.889e-06/1.221, allocations: 0 / 0.6006 GB, free: 14.68 MB / 410.7 MB Notification: Performance of Templates: time 0.5342/1.755, allocations: 129.1 MB / 0.7267 GB, free: 61.3 MB / 442.7 MB