Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.914/1.914, allocations: 209.4 MB / 217.3 MB, free: 4.129 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.587e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2656, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4073, allocations: 82.14 MB / 402.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4076, allocations: 75.95 kB / 402.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.463/0.8706, allocations: 66.33 MB / 468.6 MB, free: 92.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.8707, allocations: 0 / 468.6 MB, free: 92.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001092/0.8708, allocations: 60.41 kB / 468.6 MB, free: 92.46 MB / 378.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.007543/0.8784, allocations: 3.016 MB / 471.6 MB, free: 90.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8784, allocations: 11.62 kB / 471.7 MB, free: 90.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/0.8959, allocations: 3.288 MB / 474.9 MB, free: 90.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00539/0.9013, allocations: 2.068 MB / 477 MB, free: 90.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.9016, allocations: 121.3 kB / 477.1 MB, free: 90.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.9031, allocations: 207.2 kB / 477.3 MB, free: 90.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01226/0.9154, allocations: 6.399 MB / 483.7 MB, free: 87.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/0.9334, allocations: 8.461 MB / 492.2 MB, free: 78.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.9335, allocations: 19.81 kB / 492.2 MB, free: 78.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009678/0.9345, allocations: 15.98 kB / 492.2 MB, free: 78.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/0.9359, allocations: 1.047 MB / 493.3 MB, free: 77.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04065/0.9766, allocations: 26.55 MB / 0.5076 GB, free: 50.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.9798, allocations: 2.694 MB / 0.5103 GB, free: 47.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.9812, allocations: 0.8766 MB / 0.5111 GB, free: 46.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.9825, allocations: 1.634 MB / 0.5127 GB, free: 45.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.9826, allocations: 47.81 kB / 0.5128 GB, free: 45.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=162): time 6.619e-06/0.9826, allocations: 0 / 0.5128 GB, free: 45.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=162): time 0.005836/0.9885, allocations: 2.142 MB / 0.5149 GB, free: 42.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.9885, allocations: 64.72 kB / 0.5149 GB, free: 42.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.9923, allocations: 2.034 MB / 0.5169 GB, free: 40.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.9925, allocations: 29.7 kB / 0.5169 GB, free: 40.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.9942, allocations: 2.655 MB / 0.5195 GB, free: 38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000725/0.9949, allocations: 0.5976 MB / 0.5201 GB, free: 37.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.9953, allocations: 0 / 0.5201 GB, free: 37.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003728/0.9957, allocations: 0.5134 MB / 0.5206 GB, free: 36.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.9982, allocations: 1.345 MB / 0.5219 GB, free: 35.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/1.003, allocations: 4.307 MB / 0.5261 GB, free: 29.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/1.007, allocations: 2.474 MB / 0.5285 GB, free: 27.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-05/1.007, allocations: 32 kB / 0.5286 GB, free: 27.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01148/1.019, allocations: 4.961 MB / 0.5334 GB, free: 22.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.572e-05/1.019, allocations: 48.78 kB / 0.5335 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/1.019, allocations: 116.5 kB / 0.5336 GB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/1.019, allocations: 152 kB / 0.5337 GB, free: 21.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/1.023, allocations: 1.072 MB / 0.5348 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001513/1.023, allocations: 214.4 kB / 0.535 GB, free: 20.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.028, allocations: 0.5364 MB / 0.5355 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008949/1.029, allocations: 300 kB / 0.5358 GB, free: 19.82 MB / 378.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.001063/1.03, allocations: 363.6 kB / 0.5361 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.03, allocations: 229.1 kB / 0.5363 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/1.034, allocations: 2.048 MB / 0.5383 GB, free: 17.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/1.034, allocations: 16 kB / 0.5384 GB, free: 17.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.962e-06/1.034, allocations: 3.938 kB / 0.5384 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/1.034, allocations: 7.938 kB / 0.5384 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/1.046, allocations: 6.053 MB / 0.5443 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/1.046, allocations: 9 kB / 0.5443 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.047, allocations: 199.6 kB / 0.5445 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.237e-05/1.047, allocations: 20 kB / 0.5445 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.048, allocations: 23.94 kB / 0.5445 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.988e-05/1.048, allocations: 23.88 kB / 0.5445 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/1.048, allocations: 15.94 kB / 0.5446 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/1.051, allocations: 2.965 MB / 0.5475 GB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/1.052, allocations: 301.9 kB / 0.5477 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/1.052, allocations: 12 kB / 0.5478 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/1.053, allocations: 39.91 kB / 0.5478 GB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.053, allocations: 92.52 kB / 0.5479 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.054, allocations: 59.98 kB / 0.5479 GB, free: 6.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002429/1.056, allocations: 1.32 MB / 0.5492 GB, free: 5.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.046e-06/1.056, allocations: 3.938 kB / 0.5492 GB, free: 5.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005109/1.061, allocations: 0.9213 MB / 0.5501 GB, free: 4.449 MB / 378.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.0004631/1.062, allocations: 146.8 kB / 0.5503 GB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005352/1.067, allocations: 3.224 MB / 0.5534 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.067, allocations: 4.062 kB / 0.5534 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.069, allocations: 0.9189 MB / 0.5543 GB, free: 188 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.07, allocations: 159.7 kB / 0.5545 GB, free: 24 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.087, allocations: 6.747 MB / 0.5611 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006557/1.094, allocations: 3.049 MB / 0.564 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009079/1.095, allocations: 207.4 kB / 0.5642 GB, free: 5.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.646e-06/1.095, allocations: 0 / 0.5642 GB, free: 5.82 MB / 394.7 MB Notification: Performance of Templates: time 0.3148/1.409, allocations: 40.26 MB / 0.6036 GB, free: 113.3 MB / 426.7 MB