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.001116/0.001116, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.576/1.576, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001659/0.001659, allocations: 109 kB / 252.6 MB, free: 4.832 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.1887/0.1887, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.692e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5232, allocations: 89.37 MB / 0.5317 GB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5236, allocations: 70.47 kB / 0.5318 GB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1941/0.7177, allocations: 67.83 MB / 0.5981 GB, free: 6.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7178, allocations: 0 / 0.5981 GB, free: 6.176 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001783/0.718, allocations: 67.94 kB / 0.5981 GB, free: 6.109 MB / 410.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.01094/0.729, allocations: 3.021 MB / 0.6011 GB, free: 3.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.729, allocations: 12.03 kB / 0.6011 GB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.7455, allocations: 3.278 MB / 0.6043 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/0.7517, allocations: 2.068 MB / 0.6063 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.7521, allocations: 271.1 kB / 0.6066 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002283/0.7544, allocations: 359.8 kB / 0.6069 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.7777, allocations: 8.974 MB / 0.6157 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.7779, allocations: 19.81 kB / 0.6157 GB, free: 3.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001939/0.7799, allocations: 159.9 kB / 0.6158 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/0.7816, allocations: 1.049 MB / 0.6169 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.8004, allocations: 8.509 MB / 0.6252 GB, free: 9.891 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04864/0.8491, allocations: 29.11 MB / 0.6536 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/0.8548, allocations: 3.049 MB / 0.6566 GB, free: 8.699 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.8564, allocations: 0.9701 MB / 0.6575 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009559/0.866, allocations: 4.88 MB / 0.6623 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.8661, allocations: 39.34 kB / 0.6623 GB, free: 2.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 4.949e-06/0.8661, allocations: 0 / 0.6623 GB, free: 2.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.005401/0.8715, allocations: 2.086 MB / 0.6644 GB, free: 460 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.8716, allocations: 60.19 kB / 0.6644 GB, free: 388 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2571/1.129, allocations: 2.239 MB / 0.6666 GB, free: 129.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/1.129, allocations: 38.5 kB / 0.6666 GB, free: 129.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/1.13, allocations: 2.637 MB / 0.6692 GB, free: 128.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006593/1.131, allocations: 494.2 kB / 0.6697 GB, free: 128.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/1.131, allocations: 85.28 kB / 0.6698 GB, free: 128.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000378/1.132, allocations: 0.5472 MB / 0.6703 GB, free: 127.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/1.134, allocations: 1.304 MB / 0.6716 GB, free: 127.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/1.137, allocations: 4.032 MB / 0.6755 GB, free: 124.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003761/1.141, allocations: 2.342 MB / 0.6778 GB, free: 124.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.562e-05/1.141, allocations: 32.22 kB / 0.6778 GB, free: 124.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.009301/1.151, allocations: 5.157 MB / 0.6829 GB, free: 123.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.837e-05/1.151, allocations: 47.88 kB / 0.6829 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/1.151, allocations: 105 kB / 0.683 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/1.151, allocations: 141.6 kB / 0.6832 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.154, allocations: 0.9685 MB / 0.6841 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000195/1.154, allocations: 187.8 kB / 0.6843 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/1.157, allocations: 0.597 MB / 0.6849 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005502/1.158, allocations: 276.5 kB / 0.6851 GB, free: 123.3 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 () * 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.000632/1.158, allocations: 446.3 kB / 0.6856 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/1.159, allocations: 210.4 kB / 0.6858 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/1.159, allocations: 270.4 kB / 0.686 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/1.159, allocations: 15.16 kB / 0.686 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.159, allocations: 0.7188 kB / 0.686 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/1.16, allocations: 4.078 kB / 0.686 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008503/1.168, allocations: 5.605 MB / 0.6915 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.168, allocations: 6.656 kB / 0.6915 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/1.169, allocations: 143 kB / 0.6916 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/1.169, allocations: 10.41 kB / 0.6917 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/1.169, allocations: 22.7 kB / 0.6917 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/1.169, allocations: 14.86 kB / 0.6917 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.169, allocations: 7.906 kB / 0.6917 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.171, allocations: 2.093 MB / 0.6937 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005438/1.171, allocations: 300.4 kB / 0.694 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/1.171, allocations: 21.25 kB / 0.6941 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/1.172, allocations: 39.38 kB / 0.6941 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.172, allocations: 60.62 kB / 0.6941 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/1.172, allocations: 44.52 kB / 0.6942 GB, free: 121.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002034/1.174, allocations: 1.51 MB / 0.6957 GB, free: 121 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.174, allocations: 0 / 0.6957 GB, free: 121 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003675/1.178, allocations: 1.007 MB / 0.6966 GB, free: 120.7 MB / 474.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.0003358/1.178, allocations: 140.5 kB / 0.6968 GB, free: 120.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004431/1.183, allocations: 3.067 MB / 0.6998 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.183, allocations: 3.281 kB / 0.6998 GB, free: 119.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006704/1.183, allocations: 0.7297 MB / 0.7005 GB, free: 119.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.184, allocations: 235.5 kB / 0.7007 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.195, allocations: 5.81 MB / 0.7064 GB, free: 117.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.198, allocations: 3.036 MB / 0.7094 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003031/1.201, allocations: 1.478 MB / 0.7108 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/1.201, allocations: 156.2 kB / 0.7109 GB, free: 116.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/1.201, allocations: 3.969 kB / 0.711 GB, free: 116.1 MB / 474.7 MB Notification: Performance of Templates: time 0.03152/1.232, allocations: 17.5 MB / 0.728 GB, free: 110.7 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)