Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadModel(ModelicaTest): time 2.169/2.169, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 8 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4349, allocations: 89.46 MB / 458.7 MB, free: 1.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/0.4354, allocations: 75.97 kB / 458.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5148/0.9502, allocations: 67.76 MB / 0.5142 GB, free: 57.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.86e-06/0.9503, allocations: 0 / 0.5142 GB, free: 57.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.9504, allocations: 64 kB / 0.5143 GB, free: 57.13 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.006015/0.9564, allocations: 3.111 MB / 0.5173 GB, free: 53.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.9565, allocations: 8.031 kB / 0.5173 GB, free: 53.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.9723, allocations: 3.29 MB / 0.5205 GB, free: 50.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/0.9774, allocations: 2.052 MB / 0.5225 GB, free: 48.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.9777, allocations: 279 kB / 0.5228 GB, free: 48.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.9788, allocations: 352.9 kB / 0.5231 GB, free: 47.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.9966, allocations: 9.059 MB / 0.532 GB, free: 38.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/0.9967, allocations: 19.81 kB / 0.532 GB, free: 38.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007015/0.9974, allocations: 163.9 kB / 0.5322 GB, free: 38.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.9987, allocations: 1.041 MB / 0.5332 GB, free: 37.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/1.016, allocations: 8.646 MB / 0.5416 GB, free: 28.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03991/1.056, allocations: 29.1 MB / 0.57 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006685/1.063, allocations: 3.06 MB / 0.573 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/1.074, allocations: 4.876 MB / 0.5778 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/1.074, allocations: 39.22 kB / 0.5778 GB, free: 6.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.604e-06/1.074, allocations: 3.938 kB / 0.5778 GB, free: 6.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.008674/1.083, allocations: 3.241 MB / 0.581 GB, free: 2.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/1.083, allocations: 60.06 kB / 0.581 GB, free: 2.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004476/1.088, allocations: 2.259 MB / 0.5833 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/1.088, allocations: 37.7 kB / 0.5833 GB, free: 488 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002509/1.09, allocations: 2.655 MB / 0.5859 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008901/1.091, allocations: 493.8 kB / 0.5864 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/1.092, allocations: 80 kB / 0.5864 GB, free: 13.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000464/1.092, allocations: 0.5046 MB / 0.5869 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002789/1.095, allocations: 1.332 MB / 0.5882 GB, free: 11.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005779/1.101, allocations: 4.061 MB / 0.5922 GB, free: 5.918 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/1.106, allocations: 2.335 MB / 0.5945 GB, free: 3.574 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.708e-05/1.106, allocations: 28 kB / 0.5945 GB, free: 3.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.0125/1.118, allocations: 5.174 MB / 0.5995 GB, free: 14.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/1.118, allocations: 48 kB / 0.5996 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.119, allocations: 96 kB / 0.5997 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/1.119, allocations: 144 kB / 0.5998 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003928/1.123, allocations: 0.9708 MB / 0.6008 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002199/1.123, allocations: 195.2 kB / 0.601 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/1.127, allocations: 0.5995 MB / 0.6015 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007755/1.128, allocations: 276 kB / 0.6018 GB, free: 12.05 MB / 442.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.004343/1.132, allocations: 1.883 MB / 0.6036 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/1.133, allocations: 209.2 kB / 0.6038 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/1.133, allocations: 271.1 kB / 0.6041 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.95e-05/1.133, allocations: 16 kB / 0.6041 GB, free: 9.656 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.424e-06/1.133, allocations: 0 / 0.6041 GB, free: 9.656 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.133, allocations: 7.984 kB / 0.6041 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.146, allocations: 5.622 MB / 0.6096 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.146, allocations: 4 kB / 0.6096 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/1.147, allocations: 136.3 kB / 0.6097 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/1.147, allocations: 12 kB / 0.6098 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/1.147, allocations: 31.97 kB / 0.6098 GB, free: 3.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/1.147, allocations: 11.98 kB / 0.6098 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/1.147, allocations: 7.938 kB / 0.6098 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/1.151, allocations: 2.11 MB / 0.6119 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/1.151, allocations: 294 kB / 0.6121 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/1.152, allocations: 16 kB / 0.6122 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/1.152, allocations: 47.94 kB / 0.6122 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/1.153, allocations: 60.39 kB / 0.6123 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.153, allocations: 43.98 kB / 0.6123 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003068/1.156, allocations: 1.528 MB / 0.6138 GB, free: 15.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.031e-06/1.156, allocations: 0 / 0.6138 GB, free: 15.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004908/1.161, allocations: 1.007 MB / 0.6148 GB, free: 14.36 MB / 458.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.0004196/1.161, allocations: 147 kB / 0.6149 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006412/1.168, allocations: 3.088 MB / 0.6179 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.789e-06/1.168, allocations: 0 / 0.6179 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.169, allocations: 0.7429 MB / 0.6187 GB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.17, allocations: 233.6 kB / 0.6189 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.189, allocations: 9.142 MB / 0.6278 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006357/1.196, allocations: 3.041 MB / 0.6308 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/1.196, allocations: 199.4 kB / 0.631 GB, free: 13.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.599e-06/1.196, allocations: 0 / 0.631 GB, free: 13.68 MB / 474.7 MB Notification: Performance of Templates: time 0.329/1.525, allocations: 40.53 MB / 0.6706 GB, free: 130.6 MB / 474.7 MB