Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.707/2.707, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004301, allocations: 8 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.361, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1629/0.5239, allocations: 89.44 MB / 459.2 MB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5242, allocations: 79.95 kB / 459.3 MB, free: 1.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5679/1.092, allocations: 67.88 MB / 0.5148 GB, free: 57.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.092, allocations: 0 / 0.5148 GB, free: 57.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001254/1.092, allocations: 60 kB / 0.5149 GB, free: 57.08 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.01007/1.102, allocations: 3.115 MB / 0.5179 GB, free: 53.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.103, allocations: 8.031 kB / 0.5179 GB, free: 53.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02361/1.126, allocations: 3.282 MB / 0.5211 GB, free: 50.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006965/1.133, allocations: 2.064 MB / 0.5232 GB, free: 48.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/1.134, allocations: 279 kB / 0.5234 GB, free: 48.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/1.136, allocations: 352.9 kB / 0.5238 GB, free: 47.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/1.162, allocations: 9.075 MB / 0.5326 GB, free: 38.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/1.162, allocations: 15.88 kB / 0.5326 GB, free: 38.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001972/1.164, allocations: 159.9 kB / 0.5328 GB, free: 38.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/1.166, allocations: 1.057 MB / 0.5338 GB, free: 37.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/1.189, allocations: 8.637 MB / 0.5423 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05646/1.245, allocations: 29.11 MB / 0.5707 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008026/1.254, allocations: 3.04 MB / 0.5737 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/1.269, allocations: 4.873 MB / 0.5784 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/1.269, allocations: 39.22 kB / 0.5785 GB, free: 6.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.32e-06/1.269, allocations: 3.938 kB / 0.5785 GB, free: 6.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01139/1.28, allocations: 3.248 MB / 0.5816 GB, free: 2.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/1.28, allocations: 60.06 kB / 0.5817 GB, free: 2.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005945/1.286, allocations: 2.516 MB / 0.5841 GB, free: 196 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002229/1.286, allocations: 41.7 kB / 0.5842 GB, free: 148 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.289, allocations: 2.651 MB / 0.5868 GB, free: 13.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009192/1.29, allocations: 497.7 kB / 0.5872 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004793/1.291, allocations: 84 kB / 0.5873 GB, free: 12.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004672/1.291, allocations: 0.5007 MB / 0.5878 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/1.295, allocations: 1.328 MB / 0.5891 GB, free: 11.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006683/1.302, allocations: 4.084 MB / 0.5931 GB, free: 5.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/1.308, allocations: 2.335 MB / 0.5954 GB, free: 3.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.583e-05/1.308, allocations: 28 kB / 0.5954 GB, free: 3.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01451/1.322, allocations: 5.17 MB / 0.6005 GB, free: 14.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/1.322, allocations: 48 kB / 0.6005 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/1.323, allocations: 99.94 kB / 0.6006 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/1.323, allocations: 140 kB / 0.6007 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00574/1.329, allocations: 0.9708 MB / 0.6017 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002334/1.329, allocations: 191.2 kB / 0.6019 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/1.333, allocations: 0.5992 MB / 0.6024 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009178/1.334, allocations: 276 kB / 0.6027 GB, free: 11.7 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.005198/1.34, allocations: 1.9 MB / 0.6046 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/1.34, allocations: 209.2 kB / 0.6048 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008066/1.341, allocations: 267.1 kB / 0.605 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.073e-05/1.341, allocations: 16 kB / 0.605 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.341, allocations: 0 / 0.605 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.341, allocations: 3.984 kB / 0.605 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.357, allocations: 5.614 MB / 0.6105 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.357, allocations: 8 kB / 0.6105 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.358, allocations: 135.8 kB / 0.6107 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/1.358, allocations: 8 kB / 0.6107 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-05/1.358, allocations: 20.56 kB / 0.6107 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.514e-05/1.358, allocations: 11.94 kB / 0.6107 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.358, allocations: 8 kB / 0.6107 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/1.362, allocations: 1.784 MB / 0.6124 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/1.362, allocations: 301.9 kB / 0.6127 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/1.363, allocations: 27.98 kB / 0.6128 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.364, allocations: 31.97 kB / 0.6128 GB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.364, allocations: 68.38 kB / 0.6129 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.364, allocations: 39.98 kB / 0.6129 GB, free: 1.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003816/1.368, allocations: 1.528 MB / 0.6144 GB, free: 15.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.368, allocations: 0 / 0.6144 GB, free: 15.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005091/1.373, allocations: 1.003 MB / 0.6154 GB, free: 14.48 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.0005012/1.374, allocations: 147 kB / 0.6155 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007562/1.381, allocations: 3.092 MB / 0.6185 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.382, allocations: 4 kB / 0.6185 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.383, allocations: 0.7319 MB / 0.6192 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.385, allocations: 242.5 kB / 0.6195 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.407, allocations: 9.178 MB / 0.6284 GB, free: 1.027 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007152/1.414, allocations: 3.041 MB / 0.6314 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.416, allocations: 191.4 kB / 0.6316 GB, free: 13.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/1.416, allocations: 0 / 0.6316 GB, free: 13.77 MB / 474.7 MB Notification: Performance of Templates: time 0.4111/1.827, allocations: 40.54 MB / 0.6712 GB, free: 127.3 MB / 474.7 MB