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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.214/2.214, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.714e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4628, allocations: 88.7 MB / 446.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4631, allocations: 67.97 kB / 446.8 MB, free: 6.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4789/0.942, allocations: 66.36 MB / 0.5011 GB, free: 66.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.922e-06/0.9421, allocations: 0 / 0.5011 GB, free: 66.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.9422, allocations: 68 kB / 0.5012 GB, free: 66.89 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.008166/0.9504, allocations: 3.025 MB / 0.5042 GB, free: 63.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.9505, allocations: 8.031 kB / 0.5042 GB, free: 63.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.967, allocations: 3.282 MB / 0.5074 GB, free: 60.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005457/0.9725, allocations: 2.06 MB / 0.5094 GB, free: 58.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/0.9728, allocations: 116 kB / 0.5095 GB, free: 58.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.9745, allocations: 209.2 kB / 0.5097 GB, free: 58.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01237/0.9869, allocations: 6.402 MB / 0.5159 GB, free: 51.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/1.006, allocations: 8.472 MB / 0.5242 GB, free: 42.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/1.006, allocations: 19.81 kB / 0.5242 GB, free: 42.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/1.008, allocations: 12 kB / 0.5242 GB, free: 42.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/1.009, allocations: 1.054 MB / 0.5253 GB, free: 41.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/1.05, allocations: 26.55 MB / 0.5512 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/1.054, allocations: 2.68 MB / 0.5538 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/1.055, allocations: 0.8804 MB / 0.5547 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.057, allocations: 1.638 MB / 0.5563 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.057, allocations: 43.88 kB / 0.5563 GB, free: 8.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=162): time 6.298e-06/1.057, allocations: 0 / 0.5563 GB, free: 8.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=162): time 0.00599/1.063, allocations: 2.138 MB / 0.5584 GB, free: 6.676 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/1.063, allocations: 68.72 kB / 0.5585 GB, free: 6.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/1.066, allocations: 2.034 MB / 0.5605 GB, free: 4.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/1.067, allocations: 25.7 kB / 0.5605 GB, free: 4.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/1.069, allocations: 2.655 MB / 0.5631 GB, free: 1.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009777/1.07, allocations: 0.5975 MB / 0.5637 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/1.07, allocations: 0 / 0.5637 GB, free: 1.203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004988/1.071, allocations: 0.5173 MB / 0.5642 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003564/1.074, allocations: 1.345 MB / 0.5655 GB, free: 15.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006298/1.08, allocations: 4.307 MB / 0.5697 GB, free: 9.516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005411/1.086, allocations: 2.478 MB / 0.5721 GB, free: 7.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.086, allocations: 32 kB / 0.5721 GB, free: 7.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01307/1.099, allocations: 4.962 MB / 0.577 GB, free: 2.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.099, allocations: 48 kB / 0.577 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.1, allocations: 108 kB / 0.5771 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/1.1, allocations: 156 kB / 0.5773 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/1.104, allocations: 1.069 MB / 0.5783 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002277/1.104, allocations: 207.2 kB / 0.5785 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/1.109, allocations: 0.5365 MB / 0.579 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.11, allocations: 299.9 kB / 0.5793 GB, free: 15.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 (591): * Single equations (assignments): 585 * 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.0009967/1.111, allocations: 364.4 kB / 0.5797 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005307/1.111, allocations: 225 kB / 0.5799 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/1.116, allocations: 2.06 MB / 0.5819 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.008e-05/1.116, allocations: 19.98 kB / 0.5819 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-06/1.116, allocations: 0 / 0.5819 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/1.116, allocations: 3.984 kB / 0.5819 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/1.131, allocations: 6.055 MB / 0.5878 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/1.131, allocations: 8 kB / 0.5879 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.132, allocations: 203.6 kB / 0.588 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/1.132, allocations: 16 kB / 0.5881 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.132, allocations: 20.7 kB / 0.5881 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.288e-05/1.132, allocations: 19.94 kB / 0.5881 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/1.132, allocations: 19.94 kB / 0.5881 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004868/1.137, allocations: 2.973 MB / 0.591 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/1.138, allocations: 297.8 kB / 0.5913 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/1.139, allocations: 15.98 kB / 0.5913 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.14, allocations: 31.95 kB / 0.5914 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000248/1.14, allocations: 96.47 kB / 0.5914 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.14, allocations: 59.98 kB / 0.5915 GB, free: 2.484 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003085/1.143, allocations: 1.324 MB / 0.5928 GB, free: 1.145 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.416e-06/1.143, allocations: 0 / 0.5928 GB, free: 1.145 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005997/1.149, allocations: 0.9174 MB / 0.5937 GB, free: 228 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.0005472/1.15, allocations: 138.9 kB / 0.5938 GB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006815/1.157, allocations: 3.224 MB / 0.597 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.157, allocations: 0 / 0.597 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.159, allocations: 0.9213 MB / 0.5979 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/1.16, allocations: 170.9 kB / 0.598 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.178, allocations: 6.738 MB / 0.6046 GB, free: 4.879 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006782/1.184, allocations: 3.057 MB / 0.6076 GB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/1.185, allocations: 207.4 kB / 0.6078 GB, free: 1.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.884e-06/1.185, allocations: 3.938 kB / 0.6078 GB, free: 1.586 MB / 442.7 MB Notification: Performance of Templates: time 0.39/1.575, allocations: 40.25 MB / 0.6471 GB, free: 117.3 MB / 458.7 MB