Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.957/1.957, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004333, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 48.71 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.5318, allocations: 84.77 MB / 416.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5322, allocations: 83.95 kB / 416.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6015/1.134, allocations: 78.08 MB / 494.7 MB, free: 82.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.134, allocations: 0 / 494.7 MB, free: 82.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00117/1.135, allocations: 142.2 kB / 494.9 MB, free: 82.59 MB / 394.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.02141/1.156, allocations: 8.217 MB / 0.4913 GB, free: 78.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.156, allocations: 7.469 kB / 0.4913 GB, free: 78.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/1.161, allocations: 1.134 MB / 0.4924 GB, free: 77.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/1.174, allocations: 4.126 MB / 0.4965 GB, free: 76.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.174, allocations: 190.8 kB / 0.4966 GB, free: 76.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.175, allocations: 248 kB / 0.4969 GB, free: 76.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/1.19, allocations: 6.408 MB / 0.5031 GB, free: 75.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-05/1.19, allocations: 8.438 kB / 0.5031 GB, free: 75.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/1.191, allocations: 109.6 kB / 0.5032 GB, free: 75.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001307/1.192, allocations: 1.008 MB / 0.5042 GB, free: 75.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/1.203, allocations: 3.994 MB / 0.5081 GB, free: 73.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04821/1.252, allocations: 20.13 MB / 0.5278 GB, free: 62.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/1.254, allocations: 339.9 kB / 0.5281 GB, free: 62.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006855/1.261, allocations: 3.425 MB / 0.5315 GB, free: 59.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.261, allocations: 113.5 kB / 0.5316 GB, free: 58.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.477e-06/1.261, allocations: 0 / 0.5316 GB, free: 58.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.001354/1.263, allocations: 0.8424 MB / 0.5324 GB, free: 58.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.263, allocations: 130.7 kB / 0.5325 GB, free: 57.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02774/1.29, allocations: 10.52 MB / 0.5428 GB, free: 49.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.291, allocations: 25.7 kB / 0.5428 GB, free: 49.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006177/1.297, allocations: 5.019 MB / 0.5477 GB, free: 44.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/1.297, allocations: 91.89 kB / 0.5478 GB, free: 43.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/1.297, allocations: 84 kB / 0.5479 GB, free: 43.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/1.298, allocations: 483.8 kB / 0.5483 GB, free: 43.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/1.299, allocations: 0.7457 MB / 0.5491 GB, free: 42.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/1.303, allocations: 3.961 MB / 0.5529 GB, free: 36.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/1.307, allocations: 1.611 MB / 0.5545 GB, free: 35.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.773e-05/1.307, allocations: 32 kB / 0.5545 GB, free: 35.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009597/1.316, allocations: 4.202 MB / 0.5586 GB, free: 31.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/1.316, allocations: 56 kB / 0.5587 GB, free: 31.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/1.317, allocations: 120 kB / 0.5588 GB, free: 30.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/1.317, allocations: 164 kB / 0.559 GB, free: 30.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/1.321, allocations: 0.9863 MB / 0.5599 GB, free: 29.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001751/1.322, allocations: 223.2 kB / 0.5601 GB, free: 29.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005883/1.328, allocations: 0.6308 MB / 0.5608 GB, free: 28.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000686/1.328, allocations: 288 kB / 0.561 GB, free: 28.67 MB / 394.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.007928/1.336, allocations: 3.393 MB / 0.5644 GB, free: 25.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.338, allocations: 0.9186 MB / 0.5652 GB, free: 24.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/1.341, allocations: 1.018 MB / 0.5662 GB, free: 23.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/1.341, allocations: 184.2 kB / 0.5664 GB, free: 23.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/1.341, allocations: 180.2 kB / 0.5666 GB, free: 22.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.241e-05/1.341, allocations: 176.3 kB / 0.5668 GB, free: 22.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.356, allocations: 5.13 MB / 0.5718 GB, free: 17.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/1.356, allocations: 104.9 kB / 0.5719 GB, free: 17.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/1.356, allocations: 101 kB / 0.572 GB, free: 17.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.924e-05/1.356, allocations: 184.2 kB / 0.5721 GB, free: 17.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/1.356, allocations: 180.2 kB / 0.5723 GB, free: 16.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/1.356, allocations: 179.3 kB / 0.5725 GB, free: 16.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-05/1.356, allocations: 188.2 kB / 0.5727 GB, free: 16.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/1.358, allocations: 1.155 MB / 0.5738 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/1.36, allocations: 1.069 MB / 0.5748 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/1.362, allocations: 180.3 kB / 0.575 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.364, allocations: 148.9 kB / 0.5751 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/1.364, allocations: 176.3 kB / 0.5753 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/1.364, allocations: 104.9 kB / 0.5754 GB, free: 13.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01982/1.384, allocations: 7.133 MB / 0.5824 GB, free: 6.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.384, allocations: 0 / 0.5824 GB, free: 6.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009086/1.393, allocations: 1.14 MB / 0.5835 GB, free: 5.445 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 () * 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.0003681/1.393, allocations: 207.6 kB / 0.5837 GB, free: 5.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005426/1.399, allocations: 1.843 MB / 0.5855 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.399, allocations: 0 / 0.5855 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/1.399, allocations: 0 / 0.5855 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02792/1.427, allocations: 3.29 MB / 0.5887 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07112/1.498, allocations: 23.24 MB / 0.6114 GB, free: 8.977 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01553/1.514, allocations: 5.445 MB / 0.6167 GB, free: 3.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/1.515, allocations: 483.3 kB / 0.6172 GB, free: 3.023 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/1.515, allocations: 0 / 0.6172 GB, free: 3.023 MB / 426.7 MB Notification: Performance of Templates: time 0.6059/2.121, allocations: 129.1 MB / 0.7433 GB, free: 15.04 MB / 426.7 MB