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.008097/0.008097, allocations: 164.9 kB / 15.11 MB, free: 5.578 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.399/1.399, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001993/0.001993, allocations: 113.3 kB / 226.2 MB, free: 10.09 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.3028/0.3028, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005064, allocations: 8 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/0.4351, allocations: 82.9 MB / 494.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4354, allocations: 72.84 kB / 494.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1677/0.6031, allocations: 67.74 MB / 0.5491 GB, free: 5.934 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.6031, allocations: 4 kB / 0.5491 GB, free: 5.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001581/0.6033, allocations: 60 kB / 0.5492 GB, free: 5.871 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.009267/0.6126, allocations: 3.129 MB / 0.5522 GB, free: 2.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.6126, allocations: 8.031 kB / 0.5522 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.6262, allocations: 3.282 MB / 0.5554 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/0.633, allocations: 2.067 MB / 0.5575 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.6334, allocations: 271.1 kB / 0.5577 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.6355, allocations: 356.9 kB / 0.5581 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.6586, allocations: 9.042 MB / 0.5669 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.6588, allocations: 19.81 kB / 0.5669 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001772/0.6606, allocations: 163.8 kB / 0.5671 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001616/0.6623, allocations: 1.045 MB / 0.5681 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.68, allocations: 8.641 MB / 0.5765 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2629/0.9429, allocations: 29.11 MB / 0.6049 GB, free: 78.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.9476, allocations: 3.044 MB / 0.6079 GB, free: 77.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008629/0.9563, allocations: 4.872 MB / 0.6127 GB, free: 75.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.9563, allocations: 48.59 kB / 0.6127 GB, free: 75.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 5.069e-06/0.9563, allocations: 0 / 0.6127 GB, free: 75.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.005243/0.9616, allocations: 3.243 MB / 0.6159 GB, free: 75.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.9616, allocations: 58.47 kB / 0.6159 GB, free: 75.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.9647, allocations: 2.259 MB / 0.6181 GB, free: 74.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.9648, allocations: 40.58 kB / 0.6182 GB, free: 74.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.9663, allocations: 2.63 MB / 0.6208 GB, free: 73.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/0.9668, allocations: 0.4934 MB / 0.6212 GB, free: 73.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.9669, allocations: 85.56 kB / 0.6213 GB, free: 73.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002876/0.9672, allocations: 0.5439 MB / 0.6218 GB, free: 72.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.9688, allocations: 1.331 MB / 0.6231 GB, free: 72.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/0.9717, allocations: 4.064 MB / 0.6271 GB, free: 69.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.9746, allocations: 2.338 MB / 0.6294 GB, free: 69.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.176e-05/0.9747, allocations: 28.12 kB / 0.6294 GB, free: 69.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.008065/0.9827, allocations: 5.215 MB / 0.6345 GB, free: 68.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.9828, allocations: 52.22 kB / 0.6346 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.56e-05/0.9829, allocations: 94.69 kB / 0.6347 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.9831, allocations: 142.1 kB / 0.6348 GB, free: 68.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.9854, allocations: 0.9644 MB / 0.6357 GB, free: 68.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000114/0.9856, allocations: 195.7 kB / 0.6359 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.9882, allocations: 0.5987 MB / 0.6365 GB, free: 68.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003693/0.9886, allocations: 276.4 kB / 0.6368 GB, free: 68.3 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 () * 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.003395/0.992, allocations: 1.884 MB / 0.6386 GB, free: 67.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.9924, allocations: 214.3 kB / 0.6388 GB, free: 67.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/0.993, allocations: 269.5 kB / 0.6391 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.245e-05/0.993, allocations: 18.75 kB / 0.6391 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.993, allocations: 4.688 kB / 0.6391 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.993, allocations: 7.406 kB / 0.6391 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.004, allocations: 5.613 MB / 0.6446 GB, free: 65.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.004, allocations: 5.562 kB / 0.6446 GB, free: 65.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/1.004, allocations: 134.2 kB / 0.6447 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.004, allocations: 14.83 kB / 0.6447 GB, free: 65.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/1.004, allocations: 27.92 kB / 0.6448 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/1.004, allocations: 6.875 kB / 0.6448 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.004, allocations: 8.875 kB / 0.6448 GB, free: 65.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/1.006, allocations: 2.107 MB / 0.6468 GB, free: 64.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/1.007, allocations: 302.2 kB / 0.6471 GB, free: 64.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.007, allocations: 27.77 kB / 0.6471 GB, free: 64.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/1.008, allocations: 35.28 kB / 0.6472 GB, free: 64.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.008, allocations: 64.14 kB / 0.6472 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/1.008, allocations: 40.84 kB / 0.6473 GB, free: 64.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001839/1.01, allocations: 1.525 MB / 0.6488 GB, free: 63.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.01, allocations: 3.719 kB / 0.6488 GB, free: 63.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003594/1.013, allocations: 1.001 MB / 0.6497 GB, free: 63.23 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 () * 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.0002477/1.014, allocations: 150.5 kB / 0.6499 GB, free: 63.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003915/1.018, allocations: 3.091 MB / 0.6529 GB, free: 62.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.018, allocations: 0 / 0.6529 GB, free: 62.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008342/1.019, allocations: 0.7409 MB / 0.6536 GB, free: 61.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/1.019, allocations: 231.5 kB / 0.6539 GB, free: 61.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/1.032, allocations: 8.723 MB / 0.6624 GB, free: 57.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.035, allocations: 3.039 MB / 0.6653 GB, free: 55.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003147/1.038, allocations: 1.479 MB / 0.6668 GB, free: 55.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/1.038, allocations: 157 kB / 0.6669 GB, free: 55.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/1.038, allocations: 0 / 0.6669 GB, free: 55.82 MB / 426.7 MB Notification: Performance of Templates: time 0.03288/1.071, allocations: 17.47 MB / 0.684 GB, free: 54.8 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)