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.Shapes.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.Shapes,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.Shapes") Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 234.9 MB / 251.1 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 8 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4281, allocations: 54.86 MB / 369.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.6096, allocations: 85.49 MB / 455.3 MB, free: 7.168 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/0.6101, allocations: 79.91 kB / 455.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1129/0.723, allocations: 26.85 MB / 482.2 MB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.723, allocations: 4 kB / 482.2 MB, free: 12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.477e-05/0.7231, allocations: 32 kB / 482.3 MB, free: 11.96 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.00422/0.7274, allocations: 1.64 MB / 483.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.7274, allocations: 11.97 kB / 483.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.7289, allocations: 265.2 kB / 484.2 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.7313, allocations: 0.8271 MB / 485 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.7315, allocations: 139.8 kB / 485.1 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/0.732, allocations: 184 kB / 485.3 MB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007931/0.74, allocations: 3.367 MB / 488.7 MB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/0.7401, allocations: 19.88 kB / 488.7 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.7404, allocations: 95.89 kB / 488.8 MB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006453/0.7411, allocations: 328.1 kB / 489.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/0.7465, allocations: 1.862 MB / 491 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.7664, allocations: 15.12 MB / 0.4942 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.7666, allocations: 173.1 kB / 0.4944 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.7666, allocations: 79.28 kB / 0.4945 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.7667, allocations: 105.8 kB / 0.4946 GB, free: 2.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.845e-06/0.7667, allocations: 0 / 0.4946 GB, free: 2.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003083/0.767, allocations: 152 kB / 0.4947 GB, free: 2.613 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.7671, allocations: 126.7 kB / 0.4948 GB, free: 2.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.7704, allocations: 1.614 MB / 0.4964 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.7704, allocations: 25.7 kB / 0.4964 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3149/1.085, allocations: 1.361 MB / 0.4978 GB, free: 115 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/1.085, allocations: 46.42 kB / 0.4978 GB, free: 115 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.086, allocations: 39.97 kB / 0.4978 GB, free: 115 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/1.086, allocations: 392.7 kB / 0.4982 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/1.087, allocations: 360.8 kB / 0.4986 GB, free: 114.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/1.089, allocations: 1.898 MB / 0.5004 GB, free: 112.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/1.091, allocations: 0.7681 MB / 0.5012 GB, free: 112.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.188e-05/1.092, allocations: 19.75 kB / 0.5012 GB, free: 112.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004761/1.096, allocations: 2.031 MB / 0.5032 GB, free: 112.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/1.096, allocations: 28.5 kB / 0.5032 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.695e-05/1.096, allocations: 57.34 kB / 0.5033 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.67e-05/1.097, allocations: 89.98 kB / 0.5033 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.099, allocations: 481.4 kB / 0.5038 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.563e-05/1.099, allocations: 106.9 kB / 0.5039 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.101, allocations: 315.1 kB / 0.5042 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/1.101, allocations: 139.2 kB / 0.5043 GB, free: 112.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * 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.001542/1.103, allocations: 0.8599 MB / 0.5052 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.103, allocations: 224.5 kB / 0.5054 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/1.104, allocations: 221 kB / 0.5056 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-05/1.104, allocations: 184.1 kB / 0.5058 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/1.104, allocations: 179.8 kB / 0.5059 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.351e-05/1.104, allocations: 190.4 kB / 0.5061 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/1.106, allocations: 1.468 MB / 0.5076 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/1.106, allocations: 104.9 kB / 0.5077 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/1.106, allocations: 108.2 kB / 0.5078 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/1.106, allocations: 182.6 kB / 0.5079 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/1.106, allocations: 181.5 kB / 0.5081 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-05/1.106, allocations: 179.4 kB / 0.5083 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.461e-05/1.106, allocations: 187.4 kB / 0.5085 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/1.106, allocations: 424.4 kB / 0.5089 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/1.107, allocations: 300.2 kB / 0.5091 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/1.107, allocations: 186.4 kB / 0.5093 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/1.107, allocations: 109.6 kB / 0.5094 GB, free: 108.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/1.107, allocations: 179.8 kB / 0.5096 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/1.107, allocations: 101 kB / 0.5097 GB, free: 108.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001804/1.109, allocations: 0.9888 MB / 0.5107 GB, free: 108.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.109, allocations: 3.875 kB / 0.5107 GB, free: 108.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00241/1.112, allocations: 432.4 kB / 0.5111 GB, free: 108.4 MB / 426.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.0001843/1.112, allocations: 181.8 kB / 0.5113 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002059/1.114, allocations: 0.8768 MB / 0.5121 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.114, allocations: 0 / 0.5121 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-06/1.114, allocations: 3.938 kB / 0.5121 GB, free: 108 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/1.115, allocations: 0.6382 MB / 0.5127 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/1.121, allocations: 3.552 MB / 0.5162 GB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.123, allocations: 1.611 MB / 0.5178 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/1.123, allocations: 89.28 kB / 0.5179 GB, free: 105 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.123, allocations: 0 / 0.5179 GB, free: 105 MB / 426.7 MB Notification: Performance of Templates: time 0.03545/1.159, allocations: 17.03 MB / 0.5345 GB, free: 96.24 MB / 426.7 MB