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.819/1.819, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004316, allocations: 8 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2842, allocations: 48.7 MB / 331.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4076, allocations: 82.9 MB / 414.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.4078, allocations: 71.95 kB / 414.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4758/0.8836, allocations: 67.72 MB / 482 MB, free: 94.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.86e-06/0.8836, allocations: 0 / 482 MB, free: 94.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001408/0.8838, allocations: 65.41 kB / 482 MB, free: 94.04 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.008125/0.8919, allocations: 3.114 MB / 485.1 MB, free: 92.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.892, allocations: 8.5 kB / 485.2 MB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.9089, allocations: 3.288 MB / 488.4 MB, free: 92.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005738/0.9146, allocations: 2.064 MB / 490.5 MB, free: 91.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.915, allocations: 283.9 kB / 490.8 MB, free: 91.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.9166, allocations: 355.2 kB / 491.1 MB, free: 91.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.936, allocations: 9.045 MB / 0.4885 GB, free: 90.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.9361, allocations: 17.53 kB / 0.4885 GB, free: 90.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009778/0.9371, allocations: 165.4 kB / 0.4886 GB, free: 90.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/0.9386, allocations: 1.04 MB / 0.4896 GB, free: 90.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.9571, allocations: 8.636 MB / 0.4981 GB, free: 88.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04271/0.9998, allocations: 29.12 MB / 0.5265 GB, free: 67.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005589/1.005, allocations: 3.049 MB / 0.5295 GB, free: 63.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009762/1.015, allocations: 4.877 MB / 0.5343 GB, free: 58.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.015, allocations: 39.22 kB / 0.5343 GB, free: 58.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 6.217e-06/1.015, allocations: 3.938 kB / 0.5343 GB, free: 58.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.007607/1.023, allocations: 3.241 MB / 0.5375 GB, free: 55.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.023, allocations: 64 kB / 0.5375 GB, free: 55.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/1.027, allocations: 2.259 MB / 0.5397 GB, free: 53.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.027, allocations: 41.61 kB / 0.5398 GB, free: 53.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/1.028, allocations: 2.654 MB / 0.5424 GB, free: 50.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/1.029, allocations: 493.2 kB / 0.5428 GB, free: 49.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.029, allocations: 84 kB / 0.5429 GB, free: 49.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002825/1.029, allocations: 0.5007 MB / 0.5434 GB, free: 49.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.032, allocations: 1.332 MB / 0.5447 GB, free: 47.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/1.035, allocations: 4.057 MB / 0.5487 GB, free: 42.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003783/1.039, allocations: 2.347 MB / 0.5509 GB, free: 40.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.742e-05/1.039, allocations: 28 kB / 0.551 GB, free: 40.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01054/1.05, allocations: 5.166 MB / 0.556 GB, free: 34.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/1.05, allocations: 48 kB / 0.5561 GB, free: 34.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.622e-05/1.05, allocations: 99.75 kB / 0.5562 GB, free: 34.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/1.05, allocations: 144 kB / 0.5563 GB, free: 34.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/1.054, allocations: 0.963 MB / 0.5572 GB, free: 33.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/1.054, allocations: 195.2 kB / 0.5574 GB, free: 33.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/1.058, allocations: 0.6071 MB / 0.558 GB, free: 32.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005474/1.058, allocations: 276 kB / 0.5583 GB, free: 32.65 MB / 394.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 () * Number of clocked 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.003379/1.062, allocations: 1.89 MB / 0.5601 GB, free: 30.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/1.062, allocations: 209.2 kB / 0.5603 GB, free: 30.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/1.063, allocations: 267.1 kB / 0.5606 GB, free: 30.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/1.063, allocations: 16 kB / 0.5606 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-06/1.063, allocations: 0 / 0.5606 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.063, allocations: 3.984 kB / 0.5606 GB, free: 30.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.073, allocations: 5.621 MB / 0.5661 GB, free: 24.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.073, allocations: 11.81 kB / 0.5661 GB, free: 24.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/1.074, allocations: 136.3 kB / 0.5662 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/1.074, allocations: 8 kB / 0.5662 GB, free: 24.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/1.074, allocations: 27.91 kB / 0.5663 GB, free: 24.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/1.074, allocations: 11.52 kB / 0.5663 GB, free: 24.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-06/1.074, allocations: 7.938 kB / 0.5663 GB, free: 24.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/1.076, allocations: 2.106 MB / 0.5683 GB, free: 22.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/1.077, allocations: 302 kB / 0.5686 GB, free: 21.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/1.077, allocations: 16 kB / 0.5686 GB, free: 21.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008/1.078, allocations: 43.55 kB / 0.5687 GB, free: 21.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.078, allocations: 64.39 kB / 0.5687 GB, free: 21.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/1.078, allocations: 36 kB / 0.5688 GB, free: 21.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002527/1.081, allocations: 1.532 MB / 0.5703 GB, free: 20.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.27e-07/1.081, allocations: 0 / 0.5703 GB, free: 20.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00435/1.085, allocations: 1.003 MB / 0.5713 GB, free: 19.02 MB / 394.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 () * Number of clocked 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.0003276/1.086, allocations: 154.9 kB / 0.5714 GB, free: 18.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005131/1.091, allocations: 3.096 MB / 0.5744 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.697e-06/1.091, allocations: 0 / 0.5744 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.092, allocations: 0.7345 MB / 0.5751 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/1.093, allocations: 243.6 kB / 0.5754 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.108, allocations: 9.14 MB / 0.5843 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004352/1.112, allocations: 3.042 MB / 0.5873 GB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/1.113, allocations: 199.3 kB / 0.5875 GB, free: 2.352 MB / 394.7 MB Notification: Performance of SimCode: time 1.83e-06/1.113, allocations: 0 / 0.5875 GB, free: 2.352 MB / 394.7 MB Notification: Performance of Templates: time 0.3102/1.423, allocations: 40.52 MB / 0.627 GB, free: 101.4 MB / 426.7 MB