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/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.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.853/1.853, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004277, allocations: 8 kB / 282.5 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2792, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02934/0.3086, allocations: 23.62 MB / 354.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.3221, allocations: 5.053 MB / 359.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004761/0.3269, allocations: 110.2 kB / 360 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.3307, allocations: 1.239 MB / 361.2 MB, free: 472 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.3422, allocations: 3.323 MB / 364.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3433, allocations: 83.86 kB / 364.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003296/0.3467, allocations: 1.487 MB / 366.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.3506, allocations: 2.129 MB / 368.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3521, allocations: 0.7394 MB / 369 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.3538, allocations: 0.9731 MB / 369.9 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004353/0.3543, allocations: 120 kB / 370.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3554, allocations: 371.5 kB / 370.4 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.3569, allocations: 1.184 MB / 371.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009153/0.3579, allocations: 0.683 MB / 372.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006206/0.3641, allocations: 4.162 MB / 376.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3641, allocations: 0 / 376.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3641, allocations: 0 / 376.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.3642, allocations: 0 / 376.4 MB, free: 1.125 MB / 298.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.005518/0.3698, allocations: 2.957 MB / 379.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3698, allocations: 15.97 kB / 379.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.3847, allocations: 3.571 MB / 383 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.3886, allocations: 1.498 MB / 384.5 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.3889, allocations: 168.3 kB / 384.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.39, allocations: 223.8 kB / 384.9 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4097, allocations: 9.502 MB / 394.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.081e-05/0.4098, allocations: 19.81 kB / 394.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004908/0.4103, allocations: 107.8 kB / 394.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004951/0.4153, allocations: 2.373 MB / 396.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.4365, allocations: 8.684 MB / 405.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/0.4892, allocations: 29.24 MB / 434.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/0.4962, allocations: 3.033 MB / 437.8 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.5082, allocations: 4.877 MB / 442.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.5083, allocations: 47.16 kB / 442.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 5.335e-06/0.5083, allocations: 0 / 442.7 MB, free: 13.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.009292/0.5176, allocations: 3.24 MB / 446 MB, free: 9.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.5177, allocations: 64.06 kB / 446 MB, free: 9.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/0.5226, allocations: 2.525 MB / 448.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001595/0.5228, allocations: 37.7 kB / 448.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002601/0.5254, allocations: 2.651 MB / 451.3 MB, free: 4.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007395/0.5262, allocations: 0.4899 MB / 451.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.5265, allocations: 84 kB / 451.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004606/0.527, allocations: 0.4969 MB / 452.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/0.53, allocations: 1.332 MB / 453.7 MB, free: 1.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00582/0.5359, allocations: 4.084 MB / 457.7 MB, free: 12.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.5407, allocations: 2.335 MB / 460.1 MB, free: 10.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.217e-05/0.5409, allocations: 32 kB / 460.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01234/0.5532, allocations: 5.181 MB / 465.3 MB, free: 4.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.5534, allocations: 47.95 kB / 465.3 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.5535, allocations: 100 kB / 465.4 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.5537, allocations: 140 kB / 465.6 MB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/0.5577, allocations: 0.9747 MB / 466.6 MB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002215/0.5579, allocations: 187.3 kB / 466.7 MB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.5618, allocations: 0.6036 MB / 467.3 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000601/0.5625, allocations: 276 kB / 467.6 MB, free: 2.527 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.003956/0.5664, allocations: 1.879 MB / 469.5 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/0.5668, allocations: 209.2 kB / 469.7 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.5675, allocations: 279.1 kB / 470 MB, free: 152 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/0.5675, allocations: 16 kB / 470 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.222e-06/0.5675, allocations: 4 kB / 470 MB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.5676, allocations: 3.984 kB / 470 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/0.58, allocations: 5.583 MB / 475.6 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.58, allocations: 4 kB / 475.6 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.5808, allocations: 143.8 kB / 475.7 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/0.5808, allocations: 8 kB / 475.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/0.5809, allocations: 27.92 kB / 475.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-05/0.581, allocations: 15.89 kB / 475.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.139e-06/0.581, allocations: 4 kB / 475.8 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.5841, allocations: 1.776 MB / 477.5 MB, free: 8.367 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006211/0.5848, allocations: 302 kB / 477.8 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.5851, allocations: 23.98 kB / 477.9 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.5859, allocations: 43.95 kB / 477.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.586, allocations: 64.36 kB / 478 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5862, allocations: 44 kB / 478 MB, free: 7.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003126/0.5893, allocations: 1.524 MB / 479.5 MB, free: 6.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.524e-06/0.5894, allocations: 0 / 479.5 MB, free: 6.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004735/0.5941, allocations: 1.011 MB / 480.5 MB, free: 5.324 MB / 410.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.0004238/0.5946, allocations: 135 kB / 480.7 MB, free: 5.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006477/0.6011, allocations: 3.1 MB / 483.8 MB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.159e-06/0.6011, allocations: 0.875 kB / 483.8 MB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.6026, allocations: 0.7416 MB / 484.5 MB, free: 1.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.6038, allocations: 239.7 kB / 484.8 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.236/0.8398, allocations: 9.193 MB / 493.9 MB, free: 130.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005227/0.8451, allocations: 3.043 MB / 497 MB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.8459, allocations: 198.8 kB / 497.2 MB, free: 129.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/0.8459, allocations: 0 / 497.2 MB, free: 129.3 MB / 410.7 MB Notification: Performance of Templates: time 0.06025/0.9062, allocations: 40.62 MB / 0.5252 GB, free: 95.19 MB / 410.7 MB