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.Shapes.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.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.125/2.125, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007744/0.0007748, allocations: 8 kB / 314.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3603, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5258, allocations: 85.5 MB / 454.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5261, allocations: 75.97 kB / 454.8 MB, free: 5.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3486/0.8747, allocations: 26.7 MB / 481.5 MB, free: 87.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.649e-06/0.8747, allocations: 0 / 481.5 MB, free: 87.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.345e-05/0.8748, allocations: 35.97 kB / 481.6 MB, free: 87.77 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003302/0.8781, allocations: 1.642 MB / 483.2 MB, free: 86.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.8782, allocations: 9.344 kB / 483.2 MB, free: 86.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.8793, allocations: 268 kB / 483.5 MB, free: 86.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.8812, allocations: 0.8209 MB / 484.3 MB, free: 86.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.8813, allocations: 147.3 kB / 484.5 MB, free: 86.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006167/0.882, allocations: 184.2 kB / 484.6 MB, free: 86.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00576/0.8877, allocations: 3.352 MB / 488 MB, free: 85.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/0.8878, allocations: 18.62 kB / 488 MB, free: 85.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.8881, allocations: 90.66 kB / 488.1 MB, free: 85.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004332/0.8886, allocations: 325.9 kB / 488.4 MB, free: 85.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.8923, allocations: 1.866 MB / 490.3 MB, free: 85.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.9049, allocations: 15.11 MB / 0.4936 GB, free: 72.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.905, allocations: 169.1 kB / 0.4937 GB, free: 72.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.905, allocations: 79.22 kB / 0.4938 GB, free: 72.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.9051, allocations: 105.8 kB / 0.4939 GB, free: 72.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.811e-06/0.9051, allocations: 3.938 kB / 0.4939 GB, free: 72.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002457/0.9053, allocations: 153 kB / 0.494 GB, free: 72.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.9054, allocations: 130.7 kB / 0.4942 GB, free: 72.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.9075, allocations: 1.442 MB / 0.4956 GB, free: 71.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.089e-06/0.9075, allocations: 25.7 kB / 0.4956 GB, free: 71.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007002/0.9082, allocations: 1.371 MB / 0.4969 GB, free: 70.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.9082, allocations: 45.28 kB / 0.497 GB, free: 70.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.9083, allocations: 39.31 kB / 0.497 GB, free: 70.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9085, allocations: 393.8 kB / 0.4974 GB, free: 70.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.9091, allocations: 363.3 kB / 0.4977 GB, free: 70 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.9103, allocations: 1.894 MB / 0.4996 GB, free: 67.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.9114, allocations: 0.7715 MB / 0.5003 GB, free: 67.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.801e-05/0.9115, allocations: 16 kB / 0.5004 GB, free: 67.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003508/0.915, allocations: 2.024 MB / 0.5023 GB, free: 65.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.9151, allocations: 32 kB / 0.5024 GB, free: 65.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.372e-05/0.9151, allocations: 56 kB / 0.5024 GB, free: 65.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.543e-05/0.9152, allocations: 80 kB / 0.5025 GB, free: 65.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.9166, allocations: 487.7 kB / 0.503 GB, free: 64.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-05/0.9167, allocations: 108 kB / 0.5031 GB, free: 64.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.9186, allocations: 316.6 kB / 0.5034 GB, free: 64.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.9188, allocations: 142.9 kB / 0.5035 GB, free: 64.37 MB / 394.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.001279/0.9201, allocations: 0.8462 MB / 0.5043 GB, free: 63.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.9204, allocations: 238 kB / 0.5046 GB, free: 63.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.9206, allocations: 221.7 kB / 0.5048 GB, free: 63.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/0.9206, allocations: 180.2 kB / 0.5049 GB, free: 62.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/0.9207, allocations: 188.2 kB / 0.5051 GB, free: 62.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/0.9207, allocations: 180.3 kB / 0.5053 GB, free: 62.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.9226, allocations: 1.466 MB / 0.5067 GB, free: 61.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.9227, allocations: 113 kB / 0.5068 GB, free: 61.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.9227, allocations: 104.5 kB / 0.5069 GB, free: 61.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.289e-05/0.9227, allocations: 184.2 kB / 0.5071 GB, free: 60.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.9228, allocations: 176.3 kB / 0.5073 GB, free: 60.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.034e-05/0.9228, allocations: 184.2 kB / 0.5074 GB, free: 60.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-05/0.9229, allocations: 180.3 kB / 0.5076 GB, free: 60.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.9231, allocations: 428.8 kB / 0.508 GB, free: 59.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.9234, allocations: 291.8 kB / 0.5083 GB, free: 59.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.9236, allocations: 184.2 kB / 0.5085 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.924, allocations: 112.8 kB / 0.5086 GB, free: 59.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.924, allocations: 184.3 kB / 0.5088 GB, free: 59.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.9241, allocations: 104.9 kB / 0.5089 GB, free: 58.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.9256, allocations: 0.9867 MB / 0.5098 GB, free: 58.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.9256, allocations: 0 / 0.5098 GB, free: 58.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002156/0.9277, allocations: 430.1 kB / 0.5102 GB, free: 57.75 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.0001386/0.9279, allocations: 178.5 kB / 0.5104 GB, free: 57.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.9294, allocations: 0.8862 MB / 0.5113 GB, free: 56.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.675e-06/0.9294, allocations: 0 / 0.5113 GB, free: 56.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-06/0.9294, allocations: 0 / 0.5113 GB, free: 56.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.9302, allocations: 0.6475 MB / 0.5119 GB, free: 56.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.9354, allocations: 3.54 MB / 0.5154 GB, free: 52.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.9369, allocations: 1.609 MB / 0.5169 GB, free: 50.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.9371, allocations: 87.44 kB / 0.517 GB, free: 50.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.631e-06/0.9371, allocations: 0 / 0.517 GB, free: 50.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02555/0.9627, allocations: 17.01 MB / 0.5336 GB, free: 34.06 MB / 394.7 MB