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.Torus.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004458, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3397, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03439/0.3741, allocations: 23.62 MB / 354.9 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.3893, allocations: 5.054 MB / 359.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/0.3945, allocations: 110.7 kB / 360.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004867/0.3994, allocations: 1.24 MB / 361.3 MB, free: 424 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01337/0.4128, allocations: 3.323 MB / 364.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.4143, allocations: 79.92 kB / 364.7 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003789/0.4181, allocations: 1.493 MB / 366.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/0.4227, allocations: 2.106 MB / 368.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.4243, allocations: 0.7473 MB / 369 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.4262, allocations: 0.9769 MB / 370 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005703/0.4268, allocations: 116 kB / 370.1 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.4281, allocations: 371.5 kB / 370.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.4299, allocations: 1.184 MB / 371.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009207/0.4309, allocations: 0.6868 MB / 372.4 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00653/0.4374, allocations: 4.159 MB / 376.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4375, allocations: 0 / 376.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4375, allocations: 0 / 376.5 MB, free: 1.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001753/0.4377, allocations: 0 / 376.5 MB, free: 1.09 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.007368/0.4451, allocations: 2.965 MB / 379.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4451, allocations: 8.031 kB / 379.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001834/0.447, allocations: 0.6707 MB / 380.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/0.4679, allocations: 3.571 MB / 383.7 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/0.4727, allocations: 1.494 MB / 385.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.4731, allocations: 172.2 kB / 385.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.4742, allocations: 219.8 kB / 385.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/0.4967, allocations: 9.51 MB / 395.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-05/0.4968, allocations: 19.81 kB / 395.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005889/0.4974, allocations: 103.8 kB / 395.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006528/0.5039, allocations: 2.377 MB / 397.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/0.5301, allocations: 8.676 MB / 406.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06468/0.5949, allocations: 29.25 MB / 435.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/0.6031, allocations: 3.033 MB / 438.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01492/0.6181, allocations: 4.876 MB / 443.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.6182, allocations: 39.22 kB / 443.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 6.132e-06/0.6182, allocations: 4 kB / 443.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.01082/0.629, allocations: 3.24 MB / 446.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.6291, allocations: 60.06 kB / 446.8 MB, free: 8.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005564/0.6347, allocations: 2.528 MB / 449.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.635, allocations: 37.7 kB / 449.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002644/0.6376, allocations: 2.647 MB / 452 MB, free: 3.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007847/0.6384, allocations: 0.4899 MB / 452.5 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.6388, allocations: 84 kB / 452.6 MB, free: 3.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004047/0.6392, allocations: 0.5047 MB / 453.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/0.6427, allocations: 1.328 MB / 454.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006254/0.649, allocations: 4.084 MB / 458.5 MB, free: 11.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005693/0.6547, allocations: 2.343 MB / 460.8 MB, free: 9.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.011e-05/0.6549, allocations: 28 kB / 460.9 MB, free: 9.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01408/0.6689, allocations: 5.181 MB / 466.1 MB, free: 4.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.076e-05/0.6691, allocations: 47.94 kB / 466.1 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.6693, allocations: 100 kB / 466.2 MB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.6695, allocations: 144.8 kB / 466.3 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/0.6751, allocations: 0.9669 MB / 467.3 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00025/0.6754, allocations: 195.2 kB / 467.5 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00437/0.6798, allocations: 0.603 MB / 468.1 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007131/0.6806, allocations: 272 kB / 468.4 MB, free: 1.805 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.00482/0.6854, allocations: 1.883 MB / 470.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/0.6859, allocations: 213.1 kB / 470.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.6867, allocations: 271.2 kB / 470.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.6868, allocations: 16 kB / 470.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.6868, allocations: 3.984 kB / 470.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6868, allocations: 3.984 kB / 470.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.7019, allocations: 5.599 MB / 476.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.7019, allocations: 4 kB / 476.3 MB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.7031, allocations: 131.8 kB / 476.5 MB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.7031, allocations: 11.98 kB / 476.5 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.7032, allocations: 27.94 kB / 476.5 MB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.848e-05/0.7032, allocations: 12 kB / 476.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.7032, allocations: 7.938 kB / 476.5 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.7068, allocations: 1.776 MB / 478.3 MB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/0.7076, allocations: 310 kB / 478.6 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005188/0.7081, allocations: 16 kB / 478.6 MB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.7094, allocations: 39.91 kB / 478.7 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.7096, allocations: 60.42 kB / 478.7 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.7097, allocations: 40 kB / 478.8 MB, free: 7.156 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003625/0.7134, allocations: 1.528 MB / 480.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7134, allocations: 4 kB / 480.3 MB, free: 5.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004987/0.7184, allocations: 1.003 MB / 481.3 MB, free: 4.605 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.005267/0.7237, allocations: 2.42 MB / 483.7 MB, free: 2.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.2759/0.9997, allocations: 3.092 MB / 486.8 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.9997, allocations: 1.219 kB / 486.8 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/1.001, allocations: 0.7442 MB / 487.6 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.003, allocations: 230.7 kB / 487.8 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04742/1.05, allocations: 22.39 MB / 0.4982 GB, free: 118.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004634/1.055, allocations: 3.046 MB / 0.5012 GB, free: 117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/1.058, allocations: 1.544 MB / 0.5027 GB, free: 115.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/1.058, allocations: 4 kB / 0.5027 GB, free: 115.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.554/4.612, allocations: 61.17 MB / 0.5624 GB, free: 54.67 MB / 410.7 MB