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.VoluminousWheel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.825/1.825, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004264, allocations: 12 kB / 282.5 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08522, allocations: 48.71 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01026/0.09553, allocations: 7.478 MB / 338.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2247/0.3202, allocations: 1.896 MB / 340.6 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.3212, allocations: 34.72 kB / 340.6 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.322, allocations: 337.4 kB / 340.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.325, allocations: 0.9831 MB / 341.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3252, allocations: 21.02 kB / 341.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.3267, allocations: 0.8324 MB / 342.8 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.3281, allocations: 0.8748 MB / 343.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005937/0.3287, allocations: 382.9 kB / 344 MB, free: 8.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007853/0.3295, allocations: 0.5085 MB / 344.5 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.3297, allocations: 53.59 kB / 344.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006458/0.3304, allocations: 264.7 kB / 344.8 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006149/0.331, allocations: 0.5785 MB / 345.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.3314, allocations: 364.5 kB / 345.8 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.3342, allocations: 1.992 MB / 347.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3342, allocations: 0 / 347.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3343, allocations: 0 / 347.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.412e-05/0.3343, allocations: 0 / 347.8 MB, free: 8.492 MB / 282.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.002762/0.3371, allocations: 1.658 MB / 349.4 MB, free: 7.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3371, allocations: 9.75 kB / 349.4 MB, free: 7.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00746/0.3446, allocations: 1.787 MB / 351.2 MB, free: 7.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.3467, allocations: 0.8435 MB / 352.1 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.3468, allocations: 76.62 kB / 352.1 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.3471, allocations: 98.67 kB / 352.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007802/0.3549, allocations: 4.599 MB / 356.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.042e-05/0.355, allocations: 20.22 kB / 356.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.3553, allocations: 55.47 kB / 356.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/0.3573, allocations: 1.097 MB / 358 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008249/0.3656, allocations: 3.985 MB / 362 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02496/0.3906, allocations: 18.38 MB / 380.4 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.3925, allocations: 1.172 MB / 381.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.3926, allocations: 4 kB / 381.5 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.3927, allocations: 42.5 kB / 381.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 4.484e-06/0.3927, allocations: 0 / 381.6 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of matching and sorting (n=60): time 0.002454/0.3951, allocations: 1.275 MB / 382.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.3952, allocations: 116.6 kB / 383 MB, free: 15.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004426/0.3997, allocations: 2.167 MB / 385.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-05/0.3998, allocations: 37.64 kB / 385.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.4014, allocations: 1.631 MB / 386.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.4017, allocations: 258.9 kB / 387.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.4019, allocations: 64 kB / 387.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00038/0.4023, allocations: 461.9 kB / 387.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/0.4042, allocations: 0.877 MB / 388.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/0.4081, allocations: 3.136 MB / 391.6 MB, free: 5.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.4116, allocations: 1.674 MB / 393.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.025e-05/0.4116, allocations: 20 kB / 393.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.008864/0.4205, allocations: 3.749 MB / 397 MB, free: 15.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.4206, allocations: 40 kB / 397.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.4208, allocations: 83.98 kB / 397.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.4209, allocations: 116 kB / 397.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.4239, allocations: 0.7446 MB / 398 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001725/0.4241, allocations: 155.4 kB / 398.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/0.4271, allocations: 497.2 kB / 398.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/0.4276, allocations: 208 kB / 398.8 MB, free: 13.99 MB / 330.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.002212/0.4298, allocations: 1.093 MB / 399.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.4302, allocations: 165.8 kB / 400.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.4307, allocations: 195.8 kB / 400.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.4307, allocations: 10.27 kB / 400.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4307, allocations: 3.984 kB / 400.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.32e-06/0.4308, allocations: 4 kB / 400.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.4355, allocations: 2.016 MB / 402.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4356, allocations: 4 kB / 402.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.436, allocations: 63.91 kB / 402.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.436, allocations: 4 kB / 402.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.4361, allocations: 8 kB / 402.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.363e-06/0.4361, allocations: 0 / 402.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.488e-06/0.4361, allocations: 3.984 kB / 402.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.4377, allocations: 1.029 MB / 403.4 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.4383, allocations: 234.8 kB / 403.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.4385, allocations: 8 kB / 403.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/0.4392, allocations: 27.97 kB / 403.7 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.4393, allocations: 23.97 kB / 403.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.4394, allocations: 20 kB / 403.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002873/0.4423, allocations: 1.349 MB / 405.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.76e-07/0.4423, allocations: 0 / 405.1 MB, free: 7.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00333/0.4456, allocations: 0.4957 MB / 405.6 MB, free: 7.121 MB / 330.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.0003274/0.446, allocations: 123.1 kB / 405.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004336/0.4504, allocations: 2.014 MB / 407.7 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.323e-06/0.4504, allocations: 4 kB / 407.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.451, allocations: 335.7 kB / 408.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4521, allocations: 156.5 kB / 408.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009093/0.4612, allocations: 4.593 MB / 412.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/0.4638, allocations: 1.826 MB / 414.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.4644, allocations: 143.4 kB / 414.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.7e-06/0.4644, allocations: 0 / 414.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Templates: time 0.04729/0.5117, allocations: 24.73 MB / 439.5 MB, free: 5.156 MB / 362.7 MB