Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.279/2.279, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.000421, allocations: 8 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5084, allocations: 91.85 MB / 461.6 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5087, allocations: 79.95 kB / 461.7 MB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6067/1.115, allocations: 78.96 MB / 0.528 GB, free: 43.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.116, allocations: 0 / 0.528 GB, free: 43.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0011/1.117, allocations: 139.9 kB / 0.5281 GB, free: 43.7 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.01881/1.135, allocations: 7.977 MB / 0.5359 GB, free: 35.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.136, allocations: 8.031 kB / 0.5359 GB, free: 35.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/1.14, allocations: 1.123 MB / 0.537 GB, free: 34.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.152, allocations: 3.929 MB / 0.5409 GB, free: 30.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/1.152, allocations: 189 kB / 0.5411 GB, free: 30.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/1.153, allocations: 251.9 kB / 0.5413 GB, free: 30.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/1.169, allocations: 6.404 MB / 0.5476 GB, free: 23.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.77e-05/1.169, allocations: 11.94 kB / 0.5476 GB, free: 23.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007206/1.17, allocations: 104 kB / 0.5477 GB, free: 23.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00127/1.171, allocations: 1.012 MB / 0.5487 GB, free: 22.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/1.182, allocations: 4.009 MB / 0.5526 GB, free: 18.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03874/1.221, allocations: 19.94 MB / 0.572 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/1.224, allocations: 342.2 kB / 0.5724 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007426/1.231, allocations: 3.26 MB / 0.5755 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/1.231, allocations: 113.8 kB / 0.5757 GB, free: 9.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 2.614e-06/1.231, allocations: 0 / 0.5757 GB, free: 9.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.001771/1.233, allocations: 0.8385 MB / 0.5765 GB, free: 9.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/1.233, allocations: 126.7 kB / 0.5766 GB, free: 8.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03055/1.264, allocations: 10.49 MB / 0.5868 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/1.264, allocations: 25.7 kB / 0.5869 GB, free: 14.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00765/1.271, allocations: 5.013 MB / 0.5918 GB, free: 9.438 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/1.272, allocations: 95.88 kB / 0.5919 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/1.272, allocations: 84 kB / 0.5919 GB, free: 9.262 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003955/1.272, allocations: 491.8 kB / 0.5924 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.274, allocations: 0.7381 MB / 0.5931 GB, free: 8.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/1.28, allocations: 3.961 MB / 0.597 GB, free: 2.383 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/1.284, allocations: 1.611 MB / 0.5986 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-05/1.284, allocations: 32 kB / 0.5986 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.0116/1.295, allocations: 4.202 MB / 0.6027 GB, free: 12.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.296, allocations: 56 kB / 0.6028 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/1.296, allocations: 116 kB / 0.6029 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.296, allocations: 168 kB / 0.603 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.301, allocations: 0.9863 MB / 0.604 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002797/1.301, allocations: 227.1 kB / 0.6042 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00561/1.307, allocations: 0.5954 MB / 0.6048 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000825/1.308, allocations: 292 kB / 0.6051 GB, free: 10.1 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.009024/1.317, allocations: 3.401 MB / 0.6084 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/1.319, allocations: 0.9043 MB / 0.6093 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.322, allocations: 1.026 MB / 0.6103 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.18e-05/1.322, allocations: 180.2 kB / 0.6104 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.711e-05/1.322, allocations: 184.2 kB / 0.6106 GB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.085e-05/1.322, allocations: 182.2 kB / 0.6108 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.338, allocations: 5.126 MB / 0.6158 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.914e-05/1.338, allocations: 108.9 kB / 0.6159 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/1.338, allocations: 101 kB / 0.616 GB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.112e-05/1.338, allocations: 180.2 kB / 0.6162 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/1.338, allocations: 184.2 kB / 0.6163 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.36e-05/1.339, allocations: 184.2 kB / 0.6165 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.087e-05/1.339, allocations: 180.2 kB / 0.6167 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/1.34, allocations: 1.155 MB / 0.6178 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/1.343, allocations: 0.9091 MB / 0.6187 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/1.344, allocations: 176.3 kB / 0.6189 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.347, allocations: 108.9 kB / 0.619 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/1.347, allocations: 180.3 kB / 0.6192 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/1.347, allocations: 105.2 kB / 0.6193 GB, free: 11.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.02163/1.368, allocations: 7.094 MB / 0.6262 GB, free: 4.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.369, allocations: 0 / 0.6262 GB, free: 4.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006183/1.375, allocations: 1.128 MB / 0.6273 GB, free: 3.117 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.0002239/1.375, allocations: 175.4 kB / 0.6274 GB, free: 2.938 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004701/1.38, allocations: 1.842 MB / 0.6292 GB, free: 1.121 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.38, allocations: 0 / 0.6292 GB, free: 1.121 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.018e-05/1.38, allocations: 5.75 kB / 0.6293 GB, free: 1.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02276/1.403, allocations: 3.289 MB / 0.6325 GB, free: 13.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3829/1.786, allocations: 18.67 MB / 0.6507 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01418/1.8, allocations: 5.443 MB / 0.656 GB, free: 117.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.801, allocations: 436.8 kB / 0.6564 GB, free: 117.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.422e-06/1.801, allocations: 0 / 0.6564 GB, free: 117.3 MB / 474.7 MB Notification: Performance of Templates: time 0.2785/2.079, allocations: 123.3 MB / 0.7769 GB, free: 27.49 MB / 474.7 MB