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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.25/2.25, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.633e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2771, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4182, allocations: 91.1 MB / 449.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4185, allocations: 71.97 kB / 449.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5129/0.9315, allocations: 76.96 MB / 0.5138 GB, free: 53.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.214e-06/0.9315, allocations: 0 / 0.5138 GB, free: 53.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001523/0.9331, allocations: 132 kB / 0.514 GB, free: 53.62 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.0201/0.9532, allocations: 6.515 MB / 0.5203 GB, free: 47.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.9533, allocations: 8.031 kB / 0.5203 GB, free: 47.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.9567, allocations: 1.127 MB / 0.5214 GB, free: 45.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00917/0.9659, allocations: 3.887 MB / 0.5252 GB, free: 41.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.9661, allocations: 84 kB / 0.5253 GB, free: 41.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.9669, allocations: 144 kB / 0.5254 GB, free: 41.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007489/0.9744, allocations: 4.503 MB / 0.5298 GB, free: 37.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.9859, allocations: 5.972 MB / 0.5357 GB, free: 31.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.911e-05/0.986, allocations: 7.938 kB / 0.5357 GB, free: 31.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.9865, allocations: 4 kB / 0.5357 GB, free: 31.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.9875, allocations: 1.028 MB / 0.5367 GB, free: 30 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02967/1.017, allocations: 20.18 MB / 0.5564 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/1.017, allocations: 177.2 kB / 0.5566 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/1.017, allocations: 84.14 kB / 0.5567 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/1.017, allocations: 75.28 kB / 0.5567 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/1.017, allocations: 105.8 kB / 0.5568 GB, free: 8.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.038e-06/1.017, allocations: 3.938 kB / 0.5568 GB, free: 8.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.001091/1.019, allocations: 0.8308 MB / 0.5576 GB, free: 7.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/1.019, allocations: 51.41 kB / 0.5577 GB, free: 7.754 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01833/1.037, allocations: 8.599 MB / 0.5661 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/1.037, allocations: 29.7 kB / 0.5661 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006681/1.044, allocations: 5.029 MB / 0.571 GB, free: 10.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/1.044, allocations: 95.91 kB / 0.5711 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.044, allocations: 0 / 0.5711 GB, free: 10.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003959/1.044, allocations: 487.8 kB / 0.5716 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.046, allocations: 0.6329 MB / 0.5722 GB, free: 8.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004203/1.05, allocations: 3.812 MB / 0.5759 GB, free: 3.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002944/1.053, allocations: 1.501 MB / 0.5774 GB, free: 1.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.093e-05/1.053, allocations: 32 kB / 0.5774 GB, free: 1.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008821/1.062, allocations: 3.494 MB / 0.5808 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/1.062, allocations: 56 kB / 0.5809 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/1.062, allocations: 116 kB / 0.581 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/1.062, allocations: 168 kB / 0.5812 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.066, allocations: 0.9785 MB / 0.5821 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002263/1.066, allocations: 223.7 kB / 0.5823 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.071, allocations: 0.5171 MB / 0.5828 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007007/1.072, allocations: 288 kB / 0.5831 GB, free: 12.04 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 () * 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.0006983/1.072, allocations: 464.5 kB / 0.5835 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/1.074, allocations: 0.8966 MB / 0.5844 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/1.077, allocations: 1.011 MB / 0.5854 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-05/1.077, allocations: 184.2 kB / 0.5856 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.496e-05/1.077, allocations: 176.3 kB / 0.5858 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-05/1.077, allocations: 184.3 kB / 0.5859 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.088, allocations: 3.923 MB / 0.5898 GB, free: 5.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-05/1.088, allocations: 109 kB / 0.5899 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/1.088, allocations: 105 kB / 0.59 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/1.088, allocations: 184.2 kB / 0.5901 GB, free: 4.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/1.088, allocations: 176.3 kB / 0.5903 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.862e-05/1.088, allocations: 180.3 kB / 0.5905 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.884e-05/1.088, allocations: 184.2 kB / 0.5907 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/1.09, allocations: 1.147 MB / 0.5918 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/1.092, allocations: 0.8936 MB / 0.5926 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009984/1.093, allocations: 180.3 kB / 0.5928 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.094, allocations: 105 kB / 0.5929 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.094, allocations: 188.2 kB / 0.5931 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/1.094, allocations: 108.9 kB / 0.5932 GB, free: 1.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01629/1.111, allocations: 6.462 MB / 0.5995 GB, free: 11.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.426e-06/1.111, allocations: 0 / 0.5995 GB, free: 11.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005882/1.117, allocations: 1.053 MB / 0.6005 GB, free: 9.977 MB / 442.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.0002113/1.117, allocations: 174.4 kB / 0.6007 GB, free: 9.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003674/1.121, allocations: 1.59 MB / 0.6023 GB, free: 8.238 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.627e-06/1.121, allocations: 0 / 0.6023 GB, free: 8.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-06/1.121, allocations: 336 / 0.6023 GB, free: 8.238 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01511/1.136, allocations: 3.265 MB / 0.6055 GB, free: 4.961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/1.17, allocations: 13.36 MB / 0.6185 GB, free: 7.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/1.183, allocations: 5.448 MB / 0.6238 GB, free: 2.031 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009467/1.184, allocations: 431.4 kB / 0.6242 GB, free: 1.609 MB / 458.7 MB Notification: Performance of SimCode: time 2.186e-06/1.184, allocations: 0 / 0.6242 GB, free: 1.609 MB / 458.7 MB Notification: Performance of Templates: time 0.7495/1.934, allocations: 121.5 MB / 0.7429 GB, free: 26.28 MB / 458.8 MB