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.Torus.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.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 2.028/2.028, allocations: 209.2 MB / 225.4 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004523, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3501, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4974, allocations: 82.9 MB / 414.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.4977, allocations: 79.97 kB / 414.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5604/1.058, allocations: 67.83 MB / 482.6 MB, free: 94.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.058, allocations: 1 kB / 482.6 MB, free: 94.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002037/1.058, allocations: 62.62 kB / 482.7 MB, free: 94.25 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.01348/1.072, allocations: 3.119 MB / 485.8 MB, free: 92.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.072, allocations: 8.656 kB / 485.8 MB, free: 92.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0379/1.11, allocations: 3.289 MB / 489.1 MB, free: 92.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/1.121, allocations: 2.059 MB / 491.1 MB, free: 92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005348/1.122, allocations: 278.6 kB / 491.4 MB, free: 91.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002965/1.125, allocations: 358.1 kB / 491.8 MB, free: 91.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/1.163, allocations: 9.075 MB / 0.4891 GB, free: 90.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002147/1.163, allocations: 16.75 kB / 0.4891 GB, free: 90.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002629/1.166, allocations: 170.6 kB / 0.4893 GB, free: 90.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002093/1.168, allocations: 1.039 MB / 0.4903 GB, free: 90.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02719/1.195, allocations: 8.632 MB / 0.4987 GB, free: 88.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.074/1.269, allocations: 29.11 MB / 0.5272 GB, free: 67.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009626/1.279, allocations: 3.041 MB / 0.5301 GB, free: 64.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/1.292, allocations: 4.876 MB / 0.5349 GB, free: 58.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.292, allocations: 43.22 kB / 0.5349 GB, free: 58.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 5.48e-06/1.292, allocations: 0 / 0.5349 GB, free: 58.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.009829/1.302, allocations: 3.24 MB / 0.5381 GB, free: 55.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.302, allocations: 71.94 kB / 0.5382 GB, free: 55.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/1.307, allocations: 2.524 MB / 0.5406 GB, free: 52.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/1.307, allocations: 37.7 kB / 0.5407 GB, free: 52.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.309, allocations: 2.646 MB / 0.5432 GB, free: 50.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/1.31, allocations: 493.4 kB / 0.5437 GB, free: 49.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004255/1.31, allocations: 87.94 kB / 0.5438 GB, free: 49.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003239/1.311, allocations: 0.5007 MB / 0.5443 GB, free: 49.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/1.314, allocations: 1.324 MB / 0.5456 GB, free: 47.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/1.318, allocations: 4.08 MB / 0.5496 GB, free: 42.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004922/1.323, allocations: 2.343 MB / 0.5519 GB, free: 40.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.937e-05/1.324, allocations: 28 kB / 0.5519 GB, free: 40 MB / 394.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01244/1.336, allocations: 5.17 MB / 0.5569 GB, free: 34.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/1.336, allocations: 48 kB / 0.557 GB, free: 34.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.336, allocations: 99.75 kB / 0.5571 GB, free: 34.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/1.336, allocations: 140 kB / 0.5572 GB, free: 34.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005423/1.342, allocations: 0.9747 MB / 0.5582 GB, free: 33.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001884/1.342, allocations: 191.2 kB / 0.5583 GB, free: 33.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/1.347, allocations: 0.5994 MB / 0.5589 GB, free: 32.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007729/1.347, allocations: 275.8 kB / 0.5592 GB, free: 32.52 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.004482/1.352, allocations: 1.882 MB / 0.561 GB, free: 30.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/1.352, allocations: 213.2 kB / 0.5612 GB, free: 30.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009204/1.353, allocations: 275 kB / 0.5615 GB, free: 30.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.353, allocations: 12 kB / 0.5615 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.353, allocations: 3.375 kB / 0.5615 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.353, allocations: 7.938 kB / 0.5615 GB, free: 30.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.368, allocations: 5.621 MB / 0.567 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.368, allocations: 4 kB / 0.567 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.37, allocations: 136.4 kB / 0.5671 GB, free: 24.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.37, allocations: 8 kB / 0.5671 GB, free: 24.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1.37, allocations: 31.98 kB / 0.5672 GB, free: 24.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-05/1.37, allocations: 11.94 kB / 0.5672 GB, free: 24.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/1.37, allocations: 7.938 kB / 0.5672 GB, free: 24.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/1.374, allocations: 1.78 MB / 0.5689 GB, free: 22.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/1.375, allocations: 294 kB / 0.5692 GB, free: 22.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005883/1.376, allocations: 16 kB / 0.5692 GB, free: 22.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.378, allocations: 43.95 kB / 0.5693 GB, free: 21.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/1.378, allocations: 60.39 kB / 0.5693 GB, free: 21.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.378, allocations: 47.66 kB / 0.5694 GB, free: 21.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004778/1.383, allocations: 1.524 MB / 0.5709 GB, free: 20.35 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.383, allocations: 0 / 0.5709 GB, free: 20.35 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01608/1.399, allocations: 1.007 MB / 0.5718 GB, free: 19.34 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.00401/1.403, allocations: 150.8 kB / 0.572 GB, free: 19.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01678/1.42, allocations: 3.093 MB / 0.575 GB, free: 16.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.42, allocations: 0 / 0.575 GB, free: 16.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.422, allocations: 0.7424 MB / 0.5757 GB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/1.424, allocations: 239.7 kB / 0.576 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/1.459, allocations: 9.17 MB / 0.5849 GB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00681/1.466, allocations: 3.038 MB / 0.5879 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009564/1.467, allocations: 195.4 kB / 0.5881 GB, free: 2.645 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/1.467, allocations: 4 kB / 0.5881 GB, free: 2.641 MB / 394.7 MB Notification: Performance of Templates: time 0.3907/1.858, allocations: 40.53 MB / 0.6277 GB, free: 101 MB / 426.7 MB