Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001359/0.001359, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.634/1.634, allocations: 194.3 MB / 202.4 MB, free: 8.484 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001958/0.001958, allocations: 114.4 kB / 247.4 MB, free: 6.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2136/0.2136, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.476e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4533, allocations: 88.7 MB / 0.5243 GB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4536, allocations: 71.41 kB / 0.5244 GB, free: 9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1562/0.6098, allocations: 66.35 MB / 0.5892 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6099, allocations: 0 / 0.5892 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001685/0.61, allocations: 60 kB / 0.5892 GB, free: 0.8711 MB / 394.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.009703/0.6198, allocations: 3.021 MB / 0.5922 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.6198, allocations: 12.03 kB / 0.5922 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.6341, allocations: 3.282 MB / 0.5954 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005548/0.6397, allocations: 2.06 MB / 0.5974 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.64, allocations: 119.9 kB / 0.5975 GB, free: 8.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.642, allocations: 211.9 kB / 0.5977 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01129/0.6533, allocations: 6.402 MB / 0.604 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.6724, allocations: 8.461 MB / 0.6122 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.6726, allocations: 19.81 kB / 0.6123 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/0.6741, allocations: 11.98 kB / 0.6123 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.6756, allocations: 1.054 MB / 0.6133 GB, free: 7.734 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/0.7204, allocations: 26.55 MB / 0.6392 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.7241, allocations: 2.689 MB / 0.6419 GB, free: 9.637 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.7255, allocations: 0.8805 MB / 0.6427 GB, free: 8.758 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.7273, allocations: 1.622 MB / 0.6443 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/0.7274, allocations: 47.88 kB / 0.6443 GB, free: 6.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=162): time 6.723e-06/0.7274, allocations: 0 / 0.6443 GB, free: 6.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=162): time 0.005405/0.7328, allocations: 2.146 MB / 0.6464 GB, free: 4.648 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.7329, allocations: 60.72 kB / 0.6465 GB, free: 4.574 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/0.7372, allocations: 2.035 MB / 0.6485 GB, free: 2.512 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.7374, allocations: 25.7 kB / 0.6485 GB, free: 2.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.7396, allocations: 2.629 MB / 0.6511 GB, free: 15.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008083/0.7404, allocations: 0.5938 MB / 0.6517 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.7407, allocations: 0 / 0.6517 GB, free: 15.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005331/0.7413, allocations: 0.5562 MB / 0.6522 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.7435, allocations: 1.345 MB / 0.6535 GB, free: 13.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004237/0.7477, allocations: 4.307 MB / 0.6577 GB, free: 7.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.7516, allocations: 2.478 MB / 0.6601 GB, free: 5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.491e-05/0.7517, allocations: 32 kB / 0.6602 GB, free: 4.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.2655/1.017, allocations: 4.992 MB / 0.665 GB, free: 125.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.017, allocations: 51.12 kB / 0.6651 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.018, allocations: 106.3 kB / 0.6652 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/1.018, allocations: 155.2 kB / 0.6653 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/1.022, allocations: 1.073 MB / 0.6664 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001945/1.022, allocations: 206.2 kB / 0.6666 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.025, allocations: 0.5344 MB / 0.6671 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005463/1.026, allocations: 302.6 kB / 0.6674 GB, free: 125.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 585 * 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.0005304/1.026, allocations: 369.5 kB / 0.6678 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/1.026, allocations: 217.1 kB / 0.668 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/1.029, allocations: 2.054 MB / 0.67 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/1.03, allocations: 18.66 kB / 0.67 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.03, allocations: 0 / 0.67 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.03, allocations: 6.719 kB / 0.67 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009965/1.04, allocations: 6.051 MB / 0.6759 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/1.04, allocations: 10.88 kB / 0.6759 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/1.04, allocations: 204.3 kB / 0.6761 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.85e-05/1.04, allocations: 16.78 kB / 0.6761 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/1.041, allocations: 19.12 kB / 0.6761 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.734e-05/1.041, allocations: 20.19 kB / 0.6762 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/1.041, allocations: 13.28 kB / 0.6762 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/1.044, allocations: 2.98 MB / 0.6791 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/1.044, allocations: 300.5 kB / 0.6794 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/1.045, allocations: 19.64 kB / 0.6794 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/1.045, allocations: 30 kB / 0.6794 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.046, allocations: 99.58 kB / 0.6795 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.046, allocations: 58.38 kB / 0.6796 GB, free: 122.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002086/1.048, allocations: 1.321 MB / 0.6809 GB, free: 122.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.048, allocations: 1.562 kB / 0.6809 GB, free: 122.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004532/1.052, allocations: 0.9172 MB / 0.6818 GB, free: 122.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.0003683/1.053, allocations: 142.1 kB / 0.6819 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004153/1.057, allocations: 3.225 MB / 0.685 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.057, allocations: 3.312 kB / 0.685 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008545/1.058, allocations: 0.9201 MB / 0.6859 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/1.059, allocations: 168.4 kB / 0.6861 GB, free: 122.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.069, allocations: 6.33 MB / 0.6923 GB, free: 120.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/1.072, allocations: 3.051 MB / 0.6953 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003453/1.076, allocations: 1.712 MB / 0.6969 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/1.076, allocations: 161.9 kB / 0.6971 GB, free: 119.8 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/1.076, allocations: 0 / 0.6971 GB, free: 119.8 MB / 474.7 MB Notification: Performance of Templates: time 0.03186/1.108, allocations: 15.64 MB / 0.7124 GB, free: 119.1 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)