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.276/2.276, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.969e-05, allocations: 8 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3252, allocations: 54.85 MB / 364.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4604, allocations: 89.37 MB / 453.9 MB, free: 7.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4607, allocations: 71.97 kB / 454 MB, free: 7.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3267/0.7874, allocations: 67.84 MB / 0.5096 GB, free: 2.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.089e-06/0.7874, allocations: 0 / 0.5096 GB, free: 2.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.7876, allocations: 63.94 kB / 0.5096 GB, free: 2.492 MB / 442.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.008115/0.7957, allocations: 3.037 MB / 0.5126 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.7958, allocations: 11.97 kB / 0.5126 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/0.8138, allocations: 3.278 MB / 0.5158 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/0.8198, allocations: 2.056 MB / 0.5178 GB, free: 9.988 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.8202, allocations: 275.1 kB / 0.5181 GB, free: 9.719 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.8219, allocations: 363.8 kB / 0.5184 GB, free: 9.363 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.8436, allocations: 8.966 MB / 0.5272 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.2523/1.096, allocations: 18.2 kB / 0.5272 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/1.098, allocations: 160.8 kB / 0.5274 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002005/1.1, allocations: 1.042 MB / 0.5284 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02077/1.121, allocations: 8.51 MB / 0.5367 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04636/1.167, allocations: 29.12 MB / 0.5651 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/1.173, allocations: 3.029 MB / 0.5681 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.175, allocations: 0.9699 MB / 0.569 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/1.186, allocations: 4.872 MB / 0.5738 GB, free: 98.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.186, allocations: 42.84 kB / 0.5738 GB, free: 98.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=126): time 5.518e-06/1.186, allocations: 0 / 0.5738 GB, free: 98.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=126): time 0.007222/1.193, allocations: 2.098 MB / 0.5759 GB, free: 98.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/1.193, allocations: 59.97 kB / 0.5759 GB, free: 98.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/1.197, allocations: 2.237 MB / 0.5781 GB, free: 97.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/1.197, allocations: 37.52 kB / 0.5782 GB, free: 97.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.199, allocations: 2.652 MB / 0.5808 GB, free: 95.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/1.199, allocations: 0.4891 MB / 0.5812 GB, free: 95.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.199, allocations: 82.72 kB / 0.5813 GB, free: 94.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002877/1.2, allocations: 0.5017 MB / 0.5818 GB, free: 94.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/1.202, allocations: 1.305 MB / 0.5831 GB, free: 94.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/1.206, allocations: 4.033 MB / 0.587 GB, free: 90.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/1.21, allocations: 2.341 MB / 0.5893 GB, free: 89.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.64e-05/1.211, allocations: 29.84 kB / 0.5893 GB, free: 89.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01136/1.222, allocations: 5.11 MB / 0.5943 GB, free: 87.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/1.222, allocations: 48.28 kB / 0.5944 GB, free: 87.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.222, allocations: 94.81 kB / 0.5945 GB, free: 87.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/1.222, allocations: 150.9 kB / 0.5946 GB, free: 87.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/1.226, allocations: 0.9727 MB / 0.5956 GB, free: 87.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/1.226, allocations: 188.4 kB / 0.5957 GB, free: 86.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/1.231, allocations: 0.5928 MB / 0.5963 GB, free: 86.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007397/1.231, allocations: 277.3 kB / 0.5966 GB, free: 86.07 MB / 458.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 () * 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.0007565/1.232, allocations: 447.7 kB / 0.597 GB, free: 85.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/1.233, allocations: 213.2 kB / 0.5972 GB, free: 85.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/1.233, allocations: 268.1 kB / 0.5975 GB, free: 85.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/1.233, allocations: 16.33 kB / 0.5975 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.233, allocations: 3.25 kB / 0.5975 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.233, allocations: 7.703 kB / 0.5975 GB, free: 85.17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.245, allocations: 5.611 MB / 0.603 GB, free: 80.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.245, allocations: 4 kB / 0.603 GB, free: 80.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/1.246, allocations: 137.2 kB / 0.6031 GB, free: 80.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/1.246, allocations: 8 kB / 0.6031 GB, free: 80.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/1.246, allocations: 22.5 kB / 0.6031 GB, free: 80.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/1.246, allocations: 12.5 kB / 0.6031 GB, free: 80.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.69e-06/1.246, allocations: 7.703 kB / 0.6031 GB, free: 80.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/1.248, allocations: 2.1 MB / 0.6052 GB, free: 78.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005766/1.249, allocations: 296.8 kB / 0.6055 GB, free: 77.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/1.249, allocations: 23.73 kB / 0.6055 GB, free: 77.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/1.25, allocations: 46.62 kB / 0.6056 GB, free: 77.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.25, allocations: 57.09 kB / 0.6056 GB, free: 77.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.25, allocations: 40 kB / 0.6056 GB, free: 77.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002609/1.253, allocations: 1.507 MB / 0.6071 GB, free: 76.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.248e-06/1.253, allocations: 4 kB / 0.6071 GB, free: 76.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004507/1.258, allocations: 1.006 MB / 0.6081 GB, free: 75.28 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 () * 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.0003648/1.258, allocations: 141.9 kB / 0.6082 GB, free: 75.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005432/1.263, allocations: 3.066 MB / 0.6112 GB, free: 72.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.576e-06/1.263, allocations: 0 / 0.6112 GB, free: 72.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.265, allocations: 0.7376 MB / 0.612 GB, free: 71.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.266, allocations: 230.6 kB / 0.6122 GB, free: 71.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.279, allocations: 6.221 MB / 0.6182 GB, free: 65.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004772/1.284, allocations: 3.056 MB / 0.6212 GB, free: 63.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/1.285, allocations: 195.2 kB / 0.6214 GB, free: 63.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.068e-06/1.285, allocations: 0 / 0.6214 GB, free: 63.29 MB / 458.7 MB Notification: Performance of Templates: time 0.05987/1.345, allocations: 40.52 MB / 0.661 GB, free: 24.71 MB / 458.7 MB