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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.904/1.904, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2859, allocations: 48.7 MB / 331.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.4035, allocations: 79.04 MB / 410.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4038, allocations: 75.97 kB / 410.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09536/0.4992, allocations: 26.7 MB / 437.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.56e-06/0.4992, allocations: 0 / 437.1 MB, free: 4.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.101e-05/0.4993, allocations: 32 kB / 437.1 MB, free: 4.238 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.003066/0.5024, allocations: 1.64 MB / 438.8 MB, free: 2.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5024, allocations: 8.031 kB / 438.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5035, allocations: 261.2 kB / 439 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.5057, allocations: 0.8309 MB / 439.9 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.5059, allocations: 139.8 kB / 440 MB, free: 1.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.5063, allocations: 188 kB / 440.2 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006357/0.5126, allocations: 3.343 MB / 443.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.765e-05/0.5128, allocations: 23.81 kB / 443.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.513, allocations: 87.95 kB / 443.6 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005228/0.5136, allocations: 328.1 kB / 444 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/0.5179, allocations: 1.873 MB / 445.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.5359, allocations: 15.11 MB / 460.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5361, allocations: 173.1 kB / 461.1 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.5362, allocations: 83.22 kB / 461.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/0.5362, allocations: 105.8 kB / 461.3 MB, free: 11.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.037e-06/0.5363, allocations: 4 kB / 461.3 MB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002997/0.5366, allocations: 144.2 kB / 461.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.5367, allocations: 130.7 kB / 461.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.5392, allocations: 1.443 MB / 463 MB, free: 9.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.5393, allocations: 29.7 kB / 463 MB, free: 9.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.5405, allocations: 1.373 MB / 464.4 MB, free: 7.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.5406, allocations: 43.95 kB / 464.5 MB, free: 7.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.5406, allocations: 43.94 kB / 464.5 MB, free: 7.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.5409, allocations: 394.7 kB / 464.9 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/0.5417, allocations: 359.8 kB / 465.2 MB, free: 7.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.5438, allocations: 1.891 MB / 467.1 MB, free: 4.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5453, allocations: 0.7646 MB / 467.9 MB, free: 3.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-05/0.5453, allocations: 27.94 kB / 467.9 MB, free: 3.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00415/0.5495, allocations: 2.026 MB / 469.9 MB, free: 1.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.5496, allocations: 28 kB / 470 MB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-05/0.5496, allocations: 56 kB / 470 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.5498, allocations: 80 kB / 470.1 MB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.5513, allocations: 483.1 kB / 470.6 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001205/0.5514, allocations: 115.5 kB / 470.7 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.5533, allocations: 312.6 kB / 471 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.5535, allocations: 136 kB / 471.1 MB, free: 352 kB / 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.001603/0.5551, allocations: 0.8538 MB / 472 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.5554, allocations: 223.4 kB / 472.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.5557, allocations: 228.3 kB / 472.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.73e-05/0.5558, allocations: 184.2 kB / 472.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.325e-05/0.556, allocations: 176.3 kB / 472.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/0.5561, allocations: 184.2 kB / 472.9 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.5585, allocations: 1.469 MB / 474.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-05/0.5585, allocations: 105 kB / 474.5 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.5586, allocations: 108.9 kB / 474.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.5587, allocations: 184.4 kB / 474.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/0.5588, allocations: 188.2 kB / 475 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.963e-05/0.5589, allocations: 180.3 kB / 475.2 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-05/0.559, allocations: 176.3 kB / 475.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.5594, allocations: 441.1 kB / 475.8 MB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.5598, allocations: 296.5 kB / 476.1 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.5601, allocations: 180.3 kB / 476.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.5605, allocations: 101 kB / 476.3 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.5606, allocations: 180.2 kB / 476.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.5607, allocations: 109 kB / 476.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001794/0.5625, allocations: 0.9939 MB / 477.6 MB, free: 9.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5625, allocations: 0 / 477.6 MB, free: 9.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00222/0.5647, allocations: 434 kB / 478 MB, free: 9.188 MB / 410.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.0002007/0.5649, allocations: 178.5 kB / 478.2 MB, free: 9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.5667, allocations: 0.8837 MB / 479.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.504e-06/0.5667, allocations: 448 / 479.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.5668, allocations: 4 kB / 479.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5678, allocations: 0.6437 MB / 479.7 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.5747, allocations: 3.537 MB / 483.3 MB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/0.5768, allocations: 1.611 MB / 484.9 MB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.577, allocations: 87.44 kB / 485 MB, free: 2.168 MB / 410.7 MB Notification: Performance of SimCode: time 1.672e-06/0.577, allocations: 0 / 485 MB, free: 2.168 MB / 410.7 MB Notification: Performance of Templates: time 0.2548/0.8319, allocations: 17.02 MB / 0.4902 GB, free: 119.4 MB / 410.7 MB