Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 184 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.2 MB / 218.9 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 90.53 kB / 267 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3125/0.3125, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.517e-05, allocations: 8 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2975/0.4, allocations: 96.4 MB / 0.5669 GB, free: 8.609 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4003, allocations: 73.25 kB / 0.567 GB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1543/0.5546, allocations: 68.73 MB / 0.6341 GB, free: 3.215 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5547, allocations: 0 / 0.6341 GB, free: 3.215 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001017/0.5548, allocations: 60 kB / 0.6342 GB, free: 3.156 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.005295/0.5601, allocations: 3.044 MB / 0.6372 GB, free: 60 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5601, allocations: 12.03 kB / 0.6372 GB, free: 48 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.5722, allocations: 3.285 MB / 0.6404 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.5762, allocations: 2.078 MB / 0.6424 GB, free: 10.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.5765, allocations: 279.1 kB / 0.6427 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008501/0.5773, allocations: 351.9 kB / 0.643 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.5906, allocations: 8.979 MB / 0.6518 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-05/0.5907, allocations: 19.81 kB / 0.6518 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004682/0.5911, allocations: 163.9 kB / 0.652 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.5923, allocations: 1.049 MB / 0.653 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.6068, allocations: 8.522 MB / 0.6613 GB, free: 6.891 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2532/0.8601, allocations: 29.21 MB / 0.6898 GB, free: 89.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.8639, allocations: 3.044 MB / 0.6928 GB, free: 88.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000981/0.8649, allocations: 0.9728 MB / 0.6937 GB, free: 88.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006344/0.8713, allocations: 4.874 MB / 0.6985 GB, free: 86.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.8713, allocations: 41.72 kB / 0.6985 GB, free: 86.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 2.665e-06/0.8713, allocations: 3.969 kB / 0.6986 GB, free: 86.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.003951/0.8753, allocations: 2.094 MB / 0.7006 GB, free: 86.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.8753, allocations: 62.09 kB / 0.7007 GB, free: 86.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.8777, allocations: 2.262 MB / 0.7029 GB, free: 86.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.8777, allocations: 42.09 kB / 0.7029 GB, free: 86.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/0.8787, allocations: 2.645 MB / 0.7055 GB, free: 84.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.8789, allocations: 0.4914 MB / 0.706 GB, free: 84.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.8791, allocations: 81.38 kB / 0.706 GB, free: 84.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.8793, allocations: 0.5533 MB / 0.7066 GB, free: 84.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.8806, allocations: 1.306 MB / 0.7079 GB, free: 84.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.8828, allocations: 4.057 MB / 0.7118 GB, free: 80.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.8851, allocations: 2.355 MB / 0.7141 GB, free: 80.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.421e-05/0.8851, allocations: 25.69 kB / 0.7141 GB, free: 80.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.006063/0.8912, allocations: 5.181 MB / 0.7192 GB, free: 79.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.8913, allocations: 47.12 kB / 0.7193 GB, free: 79.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.8914, allocations: 100.5 kB / 0.7193 GB, free: 79.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.8915, allocations: 146.2 kB / 0.7195 GB, free: 79.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.8939, allocations: 0.9737 MB / 0.7204 GB, free: 79.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001297/0.8941, allocations: 191.8 kB / 0.7206 GB, free: 79.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.8964, allocations: 0.6039 MB / 0.7212 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/0.8968, allocations: 275.6 kB / 0.7215 GB, free: 79.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (538): * Single equations (assignments): 532 * 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.0004379/0.8973, allocations: 445.4 kB / 0.7219 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.8975, allocations: 211.4 kB / 0.7221 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.898, allocations: 271.1 kB / 0.7224 GB, free: 78.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/0.898, allocations: 17.19 kB / 0.7224 GB, free: 78.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.8981, allocations: 4.75 kB / 0.7224 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.8981, allocations: 3.328 kB / 0.7224 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/0.9061, allocations: 5.624 MB / 0.7279 GB, free: 76.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9062, allocations: 4.719 kB / 0.7279 GB, free: 76.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.9067, allocations: 139.2 kB / 0.728 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.9068, allocations: 7.594 kB / 0.728 GB, free: 76.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.446e-05/0.9068, allocations: 25.89 kB / 0.728 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/0.9068, allocations: 11.86 kB / 0.7281 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.9069, allocations: 6.219 kB / 0.7281 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.9089, allocations: 2.107 MB / 0.7301 GB, free: 75.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/0.9093, allocations: 300.7 kB / 0.7304 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.9095, allocations: 15.91 kB / 0.7304 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.9101, allocations: 36.45 kB / 0.7305 GB, free: 74.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.9102, allocations: 71.45 kB / 0.7305 GB, free: 74.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.9102, allocations: 38.17 kB / 0.7306 GB, free: 74.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00181/0.9121, allocations: 1.527 MB / 0.7321 GB, free: 74.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9121, allocations: 0 / 0.7321 GB, free: 74.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002985/0.9151, allocations: 1.017 MB / 0.733 GB, free: 73.87 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 () * 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.0002792/0.9153, allocations: 143.9 kB / 0.7332 GB, free: 73.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.9189, allocations: 3.069 MB / 0.7362 GB, free: 72.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.9189, allocations: 4 kB / 0.7362 GB, free: 72.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.9196, allocations: 0.7335 MB / 0.7369 GB, free: 72.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.9203, allocations: 234.5 kB / 0.7371 GB, free: 72.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007864/0.9282, allocations: 5.839 MB / 0.7428 GB, free: 70.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/0.9306, allocations: 3.047 MB / 0.7458 GB, free: 69.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002765/0.9333, allocations: 1.48 MB / 0.7472 GB, free: 69.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.9336, allocations: 157.2 kB / 0.7474 GB, free: 68.99 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.9337, allocations: 0 / 0.7474 GB, free: 68.99 MB / 490.7 MB Notification: Performance of Templates: time 0.02793/0.9616, allocations: 17.64 MB / 0.7646 GB, free: 67.91 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)