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.006522/0.006522, allocations: 174.7 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.535/1.535, allocations: 194.5 MB / 210.3 MB, free: 8.512 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.001724/0.001724, allocations: 116.7 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1663/0.1663, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006027/0.0006029, allocations: 11.16 kB / 406.1 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1121, allocations: 54.88 MB / 461 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4898, allocations: 89.46 MB / 0.5376 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.4901, allocations: 79.47 kB / 0.5377 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1501/0.6403, allocations: 67.75 MB / 0.6038 GB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6403, allocations: 0 / 0.6038 GB, free: 2.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.6405, allocations: 60.91 kB / 0.6039 GB, free: 2.195 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.01282/0.6533, allocations: 3.121 MB / 0.6069 GB, free: 248 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6534, allocations: 7.625 kB / 0.6069 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02642/0.6798, allocations: 3.335 MB / 0.6102 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.6906, allocations: 2.064 MB / 0.6122 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/0.6911, allocations: 273.2 kB / 0.6125 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/0.694, allocations: 355 kB / 0.6128 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0319/0.7259, allocations: 9.046 MB / 0.6216 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.7261, allocations: 23.75 kB / 0.6217 GB, free: 3.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001687/0.7278, allocations: 162.2 kB / 0.6218 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002361/0.7302, allocations: 1.045 MB / 0.6228 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/0.7532, allocations: 8.64 MB / 0.6313 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04639/0.7997, allocations: 29.11 MB / 0.6597 GB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004776/0.8045, allocations: 3.053 MB / 0.6627 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008285/0.8129, allocations: 4.882 MB / 0.6674 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.8129, allocations: 39.22 kB / 0.6675 GB, free: 3.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 3.988e-06/0.8129, allocations: 0 / 0.6675 GB, free: 3.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.006029/0.819, allocations: 3.239 MB / 0.6706 GB, free: 268 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.8191, allocations: 64.05 kB / 0.6707 GB, free: 192 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.8224, allocations: 2.259 MB / 0.6729 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.8225, allocations: 37.7 kB / 0.6729 GB, free: 13.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.8244, allocations: 2.636 MB / 0.6755 GB, free: 11.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.8249, allocations: 490.9 kB / 0.676 GB, free: 10.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.8251, allocations: 84 kB / 0.6761 GB, free: 10.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004272/0.8255, allocations: 0.5475 MB / 0.6766 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.8274, allocations: 1.336 MB / 0.6779 GB, free: 8.758 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003752/0.8312, allocations: 4.057 MB / 0.6819 GB, free: 3.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.8345, allocations: 2.339 MB / 0.6842 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-05/0.8346, allocations: 28 kB / 0.6842 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.008179/0.8428, allocations: 5.224 MB / 0.6893 GB, free: 11.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.8429, allocations: 45.56 kB / 0.6893 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.843, allocations: 103.8 kB / 0.6894 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.8432, allocations: 140 kB / 0.6896 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.8458, allocations: 0.9669 MB / 0.6905 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000139/0.846, allocations: 187.2 kB / 0.6907 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/0.8492, allocations: 0.6074 MB / 0.6913 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004808/0.8497, allocations: 275.1 kB / 0.6915 GB, free: 9.406 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.003727/0.8534, allocations: 1.879 MB / 0.6934 GB, free: 7.512 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.8538, allocations: 209.2 kB / 0.6936 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.8544, allocations: 275.1 kB / 0.6938 GB, free: 7.031 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.682e-05/0.8545, allocations: 16 kB / 0.6938 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8545, allocations: 0 / 0.6938 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.8545, allocations: 7.984 kB / 0.6939 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.8646, allocations: 5.627 MB / 0.6994 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.8647, allocations: 4 kB / 0.6994 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.8652, allocations: 136.4 kB / 0.6995 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.8653, allocations: 16 kB / 0.6995 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.8653, allocations: 23.58 kB / 0.6995 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.8653, allocations: 11.94 kB / 0.6995 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.8654, allocations: 11.94 kB / 0.6995 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.8677, allocations: 2.106 MB / 0.7016 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/0.8684, allocations: 294 kB / 0.7019 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.8686, allocations: 27.98 kB / 0.7019 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.8692, allocations: 35.48 kB / 0.7019 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.8693, allocations: 68.38 kB / 0.702 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.8694, allocations: 36 kB / 0.702 GB, free: 14.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002393/0.8718, allocations: 1.528 MB / 0.7035 GB, free: 12.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8718, allocations: 0 / 0.7035 GB, free: 12.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003973/0.8758, allocations: 1.007 MB / 0.7045 GB, free: 11.75 MB / 490.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.0003699/0.8761, allocations: 140.1 kB / 0.7047 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.8811, allocations: 3.1 MB / 0.7077 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8811, allocations: 0 / 0.7077 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.882, allocations: 0.7351 MB / 0.7084 GB, free: 7.805 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.8834, allocations: 240 kB / 0.7086 GB, free: 7.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2572/1.141, allocations: 8.737 MB / 0.7172 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/1.145, allocations: 3.037 MB / 0.7201 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003949/1.149, allocations: 1.475 MB / 0.7216 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/1.15, allocations: 152.6 kB / 0.7217 GB, free: 140 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/1.15, allocations: 0 / 0.7217 GB, free: 140 MB / 490.7 MB Notification: Performance of Templates: time 0.03909/1.189, allocations: 17.48 MB / 0.7388 GB, free: 139.4 MB / 490.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)