Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002857/0.002862, allocations: 358.4 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.076/4.076, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003623/0.003623, allocations: 228 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.556/0.556, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006614/0.0006616, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.145, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.63, allocations: 89.46 MB / 0.7674 GB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.6304, allocations: 90.06 kB / 0.7675 GB, free: 11.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2975/0.9279, allocations: 67.21 MB / 0.8332 GB, free: 352 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.9279, allocations: 0 / 0.8332 GB, free: 352 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001715/0.9281, allocations: 75.88 kB / 0.8332 GB, free: 276 kB / 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.01212/0.9402, allocations: 3.111 MB / 0.8363 GB, free: 13.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9403, allocations: 8.031 kB / 0.8363 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02509/0.9654, allocations: 3.29 MB / 0.8395 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007466/0.9729, allocations: 2.064 MB / 0.8415 GB, free: 7.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.9735, allocations: 271.1 kB / 0.8418 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/0.9761, allocations: 359.8 kB / 0.8421 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/1.008, allocations: 9.01 MB / 0.8509 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/1.008, allocations: 19.81 kB / 0.8509 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/1.01, allocations: 159.9 kB / 0.8511 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002596/1.013, allocations: 1.045 MB / 0.8521 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03344/1.047, allocations: 8.578 MB / 0.8605 GB, free: 3.859 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07992/1.127, allocations: 29.06 MB / 0.8889 GB, free: 5.992 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008707/1.135, allocations: 3.047 MB / 0.8918 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/1.138, allocations: 0.9759 MB / 0.8928 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3442/1.482, allocations: 4.841 MB / 0.8975 GB, free: 127.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/1.483, allocations: 41.31 kB / 0.8976 GB, free: 127.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 7.785e-06/1.483, allocations: 3.891 kB / 0.8976 GB, free: 127.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.01082/1.493, allocations: 2.722 MB / 0.9002 GB, free: 127.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/1.493, allocations: 63.31 kB / 0.9003 GB, free: 127.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006793/1.5, allocations: 2.519 MB / 0.9027 GB, free: 127 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/1.501, allocations: 38.36 kB / 0.9028 GB, free: 127 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00257/1.503, allocations: 2.635 MB / 0.9054 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/1.504, allocations: 498.3 kB / 0.9058 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/1.504, allocations: 88.45 kB / 0.9059 GB, free: 125.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005272/1.505, allocations: 0.5436 MB / 0.9064 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/1.509, allocations: 1.33 MB / 0.9077 GB, free: 125.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005876/1.515, allocations: 4.08 MB / 0.9117 GB, free: 121.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/1.521, allocations: 2.338 MB / 0.914 GB, free: 121.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/1.521, allocations: 27.5 kB / 0.914 GB, free: 121.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01321/1.534, allocations: 5.216 MB / 0.9191 GB, free: 121 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/1.534, allocations: 48.33 kB / 0.9192 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.534, allocations: 103.7 kB / 0.9193 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/1.534, allocations: 140.2 kB / 0.9194 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005472/1.54, allocations: 0.9663 MB / 0.9204 GB, free: 120.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001838/1.54, allocations: 192.5 kB / 0.9205 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00487/1.545, allocations: 0.5946 MB / 0.9211 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.546, allocations: 277.7 kB / 0.9214 GB, free: 120.5 MB / 474.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.004558/1.551, allocations: 1.884 MB / 0.9232 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.551, allocations: 208.2 kB / 0.9234 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006223/1.552, allocations: 282 kB / 0.9237 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/1.552, allocations: 16.58 kB / 0.9237 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/1.552, allocations: 3.125 kB / 0.9237 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.552, allocations: 3.656 kB / 0.9237 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.565, allocations: 5.617 MB / 0.9292 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.565, allocations: 7.812 kB / 0.9292 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.566, allocations: 134.3 kB / 0.9293 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/1.566, allocations: 10.66 kB / 0.9293 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-05/1.566, allocations: 23.42 kB / 0.9294 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/1.566, allocations: 10.92 kB / 0.9294 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.566, allocations: 15 kB / 0.9294 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/1.57, allocations: 1.777 MB / 0.9311 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/1.57, allocations: 297.6 kB / 0.9314 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.571, allocations: 28.39 kB / 0.9314 GB, free: 117.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.572, allocations: 35.09 kB / 0.9315 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.572, allocations: 69.28 kB / 0.9315 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.572, allocations: 40.97 kB / 0.9316 GB, free: 117.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003235/1.575, allocations: 1.524 MB / 0.9331 GB, free: 117 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.575, allocations: 0 / 0.9331 GB, free: 117 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005245/1.581, allocations: 1.008 MB / 0.934 GB, free: 116.7 MB / 474.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.0005452/1.581, allocations: 145.9 kB / 0.9342 GB, free: 116.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00682/1.588, allocations: 3.093 MB / 0.9372 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.588, allocations: 3.25 kB / 0.9372 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.59, allocations: 0.7321 MB / 0.9379 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.592, allocations: 249.3 kB / 0.9382 GB, free: 115.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/1.611, allocations: 8.764 MB / 0.9467 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006748/1.618, allocations: 3.032 MB / 0.9497 GB, free: 109.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006458/1.624, allocations: 1.485 MB / 0.9511 GB, free: 109.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/1.625, allocations: 159.3 kB / 0.9513 GB, free: 109.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/1.625, allocations: 0 / 0.9513 GB, free: 109.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05952/1.685, allocations: 17.54 MB / 0.9684 GB, free: 101.8 MB / 474.7 MB