Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.282/2.282, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.336, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01173/0.3478, allocations: 7.49 MB / 376.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.353, allocations: 1.926 MB / 378.7 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3541, allocations: 27.94 kB / 378.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3551, allocations: 338.5 kB / 379 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.3588, allocations: 0.9779 MB / 380 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3592, allocations: 15.98 kB / 380 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.3611, allocations: 0.8459 MB / 380.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.3627, allocations: 0.8745 MB / 381.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.3633, allocations: 382.6 kB / 382.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/0.3642, allocations: 0.5021 MB / 382.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.3644, allocations: 56 kB / 382.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007233/0.3652, allocations: 263.7 kB / 382.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006896/0.3659, allocations: 0.5804 MB / 383.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3663, allocations: 364.5 kB / 383.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.3693, allocations: 1.996 MB / 385.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3694, allocations: 4 kB / 385.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3694, allocations: 0 / 385.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.539e-05/0.3695, allocations: 4 kB / 385.9 MB, free: 10.01 MB / 314.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.003775/0.3733, allocations: 1.647 MB / 387.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3734, allocations: 12.03 kB / 387.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006572/0.374, allocations: 339.8 kB / 387.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.3844, allocations: 1.787 MB / 389.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.3871, allocations: 0.8346 MB / 390.5 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.3873, allocations: 77.91 kB / 390.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.3877, allocations: 91.92 kB / 390.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009123/0.3969, allocations: 4.613 MB / 395.3 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/0.397, allocations: 19.81 kB / 395.3 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.3973, allocations: 59.91 kB / 395.4 MB, free: 24 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003021/0.4003, allocations: 1.095 MB / 396.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.4106, allocations: 3.98 MB / 400.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/0.4386, allocations: 18.38 MB / 418.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.4408, allocations: 1.171 MB / 420 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4409, allocations: 4 kB / 420 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4409, allocations: 42.44 kB / 420 MB, free: 6.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=60): time 4.148e-06/0.4409, allocations: 0 / 420 MB, free: 6.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=60): time 0.002706/0.4436, allocations: 1.286 MB / 421.3 MB, free: 5.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.4437, allocations: 114.8 kB / 421.4 MB, free: 5.078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/0.4482, allocations: 2.167 MB / 423.6 MB, free: 2.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.4483, allocations: 33.69 kB / 423.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001536/0.4499, allocations: 1.632 MB / 425.3 MB, free: 1.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.4503, allocations: 257 kB / 425.5 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.4506, allocations: 67.98 kB / 425.6 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003084/0.4509, allocations: 461.9 kB / 426 MB, free: 396 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.4531, allocations: 0.8809 MB / 426.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/0.4571, allocations: 3.136 MB / 430 MB, free: 11.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/0.4611, allocations: 1.662 MB / 431.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.4612, allocations: 24 kB / 431.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009839/0.471, allocations: 3.751 MB / 435.5 MB, free: 5.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.4711, allocations: 40 kB / 435.5 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.4713, allocations: 80.28 kB / 435.6 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.4714, allocations: 120 kB / 435.7 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/0.4755, allocations: 0.7485 MB / 436.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001727/0.4757, allocations: 155.4 kB / 436.6 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.4789, allocations: 498.7 kB / 437.1 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/0.4794, allocations: 208 kB / 437.3 MB, free: 3.961 MB / 362.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.00222/0.4816, allocations: 1.097 MB / 438.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.482, allocations: 165.8 kB / 438.6 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.4825, allocations: 195.8 kB / 438.8 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/0.4825, allocations: 8 kB / 438.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4826, allocations: 0 / 438.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.4826, allocations: 7.984 kB / 438.8 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/0.4876, allocations: 1.999 MB / 440.8 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4876, allocations: 0 / 440.8 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4882, allocations: 67.89 kB / 440.8 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.4882, allocations: 8 kB / 440.8 MB, free: 348 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.4883, allocations: 8 kB / 440.9 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4883, allocations: 0 / 440.9 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4883, allocations: 3.953 kB / 440.9 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4901, allocations: 1.022 MB / 441.9 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.4906, allocations: 234.8 kB / 442.1 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.4909, allocations: 15.98 kB / 442.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.4918, allocations: 23.97 kB / 442.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.4919, allocations: 23.94 kB / 442.2 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.492, allocations: 19.97 kB / 442.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003146/0.4951, allocations: 1.351 MB / 443.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4952, allocations: 8 kB / 443.6 MB, free: 13.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003156/0.4983, allocations: 490.8 kB / 444 MB, free: 13.09 MB / 378.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.002291/0.5007, allocations: 1.639 MB / 445.7 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004996/0.5057, allocations: 2.012 MB / 447.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.5058, allocations: 0 / 447.7 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.5065, allocations: 339.7 kB / 448 MB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.5078, allocations: 155 kB / 448.2 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03648/0.5443, allocations: 14.53 MB / 462.7 MB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002436/0.5468, allocations: 1.821 MB / 464.5 MB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.5485, allocations: 0.7453 MB / 465.3 MB, free: 6.098 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5485, allocations: 3.938 kB / 465.3 MB, free: 6.094 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.554/4.102, allocations: 36.26 MB / 0.4898 GB, free: 70.14 MB / 394.7 MB