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.Torus.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.Torus,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004244, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3411, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03598/0.3771, allocations: 23.62 MB / 392.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.3913, allocations: 5.052 MB / 397.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004379/0.3958, allocations: 115.8 kB / 398.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004252/0.4001, allocations: 1.241 MB / 399.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01228/0.4124, allocations: 3.319 MB / 402.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.4138, allocations: 83.92 kB / 402.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003491/0.4173, allocations: 1.499 MB / 404.2 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/0.4217, allocations: 2.129 MB / 406.3 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.4235, allocations: 0.7356 MB / 407.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.4258, allocations: 0.9808 MB / 408 MB, free: 3.789 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006867/0.4265, allocations: 116 kB / 408.2 MB, free: 3.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.4279, allocations: 379.5 kB / 408.5 MB, free: 3.305 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.4298, allocations: 1.177 MB / 409.7 MB, free: 2.125 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.4308, allocations: 0.6868 MB / 410.4 MB, free: 1.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006577/0.4374, allocations: 4.163 MB / 414.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.4375, allocations: 0 / 414.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.072e-06/0.4375, allocations: 0 / 414.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001892/0.4377, allocations: 3.938 kB / 414.6 MB, free: 13.25 MB / 346.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.007184/0.4449, allocations: 2.957 MB / 417.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.445, allocations: 12.03 kB / 417.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001971/0.4469, allocations: 0.6629 MB / 418.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/0.4684, allocations: 3.571 MB / 421.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/0.473, allocations: 1.494 MB / 423.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.4732, allocations: 176.2 kB / 423.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008658/0.4741, allocations: 219.8 kB / 423.6 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.496, allocations: 9.506 MB / 433.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-05/0.4961, allocations: 19.81 kB / 433.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005504/0.4967, allocations: 107.8 kB / 433.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006741/0.5034, allocations: 2.365 MB / 435.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/0.5287, allocations: 8.688 MB / 444.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0612/0.59, allocations: 29.24 MB / 473.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3044/0.8944, allocations: 3.037 MB / 476.6 MB, free: 89.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/0.9092, allocations: 4.866 MB / 481.5 MB, free: 87.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.9093, allocations: 40.14 kB / 481.5 MB, free: 87.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 4.949e-06/0.9093, allocations: 0 / 481.5 MB, free: 87.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.01016/0.9195, allocations: 3.246 MB / 484.8 MB, free: 85.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.9196, allocations: 64.47 kB / 484.8 MB, free: 85.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/0.9241, allocations: 2.523 MB / 487.3 MB, free: 84.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.9243, allocations: 45.19 kB / 487.4 MB, free: 84.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.9262, allocations: 2.652 MB / 490 MB, free: 82.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006343/0.9268, allocations: 494.3 kB / 490.5 MB, free: 82.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.9271, allocations: 84.14 kB / 490.6 MB, free: 82.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.9274, allocations: 0.497 MB / 491.1 MB, free: 81.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.9302, allocations: 1.334 MB / 492.4 MB, free: 81.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/0.9347, allocations: 4.076 MB / 496.5 MB, free: 77.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/0.9395, allocations: 2.347 MB / 498.9 MB, free: 76.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.047e-05/0.9396, allocations: 27.06 kB / 498.9 MB, free: 76.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01197/0.9516, allocations: 5.184 MB / 0.4923 GB, free: 71.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.9517, allocations: 48 kB / 0.4923 GB, free: 71.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.9519, allocations: 96 kB / 0.4924 GB, free: 71.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.952, allocations: 140 kB / 0.4925 GB, free: 71.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005079/0.9571, allocations: 0.9731 MB / 0.4935 GB, free: 70.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001542/0.9573, allocations: 190.4 kB / 0.4937 GB, free: 70.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004074/0.9614, allocations: 0.6095 MB / 0.4943 GB, free: 70.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006222/0.962, allocations: 272.9 kB / 0.4945 GB, free: 69.81 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.003765/0.9658, allocations: 1.884 MB / 0.4964 GB, free: 67.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.9662, allocations: 213.1 kB / 0.4966 GB, free: 67.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.9668, allocations: 267.2 kB / 0.4968 GB, free: 67.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.9669, allocations: 20.64 kB / 0.4968 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9669, allocations: 4 kB / 0.4968 GB, free: 67.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.9669, allocations: 7.969 kB / 0.4968 GB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.9788, allocations: 5.589 MB / 0.5023 GB, free: 61.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.9789, allocations: 12.03 kB / 0.5023 GB, free: 61.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.98, allocations: 135.8 kB / 0.5024 GB, free: 61.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.98, allocations: 11.95 kB / 0.5025 GB, free: 61.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.219e-05/0.9801, allocations: 21.41 kB / 0.5025 GB, free: 61.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.9801, allocations: 13.48 kB / 0.5025 GB, free: 61.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.9801, allocations: 8 kB / 0.5025 GB, free: 61.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.983, allocations: 1.771 MB / 0.5042 GB, free: 59.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/0.9836, allocations: 301.9 kB / 0.5045 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/0.984, allocations: 23.95 kB / 0.5045 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.985, allocations: 45.12 kB / 0.5046 GB, free: 59.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.9852, allocations: 65.5 kB / 0.5046 GB, free: 59.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.9853, allocations: 37.17 kB / 0.5047 GB, free: 59.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002905/0.9882, allocations: 1.528 MB / 0.5062 GB, free: 57.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9883, allocations: 0 / 0.5062 GB, free: 57.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004279/0.9925, allocations: 1.004 MB / 0.5071 GB, free: 56.68 MB / 394.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.003263/0.9958, allocations: 2.42 MB / 0.5095 GB, free: 54.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006096/1.002, allocations: 3.101 MB / 0.5125 GB, free: 51.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.002, allocations: 0 / 0.5125 GB, free: 51.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/1.003, allocations: 0.7389 MB / 0.5133 GB, free: 50.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.005, allocations: 229.6 kB / 0.5135 GB, free: 50.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04307/1.048, allocations: 22.39 MB / 0.5353 GB, free: 25.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.052, allocations: 3.033 MB / 0.5383 GB, free: 22.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0031/1.056, allocations: 1.554 MB / 0.5398 GB, free: 20.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/1.056, allocations: 0 / 0.5398 GB, free: 20.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.462/4.517, allocations: 61.17 MB / 0.5996 GB, free: 7.539 MB / 442.7 MB