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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 105.7 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 190.5 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2089/0.2089, allocations: 43.51 MB / 314.3 MB, free: 0.6914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 69.59 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1062, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02602/0.1322, allocations: 28.7 MB / 469.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1454, allocations: 5.574 MB / 474.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004947/0.1504, allocations: 115.8 kB / 475 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003147/0.1536, allocations: 1.238 MB / 476.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.1568, allocations: 1.137 MB / 477.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.1574, allocations: 75.92 kB / 477.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003973/0.1614, allocations: 2.764 MB / 480.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.1645, allocations: 1.946 MB / 482.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.1664, allocations: 1.059 MB / 483.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.1687, allocations: 1.596 MB / 484.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005686/0.1693, allocations: 208 kB / 485.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1704, allocations: 495.3 kB / 485.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001288/0.1717, allocations: 1.418 MB / 487 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001889/0.1736, allocations: 1.739 MB / 488.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.1784, allocations: 4.304 MB / 493 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1784, allocations: 0 / 493 MB, free: 2.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1784, allocations: 0 / 493 MB, free: 2.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001611/0.1786, allocations: 0 / 493 MB, free: 2.773 MB / 366.1 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.006275/0.1849, allocations: 3.601 MB / 496.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1849, allocations: 11.89 kB / 496.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009536/0.1945, allocations: 2.944 MB / 499.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.1978, allocations: 1.522 MB / 0.4893 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.198, allocations: 168.7 kB / 0.4895 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005641/0.1986, allocations: 224 kB / 0.4897 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01389/0.2125, allocations: 9.476 MB / 0.499 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/0.2126, allocations: 19.81 kB / 0.499 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.2129, allocations: 111.8 kB / 0.4991 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.2165, allocations: 2.373 MB / 0.5014 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.2318, allocations: 8.672 MB / 0.5099 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2409/0.4727, allocations: 29.29 MB / 0.5385 GB, free: 72.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/0.4775, allocations: 3.047 MB / 0.5415 GB, free: 71.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4788, allocations: 0.9808 MB / 0.5424 GB, free: 71.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00832/0.4872, allocations: 4.847 MB / 0.5471 GB, free: 69.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.4873, allocations: 41.44 kB / 0.5472 GB, free: 69.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.779e-06/0.4873, allocations: 2.781 kB / 0.5472 GB, free: 69.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005832/0.4931, allocations: 2.741 MB / 0.5499 GB, free: 69.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.4932, allocations: 59.94 kB / 0.5499 GB, free: 69.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/0.4968, allocations: 2.563 MB / 0.5524 GB, free: 68.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.4969, allocations: 37.67 kB / 0.5525 GB, free: 68.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.4981, allocations: 2.645 MB / 0.555 GB, free: 66.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.4985, allocations: 0.4917 MB / 0.5555 GB, free: 65.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009755/0.4995, allocations: 0.9045 MB / 0.5564 GB, free: 65.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.4996, allocations: 350.6 kB / 0.5567 GB, free: 65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.5012, allocations: 1.358 MB / 0.5581 GB, free: 64.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.5037, allocations: 4.108 MB / 0.5621 GB, free: 60.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/0.5082, allocations: 5.97 MB / 0.5679 GB, free: 55.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.856e-05/0.5083, allocations: 28.28 kB / 0.5679 GB, free: 55.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006761/0.515, allocations: 5.287 MB / 0.5731 GB, free: 51.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.5151, allocations: 51.94 kB / 0.5732 GB, free: 51.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.5153, allocations: 96 kB / 0.5732 GB, free: 51.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.5154, allocations: 128 kB / 0.5734 GB, free: 51.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.5178, allocations: 0.9799 MB / 0.5743 GB, free: 50.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/0.5179, allocations: 191.2 kB / 0.5745 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.5207, allocations: 0.6032 MB / 0.5751 GB, free: 49.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/0.5211, allocations: 287.3 kB / 0.5754 GB, free: 49.42 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002515/0.5237, allocations: 1.889 MB / 0.5772 GB, free: 47.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.524, allocations: 217.1 kB / 0.5774 GB, free: 47.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.5244, allocations: 275.3 kB / 0.5777 GB, free: 47.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.5245, allocations: 19.94 kB / 0.5777 GB, free: 47.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5245, allocations: 0 / 0.5777 GB, free: 47.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5245, allocations: 3.984 kB / 0.5777 GB, free: 47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008316/0.5328, allocations: 5.612 MB / 0.5832 GB, free: 41.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5329, allocations: 4 kB / 0.5832 GB, free: 41.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.5334, allocations: 147 kB / 0.5833 GB, free: 41.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.5334, allocations: 8.562 kB / 0.5833 GB, free: 41.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.5335, allocations: 27.59 kB / 0.5834 GB, free: 41.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.5335, allocations: 13.17 kB / 0.5834 GB, free: 41.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5335, allocations: 8 kB / 0.5834 GB, free: 41.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.5352, allocations: 1.778 MB / 0.5851 GB, free: 39.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/0.5357, allocations: 294 kB / 0.5854 GB, free: 38.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/0.5361, allocations: 16 kB / 0.5854 GB, free: 38.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/0.5368, allocations: 39.55 kB / 0.5855 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5369, allocations: 64.38 kB / 0.5855 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.537, allocations: 43.98 kB / 0.5856 GB, free: 38.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001967/0.539, allocations: 1.553 MB / 0.5871 GB, free: 37.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.539, allocations: 0 / 0.5871 GB, free: 37.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00356/0.5426, allocations: 1.019 MB / 0.5881 GB, free: 36.2 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003486/0.5429, allocations: 153.6 kB / 0.5882 GB, free: 36.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005215/0.5481, allocations: 3.953 MB / 0.5921 GB, free: 32.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.5482, allocations: 0 / 0.5921 GB, free: 32.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.5489, allocations: 0.7386 MB / 0.5928 GB, free: 31.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.5503, allocations: 261.4 kB / 0.593 GB, free: 31.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.5631, allocations: 9.575 MB / 0.6024 GB, free: 21.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/0.5665, allocations: 2.973 MB / 0.6053 GB, free: 18.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005963/0.5671, allocations: 195.4 kB / 0.6055 GB, free: 18.31 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5671, allocations: 4 kB / 0.6055 GB, free: 18.3 MB / 414.1 MB Notification: Performance of Templates: time 0.06026/0.6274, allocations: 41.94 MB / 0.6465 GB, free: 8.41 MB / 446.1 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)