Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01122/0.01122, allocations: 107.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001224/0.001224, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.078/2.078, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2752/0.2752, allocations: 40.03 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.000491, allocations: 16 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0362/0.1577, allocations: 23.61 MB / 439.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.1721, allocations: 5.052 MB / 444.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004715/0.1769, allocations: 111.8 kB / 444.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.1815, allocations: 1.237 MB / 446 MB, free: 4.449 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01327/0.1948, allocations: 3.319 MB / 449.4 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.1964, allocations: 91.86 kB / 449.4 MB, free: 1.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.3375/0.534, allocations: 1.491 MB / 450.9 MB, free: 31.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004271/0.5383, allocations: 2.124 MB / 453.1 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.54, allocations: 0.7393 MB / 453.8 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.5419, allocations: 0.9722 MB / 454.8 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.5425, allocations: 116.4 kB / 454.9 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.5437, allocations: 372.9 kB / 455.2 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.5453, allocations: 1.182 MB / 456.4 MB, free: 31.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.5465, allocations: 0.6829 MB / 457.1 MB, free: 31.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006409/0.5529, allocations: 4.162 MB / 461.3 MB, free: 31.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.553, allocations: 0 / 461.3 MB, free: 31.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.553, allocations: 0 / 461.3 MB, free: 31.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002375/0.5533, allocations: 4 kB / 461.3 MB, free: 31.21 MB / 378.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.007742/0.561, allocations: 2.961 MB / 464.2 MB, free: 29.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5611, allocations: 9.469 kB / 464.2 MB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002241/0.5633, allocations: 0.6699 MB / 464.9 MB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02025/0.5836, allocations: 3.565 MB / 468.5 MB, free: 29.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.5887, allocations: 1.501 MB / 470 MB, free: 28.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.589, allocations: 171.6 kB / 470.2 MB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.5902, allocations: 225.8 kB / 470.4 MB, free: 28.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.6129, allocations: 9.478 MB / 479.8 MB, free: 27.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.46e-05/0.6131, allocations: 21.53 kB / 479.9 MB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000714/0.6138, allocations: 106.7 kB / 480 MB, free: 27.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007074/0.6209, allocations: 2.37 MB / 482.3 MB, free: 27.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/0.6496, allocations: 8.683 MB / 491 MB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05988/0.7096, allocations: 29.25 MB / 0.5081 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007866/0.7175, allocations: 3.058 MB / 0.5111 GB, free: 22.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.7311, allocations: 4.87 MB / 0.5158 GB, free: 17.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.7312, allocations: 39.22 kB / 0.5159 GB, free: 17.44 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 6.212e-06/0.7312, allocations: 0 / 0.5159 GB, free: 17.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.009605/0.7408, allocations: 3.24 MB / 0.519 GB, free: 14.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.7409, allocations: 60.06 kB / 0.5191 GB, free: 14.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00562/0.7465, allocations: 2.53 MB / 0.5216 GB, free: 11.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.7469, allocations: 38.64 kB / 0.5216 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002596/0.7495, allocations: 2.63 MB / 0.5242 GB, free: 8.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/0.7503, allocations: 0.4929 MB / 0.5246 GB, free: 8.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.7507, allocations: 80.7 kB / 0.5247 GB, free: 8.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005064/0.7512, allocations: 0.5514 MB / 0.5253 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/0.7548, allocations: 1.331 MB / 0.5266 GB, free: 6.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006181/0.7611, allocations: 4.069 MB / 0.5305 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/0.7671, allocations: 2.34 MB / 0.5328 GB, free: 14.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.7673, allocations: 28 kB / 0.5328 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01517/0.7825, allocations: 5.225 MB / 0.5379 GB, free: 9.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.7826, allocations: 48 kB / 0.538 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.7828, allocations: 100.1 kB / 0.5381 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.7831, allocations: 140 kB / 0.5382 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005819/0.7889, allocations: 0.9747 MB / 0.5392 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002587/0.7892, allocations: 187.2 kB / 0.5394 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/0.7943, allocations: 0.6037 MB / 0.5399 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/0.7954, allocations: 277.5 kB / 0.5402 GB, free: 7.039 MB / 410.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.005578/0.801, allocations: 1.885 MB / 0.542 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/0.8016, allocations: 213.2 kB / 0.5422 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009145/0.8025, allocations: 267.2 kB / 0.5425 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-05/0.8026, allocations: 12.55 kB / 0.5425 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.403e-05/0.8026, allocations: 0 / 0.5425 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.8027, allocations: 5.625 kB / 0.5425 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.8187, allocations: 5.603 MB / 0.548 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.8188, allocations: 4 kB / 0.548 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/0.8199, allocations: 139.7 kB / 0.5481 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/0.82, allocations: 8 kB / 0.5481 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/0.8201, allocations: 25 kB / 0.5482 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/0.8201, allocations: 11.98 kB / 0.5482 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/0.8201, allocations: 7.938 kB / 0.5482 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.8241, allocations: 2.111 MB / 0.5502 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/0.8249, allocations: 302 kB / 0.5505 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/0.8252, allocations: 26.42 kB / 0.5506 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.8263, allocations: 35.95 kB / 0.5506 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.8266, allocations: 60.39 kB / 0.5506 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/0.8267, allocations: 43.19 kB / 0.5507 GB, free: 11.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004088/0.8308, allocations: 1.528 MB / 0.5522 GB, free: 10.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.8309, allocations: 5.75 kB / 0.5522 GB, free: 10.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005539/0.8365, allocations: 0.9925 MB / 0.5532 GB, free: 9.43 MB / 426.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.005014/0.8415, allocations: 3.87 MB / 0.5569 GB, free: 5.414 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007888/0.8494, allocations: 3.098 MB / 0.56 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.8495, allocations: 320 / 0.56 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.8512, allocations: 0.7388 MB / 0.5607 GB, free: 1.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.8529, allocations: 228.3 kB / 0.5609 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3964/1.249, allocations: 87.89 MB / 0.6467 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/1.254, allocations: 3.033 MB / 0.6497 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005594/1.259, allocations: 1.478 MB / 0.6511 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/1.262, allocations: 1.508 MB / 0.6526 GB, free: 138.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/1.262, allocations: 0 / 0.6526 GB, free: 138.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.389, allocations: 48.12 MB / 0.6996 GB, free: 113.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/1.389, allocations: 168.1 kB / 0.6998 GB, free: 113.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/5.722, allocations: 0 / 0.6998 GB, free: 113.6 MB / 490.7 MB