Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,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.VoluminousWheel") Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.359, allocations: 48.69 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.5509, allocations: 80.37 MB / 412.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/0.5513, allocations: 83.95 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1717/0.723, allocations: 34.46 MB / 446.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.7231, allocations: 4 kB / 446.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.371e-05/0.7232, allocations: 31.94 kB / 446.7 MB, free: 11.12 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: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.005851/0.729, allocations: 1.734 MB / 448.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.7291, allocations: 12.03 kB / 448.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.7421, allocations: 1.643 MB / 450.1 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/0.746, allocations: 1.042 MB / 451.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.7463, allocations: 131.4 kB / 451.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009952/0.7473, allocations: 167.9 kB / 451.5 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.7594, allocations: 4.945 MB / 456.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.7595, allocations: 35.69 kB / 456.4 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.76, allocations: 91.92 kB / 456.5 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.7611, allocations: 0.5101 MB / 457 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.7722, allocations: 4.069 MB / 461.1 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03508/0.8074, allocations: 24.57 MB / 485.7 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.8097, allocations: 1.167 MB / 486.8 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.8098, allocations: 4 kB / 486.9 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.8098, allocations: 42.45 kB / 486.9 MB, free: 1.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.928e-06/0.8098, allocations: 4 kB / 486.9 MB, free: 1.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.3044/1.114, allocations: 1.279 MB / 488.2 MB, free: 122.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.114, allocations: 113.4 kB / 488.3 MB, free: 122.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006003/1.12, allocations: 2.163 MB / 490.5 MB, free: 121.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.121, allocations: 34.3 kB / 490.5 MB, free: 121.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.122, allocations: 1.632 MB / 492.1 MB, free: 121.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/1.123, allocations: 268.2 kB / 492.4 MB, free: 120.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/1.123, allocations: 65.88 kB / 492.4 MB, free: 120.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003395/1.123, allocations: 457.3 kB / 492.9 MB, free: 120.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/1.126, allocations: 0.883 MB / 493.8 MB, free: 120.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00396/1.13, allocations: 3.132 MB / 496.9 MB, free: 117.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.134, allocations: 1.666 MB / 498.6 MB, free: 117.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/1.134, allocations: 22.62 kB / 498.6 MB, free: 117.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.00986/1.144, allocations: 3.756 MB / 0.4906 GB, free: 117.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/1.144, allocations: 42.53 kB / 0.4906 GB, free: 117.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/1.144, allocations: 80.66 kB / 0.4907 GB, free: 117.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/1.145, allocations: 116.6 kB / 0.4908 GB, free: 117.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/1.149, allocations: 0.748 MB / 0.4915 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001822/1.149, allocations: 157.6 kB / 0.4917 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/1.153, allocations: 492.7 kB / 0.4922 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006848/1.153, allocations: 218.5 kB / 0.4924 GB, free: 116.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 3 * 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.0025/1.156, allocations: 1.091 MB / 0.4934 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/1.156, allocations: 162.9 kB / 0.4936 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/1.157, allocations: 206.8 kB / 0.4938 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.458e-05/1.157, allocations: 7.875 kB / 0.4938 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.157, allocations: 1.281 kB / 0.4938 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.157, allocations: 1.219 kB / 0.4938 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004904/1.162, allocations: 2 MB / 0.4957 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.162, allocations: 7.281 kB / 0.4958 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/1.163, allocations: 57.05 kB / 0.4958 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.163, allocations: 3.031 kB / 0.4958 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/1.163, allocations: 8.188 kB / 0.4958 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.163, allocations: 3.562 kB / 0.4958 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.163, allocations: 0 / 0.4958 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/1.164, allocations: 1.039 MB / 0.4968 GB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/1.165, allocations: 240.7 kB / 0.4971 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/1.165, allocations: 9.5 kB / 0.4971 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/1.166, allocations: 21.53 kB / 0.4971 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/1.166, allocations: 32.45 kB / 0.4971 GB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/1.166, allocations: 15.72 kB / 0.4971 GB, free: 114.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002869/1.169, allocations: 1.357 MB / 0.4985 GB, free: 113.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.169, allocations: 0 / 0.4985 GB, free: 113.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003553/1.173, allocations: 0.4919 MB / 0.4989 GB, free: 113.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0003609/1.173, allocations: 131.6 kB / 0.4991 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004462/1.177, allocations: 2.01 MB / 0.501 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.177, allocations: 4.062 kB / 0.501 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/1.178, allocations: 338.1 kB / 0.5014 GB, free: 112.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.179, allocations: 147.8 kB / 0.5015 GB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009246/1.189, allocations: 4.6 MB / 0.506 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/1.191, allocations: 1.827 MB / 0.5078 GB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/1.191, allocations: 150 kB / 0.5079 GB, free: 109.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.191, allocations: 0 / 0.5079 GB, free: 109.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04887/1.24, allocations: 24.7 MB / 0.532 GB, free: 93.57 MB / 410.7 MB