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.244/2.244, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007647/0.000765, allocations: 8 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3124, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03316/0.3456, allocations: 23.62 MB / 392.8 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.36, allocations: 5.063 MB / 397.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006889/0.367, allocations: 107.8 kB / 398 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.3712, allocations: 1.252 MB / 399.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.3818, allocations: 3.316 MB / 402.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.3826, allocations: 95.78 kB / 402.6 MB, free: 9.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.3853, allocations: 1.488 MB / 404.1 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/0.3889, allocations: 2.121 MB / 406.2 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3901, allocations: 0.7433 MB / 407 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.3915, allocations: 0.9809 MB / 408 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.3919, allocations: 116 kB / 408.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009115/0.3928, allocations: 371.5 kB / 408.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.3942, allocations: 1.18 MB / 409.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007763/0.395, allocations: 0.683 MB / 410.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.4007, allocations: 4.159 MB / 414.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4007, allocations: 0 / 414.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.145e-06/0.4008, allocations: 4 kB / 414.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.469e-05/0.4008, allocations: 0 / 414.5 MB, free: 13.24 MB / 346.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.005398/0.4063, allocations: 2.961 MB / 417.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4063, allocations: 8.031 kB / 417.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/0.4213, allocations: 3.567 MB / 421 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.4251, allocations: 1.502 MB / 422.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.4253, allocations: 172.2 kB / 422.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006339/0.426, allocations: 223.8 kB / 422.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.4446, allocations: 9.494 MB / 432.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.301e-05/0.4447, allocations: 19.81 kB / 432.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/0.4452, allocations: 111.8 kB / 432.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004853/0.4501, allocations: 2.373 MB / 434.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.4709, allocations: 8.688 MB / 443.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05124/0.5222, allocations: 29.24 MB / 472.8 MB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2521/0.7743, allocations: 3.038 MB / 475.9 MB, free: 89.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.7855, allocations: 4.87 MB / 480.7 MB, free: 87.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.7856, allocations: 43.33 kB / 480.8 MB, free: 87.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 5.313e-06/0.7856, allocations: 0 / 480.8 MB, free: 87.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.008619/0.7942, allocations: 3.247 MB / 484 MB, free: 86.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.7943, allocations: 59.91 kB / 484.1 MB, free: 86.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/0.7983, allocations: 2.519 MB / 486.6 MB, free: 85.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.7985, allocations: 41.61 kB / 486.6 MB, free: 85.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.7999, allocations: 2.659 MB / 489.3 MB, free: 83.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004897/0.8004, allocations: 492.1 kB / 489.8 MB, free: 82.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.8007, allocations: 88.67 kB / 489.9 MB, free: 82.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.801, allocations: 0.4944 MB / 490.4 MB, free: 82.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.8034, allocations: 1.331 MB / 491.7 MB, free: 82.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/0.8068, allocations: 4.085 MB / 495.8 MB, free: 77.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.8105, allocations: 2.341 MB / 498.1 MB, free: 77.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.175e-05/0.8106, allocations: 27.09 kB / 498.1 MB, free: 77.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.009466/0.8201, allocations: 5.189 MB / 0.4915 GB, free: 73.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.259e-05/0.8202, allocations: 44 kB / 0.4916 GB, free: 73.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.51e-05/0.8204, allocations: 100 kB / 0.4917 GB, free: 73.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.8205, allocations: 143.9 kB / 0.4918 GB, free: 73.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.8238, allocations: 0.9693 MB / 0.4927 GB, free: 72.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.824, allocations: 186.8 kB / 0.4929 GB, free: 72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.8273, allocations: 0.603 MB / 0.4935 GB, free: 71.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/0.8277, allocations: 278 kB / 0.4938 GB, free: 71.14 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 (537): * Single equations (assignments): 531 * 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.002898/0.8307, allocations: 1.882 MB / 0.4956 GB, free: 69.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.831, allocations: 217.1 kB / 0.4958 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.8314, allocations: 271.1 kB / 0.4961 GB, free: 68.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.419e-05/0.8315, allocations: 13.17 kB / 0.4961 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.175e-06/0.8315, allocations: 0 / 0.4961 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.8315, allocations: 3.984 kB / 0.4961 GB, free: 68.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009423/0.8409, allocations: 5.595 MB / 0.5016 GB, free: 63.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.841, allocations: 4 kB / 0.5016 GB, free: 63.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.8417, allocations: 131.8 kB / 0.5017 GB, free: 63.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.8417, allocations: 8.562 kB / 0.5017 GB, free: 63.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.8418, allocations: 32.88 kB / 0.5017 GB, free: 63.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.8418, allocations: 11.94 kB / 0.5017 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.1e-06/0.8419, allocations: 7.984 kB / 0.5018 GB, free: 63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.8442, allocations: 1.783 MB / 0.5035 GB, free: 61.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.8447, allocations: 294 kB / 0.5038 GB, free: 60.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.845, allocations: 21.41 kB / 0.5038 GB, free: 60.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/0.8458, allocations: 41.62 kB / 0.5038 GB, free: 60.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.8459, allocations: 64.44 kB / 0.5039 GB, free: 60.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.8461, allocations: 45.5 kB / 0.5039 GB, free: 60.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00228/0.8484, allocations: 1.524 MB / 0.5054 GB, free: 59.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.98e-07/0.8484, allocations: 4 kB / 0.5054 GB, free: 59.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003903/0.8523, allocations: 1.002 MB / 0.5064 GB, free: 58.12 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.0003521/0.8527, allocations: 144.2 kB / 0.5065 GB, free: 57.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004877/0.8576, allocations: 3.093 MB / 0.5096 GB, free: 54.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.799e-06/0.8576, allocations: 2 kB / 0.5096 GB, free: 54.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.8586, allocations: 0.7432 MB / 0.5103 GB, free: 54.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.8598, allocations: 225 kB / 0.5105 GB, free: 53.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.8736, allocations: 9.203 MB / 0.5195 GB, free: 44.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003865/0.8775, allocations: 3.033 MB / 0.5225 GB, free: 41.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007037/0.8782, allocations: 195.4 kB / 0.5226 GB, free: 41.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.841e-06/0.8782, allocations: 0 / 0.5226 GB, free: 41.4 MB / 394.7 MB Notification: Performance of Templates: time 0.05852/0.9368, allocations: 40.63 MB / 0.5623 GB, free: 0.7734 MB / 394.7 MB