Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.588e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2629, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.3816, allocations: 78.29 MB / 398.3 MB, free: 2.152 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.3818, allocations: 71.95 kB / 398.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09476/0.4766, allocations: 25.99 MB / 424.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.742e-06/0.4767, allocations: 0 / 424.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.831e-05/0.4767, allocations: 32 kB / 424.4 MB, free: 7.805 MB / 362.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.003056/0.4798, allocations: 1.562 MB / 426 MB, free: 6.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4799, allocations: 8.031 kB / 426 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.4811, allocations: 261.2 kB / 426.2 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.483, allocations: 0.8294 MB / 427 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/0.4832, allocations: 63.94 kB / 427.1 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.4835, allocations: 108 kB / 427.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003742/0.4872, allocations: 1.692 MB / 428.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/0.4934, allocations: 3.042 MB / 431.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-05/0.4935, allocations: 23.81 kB / 432 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.4937, allocations: 12 kB / 432 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005202/0.4942, allocations: 332.1 kB / 432.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.5112, allocations: 14.44 MB / 446.7 MB, free: 488 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.5113, allocations: 173.1 kB / 446.9 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.5114, allocations: 80.14 kB / 447 MB, free: 220 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.5114, allocations: 75.28 kB / 447.1 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.5115, allocations: 105.8 kB / 447.2 MB, free: 28 kB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.339e-06/0.5115, allocations: 4 kB / 447.2 MB, free: 24 kB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.2203/0.7318, allocations: 130.2 kB / 447.3 MB, free: 102.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.7319, allocations: 51.41 kB / 447.3 MB, free: 102.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7341, allocations: 1.098 MB / 448.4 MB, free: 102.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.7341, allocations: 25.7 kB / 448.5 MB, free: 102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.735, allocations: 1.421 MB / 449.9 MB, free: 101.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.735, allocations: 42.16 kB / 449.9 MB, free: 101.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.7351, allocations: 0 / 449.9 MB, free: 101.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.7353, allocations: 395.1 kB / 450.3 MB, free: 101 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.7358, allocations: 307.4 kB / 450.6 MB, free: 101 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.737, allocations: 1.829 MB / 452.4 MB, free: 98.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7381, allocations: 0.7148 MB / 453.2 MB, free: 98.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.069e-05/0.7382, allocations: 18.75 kB / 453.2 MB, free: 98.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003296/0.7415, allocations: 1.687 MB / 454.9 MB, free: 98.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.7416, allocations: 31.75 kB / 454.9 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-05/0.7417, allocations: 56.53 kB / 455 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/0.7418, allocations: 82.17 kB / 455 MB, free: 98.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.7432, allocations: 489.2 kB / 455.5 MB, free: 98.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.225e-05/0.7433, allocations: 109.9 kB / 455.6 MB, free: 98.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.7451, allocations: 245.2 kB / 455.9 MB, free: 98.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.7453, allocations: 136.2 kB / 456 MB, free: 98.66 MB / 378.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 () * 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.0002711/0.7456, allocations: 337.4 kB / 456.3 MB, free: 98.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7457, allocations: 201.3 kB / 456.5 MB, free: 98.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.7459, allocations: 201.3 kB / 456.7 MB, free: 98.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.746, allocations: 180.2 kB / 456.9 MB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/0.746, allocations: 180.1 kB / 457.1 MB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/0.7461, allocations: 179.7 kB / 457.2 MB, free: 97.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.7473, allocations: 1.016 MB / 458.3 MB, free: 97.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.7473, allocations: 105.5 kB / 458.4 MB, free: 97.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.7474, allocations: 105.5 kB / 458.5 MB, free: 96.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.881e-05/0.7474, allocations: 183 kB / 458.6 MB, free: 96.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.7474, allocations: 179.9 kB / 458.8 MB, free: 96.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.882e-05/0.7475, allocations: 184.3 kB / 459 MB, free: 96.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-05/0.7475, allocations: 184.9 kB / 459.2 MB, free: 96.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.7477, allocations: 404.3 kB / 459.6 MB, free: 95.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.7479, allocations: 270.2 kB / 459.8 MB, free: 95.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7481, allocations: 187.8 kB / 460 MB, free: 95.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.7485, allocations: 101 kB / 460.1 MB, free: 95.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.992e-05/0.7486, allocations: 180.2 kB / 460.3 MB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.7486, allocations: 112.3 kB / 460.4 MB, free: 95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009876/0.7496, allocations: 0.6985 MB / 461.1 MB, free: 94.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.7496, allocations: 0 / 461.1 MB, free: 94.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002207/0.7518, allocations: 418 kB / 461.5 MB, free: 94.78 MB / 378.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.000146/0.752, allocations: 176.4 kB / 461.7 MB, free: 94.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.7533, allocations: 0.7586 MB / 462.4 MB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.735e-06/0.7533, allocations: 3.375 kB / 462.4 MB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-06/0.7533, allocations: 0 / 462.4 MB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.754, allocations: 0.6065 MB / 463.1 MB, free: 93.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.7581, allocations: 2.213 MB / 465.3 MB, free: 93.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.7597, allocations: 1.61 MB / 466.9 MB, free: 92.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.7599, allocations: 81 kB / 467 MB, free: 92.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.817e-06/0.7599, allocations: 3.906 kB / 467 MB, free: 92.56 MB / 378.7 MB Notification: Performance of Templates: time 0.02403/0.784, allocations: 15.52 MB / 482.5 MB, free: 86.54 MB / 378.7 MB