Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001474/0.001474, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.118/1.118, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001641/0.001641, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2377/0.2377, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.702e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07478, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.4586, allocations: 82.8 MB / 488.5 MB, free: 18.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.4589, allocations: 78.09 kB / 488.6 MB, free: 18.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.152/0.6109, allocations: 67.82 MB / 0.5434 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6109, allocations: 0 / 0.5434 GB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001056/0.611, allocations: 63.94 kB / 0.5434 GB, free: 12.76 MB / 362.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.006873/0.6179, allocations: 3.026 MB / 0.5464 GB, free: 9.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.618, allocations: 8.031 kB / 0.5464 GB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.6314, allocations: 3.29 MB / 0.5496 GB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00613/0.6376, allocations: 2.059 MB / 0.5516 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/0.6379, allocations: 271.1 kB / 0.5519 GB, free: 4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.6395, allocations: 359.9 kB / 0.5522 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.6556, allocations: 8.974 MB / 0.561 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.521e-05/0.6558, allocations: 15.81 kB / 0.561 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005237/0.6563, allocations: 167.8 kB / 0.5611 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/0.6576, allocations: 1.041 MB / 0.5622 GB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.6727, allocations: 8.513 MB / 0.5705 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04629/0.7191, allocations: 29.1 MB / 0.5989 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/0.7246, allocations: 3.045 MB / 0.6019 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.726, allocations: 0.9649 MB / 0.6028 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008527/0.7346, allocations: 4.869 MB / 0.6076 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.7346, allocations: 47.34 kB / 0.6076 GB, free: 9.211 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 4.338e-06/0.7347, allocations: 0 / 0.6076 GB, free: 9.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.005127/0.7398, allocations: 2.09 MB / 0.6096 GB, free: 7.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.7398, allocations: 64.12 kB / 0.6097 GB, free: 7.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.7432, allocations: 2.242 MB / 0.6119 GB, free: 4.766 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.7432, allocations: 41.69 kB / 0.6119 GB, free: 4.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.745, allocations: 2.629 MB / 0.6145 GB, free: 2.051 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.7454, allocations: 497.8 kB / 0.615 GB, free: 1.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7455, allocations: 83.98 kB / 0.6151 GB, free: 1.477 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003561/0.7459, allocations: 0.5514 MB / 0.6156 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.213/0.9589, allocations: 1.293 MB / 0.6169 GB, free: 110.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/0.9623, allocations: 4.032 MB / 0.6208 GB, free: 107.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.9652, allocations: 2.347 MB / 0.6231 GB, free: 107.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.935e-05/0.9653, allocations: 30.53 kB / 0.6231 GB, free: 107.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.008089/0.9734, allocations: 5.162 MB / 0.6282 GB, free: 106.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.9735, allocations: 46.41 kB / 0.6282 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.9737, allocations: 97.28 kB / 0.6283 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.9738, allocations: 142.6 kB / 0.6284 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.9765, allocations: 0.9703 MB / 0.6294 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001799/0.9767, allocations: 192.7 kB / 0.6296 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.9794, allocations: 0.601 MB / 0.6302 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003931/0.9798, allocations: 276.4 kB / 0.6304 GB, free: 106.5 MB / 426.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 () * 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.0004757/0.9803, allocations: 440.6 kB / 0.6308 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.9806, allocations: 210.9 kB / 0.631 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.9812, allocations: 268.2 kB / 0.6313 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.9812, allocations: 19.55 kB / 0.6313 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9812, allocations: 0 / 0.6313 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.9812, allocations: 7.578 kB / 0.6313 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008048/0.9893, allocations: 5.603 MB / 0.6368 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.9894, allocations: 9.656 kB / 0.6368 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.9899, allocations: 135.9 kB / 0.6369 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.9899, allocations: 13.69 kB / 0.6369 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.99, allocations: 22.81 kB / 0.637 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.99, allocations: 11.59 kB / 0.637 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.99, allocations: 7.016 kB / 0.637 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.992, allocations: 2.101 MB / 0.639 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.9925, allocations: 297.8 kB / 0.6393 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.9927, allocations: 27.92 kB / 0.6393 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.9933, allocations: 44.8 kB / 0.6394 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9934, allocations: 55.58 kB / 0.6394 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.9935, allocations: 41.97 kB / 0.6395 GB, free: 104.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00193/0.9954, allocations: 1.508 MB / 0.641 GB, free: 104.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9954, allocations: 0 / 0.641 GB, free: 104.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003628/0.9991, allocations: 1.005 MB / 0.6419 GB, free: 104.2 MB / 426.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.0002853/0.9994, allocations: 144 kB / 0.6421 GB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004517/1.004, allocations: 3.062 MB / 0.6451 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.004, allocations: 0 / 0.6451 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007961/1.005, allocations: 0.7315 MB / 0.6458 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.006, allocations: 230.5 kB / 0.646 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.016, allocations: 5.81 MB / 0.6517 GB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.019, allocations: 3.035 MB / 0.6546 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003148/1.022, allocations: 1.481 MB / 0.6561 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/1.022, allocations: 154.7 kB / 0.6562 GB, free: 101 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/1.022, allocations: 3.938 kB / 0.6562 GB, free: 101 MB / 426.7 MB Notification: Performance of Templates: time 0.0335/1.056, allocations: 17.5 MB / 0.6733 GB, free: 98.38 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)