Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.957/1.957, allocations: 209.3 MB / 225.4 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004262, allocations: 15.98 kB / 283.1 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3603, allocations: 48.7 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.5056, allocations: 79.05 MB / 410.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.506, allocations: 79.91 kB / 410.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1095/0.6156, allocations: 26.84 MB / 437.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6156, allocations: 0 / 437.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.6158, allocations: 32 kB / 437.8 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.006093/0.6219, allocations: 1.632 MB / 439.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.622, allocations: 8.031 kB / 439.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.6241, allocations: 261.2 kB / 439.7 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.6276, allocations: 0.827 MB / 440.5 MB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.6279, allocations: 147.8 kB / 440.7 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007062/0.6286, allocations: 188 kB / 440.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.6394, allocations: 3.359 MB / 444.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.6395, allocations: 23.81 kB / 444.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/0.64, allocations: 87.94 kB / 444.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008894/0.6409, allocations: 332.1 kB / 444.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007359/0.6482, allocations: 1.862 MB / 446.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.6731, allocations: 15.12 MB / 461.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.6733, allocations: 169.1 kB / 461.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.6733, allocations: 83.22 kB / 461.9 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.6734, allocations: 105.8 kB / 462 MB, free: 11.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.286e-06/0.6734, allocations: 0 / 462 MB, free: 11.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004061/0.6738, allocations: 152.2 kB / 462.1 MB, free: 10.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.6739, allocations: 130.6 kB / 462.2 MB, free: 10.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004339/0.6783, allocations: 1.618 MB / 463.9 MB, free: 9.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.6784, allocations: 25.7 kB / 463.9 MB, free: 9.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.6801, allocations: 1.369 MB / 465.3 MB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.6803, allocations: 43.95 kB / 465.3 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.6804, allocations: 44 kB / 465.3 MB, free: 7.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.6808, allocations: 390.8 kB / 465.7 MB, free: 7.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.6821, allocations: 355.8 kB / 466.1 MB, free: 6.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.6853, allocations: 1.899 MB / 468 MB, free: 4.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.6874, allocations: 0.7685 MB / 468.7 MB, free: 3.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.024e-05/0.6875, allocations: 19.94 kB / 468.8 MB, free: 3.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00528/0.6928, allocations: 2.03 MB / 470.8 MB, free: 1.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.6929, allocations: 32 kB / 470.8 MB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.197e-05/0.693, allocations: 56 kB / 470.9 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.6931, allocations: 80 kB / 471 MB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/0.6955, allocations: 483 kB / 471.4 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.6956, allocations: 107.6 kB / 471.5 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.6978, allocations: 316.6 kB / 471.8 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.6981, allocations: 143.9 kB / 472 MB, free: 156 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.001857/0.7, allocations: 0.8615 MB / 472.8 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.7003, allocations: 219.4 kB / 473.1 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.7007, allocations: 228.2 kB / 473.3 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-05/0.7008, allocations: 180.3 kB / 473.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.576e-05/0.7009, allocations: 188.2 kB / 473.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/0.7009, allocations: 184.2 kB / 473.8 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.704, allocations: 1.465 MB / 475.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.355e-05/0.7041, allocations: 108.9 kB / 475.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.7041, allocations: 101 kB / 475.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.506e-05/0.7042, allocations: 180.4 kB / 475.7 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.7043, allocations: 188.2 kB / 475.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.265e-05/0.7044, allocations: 188.3 kB / 476 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.972e-05/0.7044, allocations: 180.2 kB / 476.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.7048, allocations: 429.1 kB / 476.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.7053, allocations: 296.5 kB / 476.9 MB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.7056, allocations: 180.2 kB / 477.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.7062, allocations: 108.9 kB / 477.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.7063, allocations: 176.3 kB / 477.4 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.7063, allocations: 101 kB / 477.5 MB, free: 10.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002269/0.7086, allocations: 1.002 MB / 478.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7086, allocations: 0 / 478.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002471/0.7111, allocations: 438 kB / 478.9 MB, free: 8.988 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.0002156/0.7114, allocations: 178.5 kB / 479.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.7137, allocations: 0.8762 MB / 480 MB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7137, allocations: 3.938 kB / 480 MB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.7137, allocations: 192 / 480 MB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.7148, allocations: 0.6408 MB / 480.6 MB, free: 7.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/0.7233, allocations: 3.548 MB / 484.1 MB, free: 3.695 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.7261, allocations: 1.615 MB / 485.8 MB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.7264, allocations: 87.44 kB / 485.8 MB, free: 1.961 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7265, allocations: 3.938 kB / 485.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of Templates: time 0.3118/1.038, allocations: 17.02 MB / 0.4911 GB, free: 118.9 MB / 410.7 MB