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.Torus.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.Torus,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.Torus") Notification: Performance of loadModel(ModelicaTest): time 1.834/1.834, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.971e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08438, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.4204, allocations: 82.79 MB / 409.3 MB, free: 7.703 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4207, allocations: 76.09 kB / 409.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.247/0.6677, allocations: 67.83 MB / 477.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.359e-06/0.6677, allocations: 0 / 477.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001328/0.6679, allocations: 63.94 kB / 477.3 MB, free: 11.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.008026/0.6759, allocations: 3.029 MB / 480.3 MB, free: 8.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.676, allocations: 8.031 kB / 480.3 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.6938, allocations: 3.282 MB / 483.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.6997, allocations: 2.059 MB / 485.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.7001, allocations: 271.1 kB / 485.9 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.7015, allocations: 359.9 kB / 486.3 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.7225, allocations: 8.97 MB / 495.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.874e-05/0.7226, allocations: 15.88 kB / 495.3 MB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007448/0.7234, allocations: 167.8 kB / 495.4 MB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.7252, allocations: 1.045 MB / 496.5 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.7457, allocations: 8.513 MB / 0.4932 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05282/0.7985, allocations: 29.1 MB / 0.5216 GB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2314/1.03, allocations: 3.033 MB / 0.5245 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/1.032, allocations: 0.9676 MB / 0.5255 GB, free: 110.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/1.043, allocations: 4.877 MB / 0.5302 GB, free: 108.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.043, allocations: 42.75 kB / 0.5303 GB, free: 108.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 5.098e-06/1.043, allocations: 3.875 kB / 0.5303 GB, free: 108.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.006934/1.05, allocations: 2.089 MB / 0.5323 GB, free: 108.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/1.05, allocations: 64.05 kB / 0.5324 GB, free: 108.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004064/1.054, allocations: 2.238 MB / 0.5346 GB, free: 108.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.054, allocations: 39.39 kB / 0.5346 GB, free: 108.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/1.056, allocations: 2.652 MB / 0.5372 GB, free: 107.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000558/1.056, allocations: 0.4933 MB / 0.5377 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/1.057, allocations: 82.73 kB / 0.5378 GB, free: 106.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003184/1.057, allocations: 0.5051 MB / 0.5383 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/1.06, allocations: 1.3 MB / 0.5395 GB, free: 106.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004297/1.064, allocations: 4.031 MB / 0.5435 GB, free: 103 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/1.069, allocations: 2.34 MB / 0.5458 GB, free: 102.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/1.069, allocations: 32.03 kB / 0.5458 GB, free: 102.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01139/1.08, allocations: 5.113 MB / 0.5508 GB, free: 102.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.306e-05/1.08, allocations: 46.66 kB / 0.5508 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/1.081, allocations: 99.47 kB / 0.5509 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/1.081, allocations: 145.2 kB / 0.5511 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/1.084, allocations: 0.9672 MB / 0.552 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000152/1.085, allocations: 188.7 kB / 0.5522 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.089, allocations: 0.6043 MB / 0.5528 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/1.089, allocations: 276.4 kB / 0.553 GB, free: 101.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (535): * Single equations (assignments): 529 * Array equations: 6 * 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.0006765/1.09, allocations: 438 kB / 0.5534 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/1.09, allocations: 209.2 kB / 0.5536 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/1.091, allocations: 273.2 kB / 0.5539 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/1.091, allocations: 14.88 kB / 0.5539 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.091, allocations: 3.391 kB / 0.5539 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.091, allocations: 3.188 kB / 0.5539 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.102, allocations: 5.61 MB / 0.5594 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.102, allocations: 6.781 kB / 0.5594 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/1.103, allocations: 135.8 kB / 0.5595 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/1.103, allocations: 14.44 kB / 0.5596 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.872e-05/1.103, allocations: 17.8 kB / 0.5596 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/1.103, allocations: 13.92 kB / 0.5596 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.162e-06/1.103, allocations: 7.906 kB / 0.5596 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/1.105, allocations: 2.097 MB / 0.5616 GB, free: 99.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/1.106, allocations: 302.5 kB / 0.5619 GB, free: 99.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/1.106, allocations: 19.02 kB / 0.562 GB, free: 99.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/1.107, allocations: 40.78 kB / 0.562 GB, free: 99.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.108, allocations: 62.72 kB / 0.562 GB, free: 99.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.108, allocations: 41.59 kB / 0.5621 GB, free: 99.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002729/1.11, allocations: 1.512 MB / 0.5636 GB, free: 98.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.11, allocations: 0 / 0.5636 GB, free: 98.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004714/1.115, allocations: 0.9992 MB / 0.5645 GB, free: 98.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0003615/1.116, allocations: 147.6 kB / 0.5647 GB, free: 98.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005582/1.121, allocations: 3.073 MB / 0.5677 GB, free: 97.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.16e-06/1.121, allocations: 0 / 0.5677 GB, free: 97.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/1.122, allocations: 0.7313 MB / 0.5684 GB, free: 97.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.124, allocations: 237.8 kB / 0.5686 GB, free: 97.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.137, allocations: 6.233 MB / 0.5747 GB, free: 94.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004173/1.141, allocations: 3.036 MB / 0.5777 GB, free: 93.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007436/1.142, allocations: 192.1 kB / 0.5779 GB, free: 93.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.042e-06/1.142, allocations: 0 / 0.5779 GB, free: 93.71 MB / 426.7 MB Notification: Performance of Templates: time 0.0607/1.203, allocations: 40.53 MB / 0.6174 GB, free: 64.47 MB / 426.7 MB