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.105/2.105, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00078/0.0007804, allocations: 16 kB / 314.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2974, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.4356, allocations: 91.85 MB / 461.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4359, allocations: 75.97 kB / 461.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4785/0.9144, allocations: 78.88 MB / 0.5274 GB, free: 43.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.228e-06/0.9144, allocations: 0 / 0.5274 GB, free: 43.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008265/0.9152, allocations: 139.9 kB / 0.5275 GB, free: 43.75 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.01537/0.9306, allocations: 7.969 MB / 0.5353 GB, free: 35.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.9307, allocations: 8.031 kB / 0.5353 GB, free: 35.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.9342, allocations: 1.127 MB / 0.5364 GB, free: 34.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009565/0.9438, allocations: 3.933 MB / 0.5403 GB, free: 30.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.9441, allocations: 189 kB / 0.5405 GB, free: 30.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008288/0.9449, allocations: 243.9 kB / 0.5407 GB, free: 30.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.9573, allocations: 6.388 MB / 0.5469 GB, free: 23.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/0.9574, allocations: 7.938 kB / 0.5469 GB, free: 23.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.9578, allocations: 112 kB / 0.547 GB, free: 23.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/0.9589, allocations: 1.012 MB / 0.548 GB, free: 22.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008988/0.9679, allocations: 3.998 MB / 0.5519 GB, free: 18.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03178/0.9997, allocations: 19.94 MB / 0.5714 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/1.002, allocations: 342.2 kB / 0.5717 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006584/1.008, allocations: 3.257 MB / 0.5749 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.892e-05/1.009, allocations: 109.8 kB / 0.575 GB, free: 10.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 3.526e-06/1.009, allocations: 4 kB / 0.575 GB, free: 10.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.001532/1.01, allocations: 0.8308 MB / 0.5758 GB, free: 9.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/1.01, allocations: 126.7 kB / 0.576 GB, free: 9.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03725/1.048, allocations: 9.245 MB / 0.585 GB, free: 15.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/1.048, allocations: 25.7 kB / 0.585 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0101/1.058, allocations: 5.017 MB / 0.5899 GB, free: 10.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/1.058, allocations: 91.89 kB / 0.59 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004531/1.059, allocations: 88 kB / 0.5901 GB, free: 10.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006388/1.059, allocations: 487.8 kB / 0.5906 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/1.062, allocations: 0.742 MB / 0.5913 GB, free: 9.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006792/1.069, allocations: 3.945 MB / 0.5951 GB, free: 3.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/1.074, allocations: 1.603 MB / 0.5967 GB, free: 2.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/1.074, allocations: 36 kB / 0.5967 GB, free: 2.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01739/1.092, allocations: 4.206 MB / 0.6008 GB, free: 13.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/1.092, allocations: 56 kB / 0.6009 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/1.092, allocations: 119.9 kB / 0.601 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/1.093, allocations: 168 kB / 0.6012 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/1.099, allocations: 0.9863 MB / 0.6021 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/1.099, allocations: 219.2 kB / 0.6023 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009054/1.108, allocations: 0.5953 MB / 0.6029 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009736/1.109, allocations: 287.9 kB / 0.6032 GB, free: 11.47 MB / 442.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.01145/1.121, allocations: 3.409 MB / 0.6065 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002529/1.123, allocations: 0.9043 MB / 0.6074 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004438/1.128, allocations: 1.026 MB / 0.6084 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000121/1.128, allocations: 180.2 kB / 0.6086 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/1.128, allocations: 180.3 kB / 0.6088 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001246/1.128, allocations: 186.1 kB / 0.6089 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/1.149, allocations: 5.123 MB / 0.6139 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-05/1.149, allocations: 104.9 kB / 0.614 GB, free: 236 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/1.149, allocations: 109 kB / 0.6141 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/1.149, allocations: 176.3 kB / 0.6143 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.149, allocations: 184.2 kB / 0.6145 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001124/1.15, allocations: 184.3 kB / 0.6147 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001175/1.15, allocations: 184.2 kB / 0.6148 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/1.153, allocations: 1.151 MB / 0.616 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003824/1.157, allocations: 0.9052 MB / 0.6168 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001757/1.159, allocations: 180.3 kB / 0.617 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/1.162, allocations: 104.9 kB / 0.6171 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/1.162, allocations: 176.3 kB / 0.6173 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.162, allocations: 105.3 kB / 0.6174 GB, free: 12.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02034/1.182, allocations: 7.098 MB / 0.6243 GB, free: 5.617 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.317e-06/1.183, allocations: 0 / 0.6243 GB, free: 5.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005839/1.188, allocations: 1.124 MB / 0.6254 GB, free: 4.488 MB / 458.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.0001966/1.189, allocations: 178.5 kB / 0.6256 GB, free: 4.301 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00406/1.193, allocations: 1.842 MB / 0.6274 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.737e-06/1.193, allocations: 0 / 0.6274 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.969e-06/1.193, allocations: 4 kB / 0.6274 GB, free: 2.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/1.208, allocations: 3.293 MB / 0.6306 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3176/1.526, allocations: 18.64 MB / 0.6488 GB, free: 119.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01195/1.538, allocations: 5.443 MB / 0.6541 GB, free: 119 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/1.539, allocations: 437.2 kB / 0.6545 GB, free: 119 MB / 474.7 MB Notification: Performance of SimCode: time 1.942e-06/1.539, allocations: 0 / 0.6545 GB, free: 119 MB / 474.7 MB Notification: Performance of Templates: time 0.2274/1.766, allocations: 123.3 MB / 0.775 GB, free: 29.2 MB / 474.7 MB