Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002717/0.002722, allocations: 350 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.591/3.591, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003529/0.003529, allocations: 213.6 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5022/0.5022, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09256, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5286, allocations: 82.89 MB / 0.6877 GB, free: 29.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.529, allocations: 79.95 kB / 0.6877 GB, free: 29.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3644/0.8935, allocations: 67.22 MB / 0.7534 GB, free: 10.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.8935, allocations: 0 / 0.7534 GB, free: 10.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002093/0.8938, allocations: 60 kB / 0.7535 GB, free: 10.43 MB / 410.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.01474/0.9085, allocations: 3.121 MB / 0.7565 GB, free: 7.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.9086, allocations: 8.031 kB / 0.7565 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03968/0.9483, allocations: 3.286 MB / 0.7597 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.9588, allocations: 2.063 MB / 0.7617 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006049/0.9594, allocations: 275.1 kB / 0.762 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/0.9625, allocations: 351.9 kB / 0.7623 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3253/1.288, allocations: 9.011 MB / 0.7711 GB, free: 92.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/1.288, allocations: 18.09 kB / 0.7711 GB, free: 92.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/1.29, allocations: 164.7 kB / 0.7713 GB, free: 92.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002545/1.293, allocations: 1.044 MB / 0.7723 GB, free: 92.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/1.318, allocations: 8.581 MB / 0.7807 GB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/1.38, allocations: 29.06 MB / 0.8091 GB, free: 76.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0074/1.387, allocations: 3.035 MB / 0.8121 GB, free: 74.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/1.39, allocations: 0.9795 MB / 0.813 GB, free: 74.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/1.403, allocations: 4.85 MB / 0.8177 GB, free: 72.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.403, allocations: 39.22 kB / 0.8178 GB, free: 72.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 6.071e-06/1.403, allocations: 7.125 kB / 0.8178 GB, free: 72.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01012/1.414, allocations: 2.716 MB / 0.8204 GB, free: 71.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.414, allocations: 62.69 kB / 0.8205 GB, free: 71.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004901/1.419, allocations: 2.529 MB / 0.823 GB, free: 70.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.419, allocations: 33.7 kB / 0.823 GB, free: 70.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.421, allocations: 2.635 MB / 0.8256 GB, free: 68.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007468/1.422, allocations: 496.1 kB / 0.8261 GB, free: 68.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/1.422, allocations: 83.45 kB / 0.8261 GB, free: 68.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004566/1.423, allocations: 0.5475 MB / 0.8267 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.427, allocations: 1.33 MB / 0.828 GB, free: 67.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004874/1.432, allocations: 4.076 MB / 0.8319 GB, free: 63.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00485/1.437, allocations: 2.339 MB / 0.8342 GB, free: 62.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.07e-05/1.437, allocations: 31.06 kB / 0.8343 GB, free: 62.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01226/1.449, allocations: 5.213 MB / 0.8394 GB, free: 60.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/1.449, allocations: 47.44 kB / 0.8394 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.449, allocations: 94.94 kB / 0.8395 GB, free: 60.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/1.449, allocations: 147.7 kB / 0.8396 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005683/1.455, allocations: 0.9657 MB / 0.8406 GB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001857/1.455, allocations: 192.5 kB / 0.8408 GB, free: 59.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/1.46, allocations: 0.594 MB / 0.8413 GB, free: 59.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008669/1.461, allocations: 279.6 kB / 0.8416 GB, free: 59.14 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 (535): * Single equations (assignments): 529 * 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.004295/1.465, allocations: 1.883 MB / 0.8434 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/1.465, allocations: 217.1 kB / 0.8436 GB, free: 57.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/1.466, allocations: 270.9 kB / 0.8439 GB, free: 57.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.447e-05/1.466, allocations: 12 kB / 0.8439 GB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-05/1.466, allocations: 10.44 kB / 0.8439 GB, free: 57.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.466, allocations: 6.281 kB / 0.8439 GB, free: 57.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.48, allocations: 5.619 MB / 0.8494 GB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.48, allocations: 4 kB / 0.8494 GB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.481, allocations: 135.2 kB / 0.8496 GB, free: 52.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.481, allocations: 8 kB / 0.8496 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/1.481, allocations: 27.09 kB / 0.8496 GB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/1.481, allocations: 12.56 kB / 0.8496 GB, free: 52.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.481, allocations: 4 kB / 0.8496 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.484, allocations: 1.781 MB / 0.8513 GB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.485, allocations: 293.8 kB / 0.8516 GB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/1.485, allocations: 27.89 kB / 0.8516 GB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.486, allocations: 39.88 kB / 0.8517 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.486, allocations: 62.06 kB / 0.8517 GB, free: 49.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.487, allocations: 43.95 kB / 0.8518 GB, free: 49.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003486/1.49, allocations: 1.529 MB / 0.8533 GB, free: 48.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.49, allocations: 0 / 0.8533 GB, free: 48.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005036/1.495, allocations: 1.009 MB / 0.8543 GB, free: 47.65 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.0005152/1.496, allocations: 144.5 kB / 0.8544 GB, free: 47.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006324/1.502, allocations: 3.099 MB / 0.8574 GB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.502, allocations: 0 / 0.8574 GB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/1.503, allocations: 0.7353 MB / 0.8581 GB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.506, allocations: 243.8 kB / 0.8584 GB, free: 43.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.524, allocations: 8.757 MB / 0.8669 GB, free: 35.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006043/1.53, allocations: 3.034 MB / 0.8699 GB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006176/1.536, allocations: 1.481 MB / 0.8713 GB, free: 32.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/1.537, allocations: 155.3 kB / 0.8715 GB, free: 32.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/1.537, allocations: 0 / 0.8715 GB, free: 32.31 MB / 410.7 MB Notification: Performance of Templates: time 0.05872/1.596, allocations: 17.55 MB / 0.8886 GB, free: 15.78 MB / 410.7 MB