Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01605/0.01605, allocations: 105.1 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001942/0.001942, allocations: 173.6 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.751/1.751, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2631/0.2631, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.000478, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.09598, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.04393/0.14, allocations: 23.61 MB / 395.9 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.1577, allocations: 5.059 MB / 401 MB, free: 84 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005177/0.1629, allocations: 103.9 kB / 401.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.1684, allocations: 1.241 MB / 402.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01573/0.1841, allocations: 3.323 MB / 405.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.1857, allocations: 79.92 kB / 405.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.1905, allocations: 1.492 MB / 407.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004936/0.1954, allocations: 2.114 MB / 409.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.1972, allocations: 0.7395 MB / 410.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.1994, allocations: 0.9731 MB / 411 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000873/0.2004, allocations: 116 kB / 411.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.2021, allocations: 379.5 kB / 411.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.2044, allocations: 1.177 MB / 412.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2055, allocations: 0.6908 MB / 413.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.2122, allocations: 4.162 MB / 417.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2123, allocations: 0 / 417.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2123, allocations: 0 / 417.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001741/0.2125, allocations: 0 / 417.5 MB, free: 15.41 MB / 330.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.007238/0.2197, allocations: 2.957 MB / 420.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.2198, allocations: 12.02 kB / 420.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002008/0.2218, allocations: 0.6629 MB / 421.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/0.2431, allocations: 3.583 MB / 424.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.248, allocations: 1.494 MB / 426.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.2483, allocations: 172.2 kB / 426.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.2496, allocations: 219.8 kB / 426.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3016/0.5512, allocations: 9.479 MB / 436.1 MB, free: 56.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.5514, allocations: 18.69 kB / 436.1 MB, free: 56.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.5525, allocations: 108.7 kB / 436.2 MB, free: 56.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006948/0.5595, allocations: 2.375 MB / 438.6 MB, free: 56.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.5845, allocations: 8.676 MB / 447.3 MB, free: 53.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05613/0.6407, allocations: 29.25 MB / 476.5 MB, free: 26.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007451/0.6482, allocations: 3.045 MB / 479.6 MB, free: 23.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/0.6622, allocations: 4.876 MB / 484.5 MB, free: 18.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6623, allocations: 39.22 kB / 484.5 MB, free: 18.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 5.2e-06/0.6623, allocations: 0 / 484.5 MB, free: 18.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.0109/0.6732, allocations: 3.247 MB / 487.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.6733, allocations: 60.06 kB / 487.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004793/0.6781, allocations: 2.521 MB / 490.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.6784, allocations: 41.7 kB / 490.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.6802, allocations: 2.634 MB / 493 MB, free: 9.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/0.6809, allocations: 0.4907 MB / 493.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.6812, allocations: 87.75 kB / 493.6 MB, free: 9.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003528/0.6816, allocations: 0.5476 MB / 494.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.6848, allocations: 1.332 MB / 495.4 MB, free: 7.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.6893, allocations: 4.065 MB / 499.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/0.6942, allocations: 2.347 MB / 0.4901 GB, free: 15.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.301e-05/0.6943, allocations: 28 kB / 0.4901 GB, free: 15.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01795/0.7123, allocations: 5.221 MB / 0.4952 GB, free: 10.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.7125, allocations: 48 kB / 0.4953 GB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002647/0.7128, allocations: 96 kB / 0.4954 GB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.7132, allocations: 140 kB / 0.4955 GB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008661/0.7219, allocations: 0.9747 MB / 0.4964 GB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003285/0.7223, allocations: 187.9 kB / 0.4966 GB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006968/0.7293, allocations: 0.6044 MB / 0.4972 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/0.7305, allocations: 272.6 kB / 0.4975 GB, free: 7.836 MB / 346.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.005868/0.7364, allocations: 1.886 MB / 0.4993 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004666/0.7368, allocations: 221.1 kB / 0.4995 GB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.7375, allocations: 267.2 kB / 0.4998 GB, free: 5.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/0.7376, allocations: 16.78 kB / 0.4998 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.7376, allocations: 0 / 0.4998 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7376, allocations: 3.984 kB / 0.4998 GB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.7522, allocations: 5.592 MB / 0.5053 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.7522, allocations: 4.062 kB / 0.5053 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.7534, allocations: 139.8 kB / 0.5054 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/0.7534, allocations: 8 kB / 0.5054 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/0.7535, allocations: 25.36 kB / 0.5054 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/0.7536, allocations: 11.94 kB / 0.5054 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.7536, allocations: 4 kB / 0.5054 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.7573, allocations: 2.108 MB / 0.5075 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/0.7581, allocations: 298 kB / 0.5078 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.7585, allocations: 30.31 kB / 0.5078 GB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7596, allocations: 35.95 kB / 0.5079 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.7598, allocations: 60.45 kB / 0.5079 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.7599, allocations: 37.25 kB / 0.5079 GB, free: 12.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003516/0.7635, allocations: 1.532 MB / 0.5094 GB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7635, allocations: 0 / 0.5094 GB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005224/0.7687, allocations: 1.004 MB / 0.5104 GB, free: 10.22 MB / 362.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.005296/0.7741, allocations: 3.862 MB / 0.5142 GB, free: 6.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007462/0.7816, allocations: 3.1 MB / 0.5172 GB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.7817, allocations: 3.938 kB / 0.5172 GB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.7833, allocations: 0.7373 MB / 0.5179 GB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7849, allocations: 238.8 kB / 0.5182 GB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3646/1.15, allocations: 87.89 MB / 0.604 GB, free: 124.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007835/1.157, allocations: 3.04 MB / 0.607 GB, free: 123 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008548/1.166, allocations: 1.475 MB / 0.6084 GB, free: 123 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004032/1.17, allocations: 1.507 MB / 0.6099 GB, free: 121.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/1.17, allocations: 0 / 0.6099 GB, free: 121.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.303, allocations: 48.13 MB / 0.6569 GB, free: 79.02 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.303, allocations: 176.1 kB / 0.657 GB, free: 78.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.905/5.208, allocations: 4 kB / 0.6571 GB, free: 78.77 MB / 426.7 MB