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.001426/0.001426, allocations: 115.2 kB / 16.41 MB, free: 6.492 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.001261/0.001261, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2365/0.2365, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.001593/0.001593, allocations: 67.89 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1392, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01318/0.1524, allocations: 11.29 MB / 0.4989 GB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007304/0.1598, allocations: 2.781 MB / 0.5016 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.1615, allocations: 59.88 kB / 0.5017 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.1643, allocations: 1.308 MB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.1677, allocations: 1.249 MB / 0.5042 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.1682, allocations: 83.84 kB / 0.5042 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.1718, allocations: 2.764 MB / 0.5069 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.1748, allocations: 1.848 MB / 0.5087 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.1773, allocations: 1.051 MB / 0.5098 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.1798, allocations: 1.452 MB / 0.5112 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008734/0.1806, allocations: 208 kB / 0.5114 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.1826, allocations: 491.4 kB / 0.5119 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.1851, allocations: 1.414 MB / 0.5132 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.1884, allocations: 1.723 MB / 0.5149 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.1949, allocations: 5.483 MB / 0.5203 GB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1949, allocations: 0 / 0.5203 GB, free: 10.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1949, allocations: 0 / 0.5203 GB, free: 10.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.00012/0.195, allocations: 0 / 0.5203 GB, free: 10.47 MB / 414.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.005603/0.2006, allocations: 3.605 MB / 0.5238 GB, free: 6.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2007, allocations: 15.89 kB / 0.5238 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008891/0.2096, allocations: 2.947 MB / 0.5267 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/0.2126, allocations: 1.53 MB / 0.5282 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.2128, allocations: 172.6 kB / 0.5283 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004739/0.2132, allocations: 228 kB / 0.5286 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3858/0.5991, allocations: 9.466 MB / 0.5378 GB, free: 34.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.5992, allocations: 18.38 kB / 0.5378 GB, free: 34.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003775/0.5996, allocations: 106.2 kB / 0.5379 GB, free: 34.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004812/0.6044, allocations: 2.382 MB / 0.5403 GB, free: 34.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.6275, allocations: 8.661 MB / 0.5487 GB, free: 31.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03912/0.6667, allocations: 29.08 MB / 0.5771 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.6706, allocations: 3.052 MB / 0.5801 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/0.6716, allocations: 0.9772 MB / 0.581 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007591/0.6792, allocations: 4.828 MB / 0.5858 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.6793, allocations: 47.16 kB / 0.5858 GB, free: 14.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.408e-06/0.6793, allocations: 0 / 0.5858 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006211/0.6855, allocations: 2.736 MB / 0.5885 GB, free: 11.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.6856, allocations: 60.06 kB / 0.5885 GB, free: 11.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.6893, allocations: 2.569 MB / 0.591 GB, free: 8.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.6894, allocations: 37.7 kB / 0.5911 GB, free: 8.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.6921, allocations: 2.641 MB / 0.5937 GB, free: 6.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/0.6928, allocations: 0.4937 MB / 0.5941 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.6941, allocations: 0.9006 MB / 0.595 GB, free: 4.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6943, allocations: 363.5 kB / 0.5954 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.6962, allocations: 1.355 MB / 0.5967 GB, free: 2.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004322/0.7005, allocations: 4.118 MB / 0.6007 GB, free: 13.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/0.7088, allocations: 5.96 MB / 0.6065 GB, free: 6.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.421e-05/0.7089, allocations: 32 kB / 0.6066 GB, free: 6.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008802/0.7177, allocations: 5.278 MB / 0.6117 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.7178, allocations: 48 kB / 0.6118 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.718, allocations: 104 kB / 0.6119 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.7181, allocations: 128 kB / 0.612 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/0.7213, allocations: 0.9793 MB / 0.6129 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001901/0.7215, allocations: 187.3 kB / 0.6131 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/0.7249, allocations: 0.6029 MB / 0.6137 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.7252, allocations: 280 kB / 0.614 GB, free: 14.41 MB / 462.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.002787/0.728, allocations: 1.895 MB / 0.6158 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.7283, allocations: 213.2 kB / 0.616 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.7288, allocations: 271.4 kB / 0.6163 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/0.7289, allocations: 19.98 kB / 0.6163 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.7289, allocations: 4 kB / 0.6163 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.7289, allocations: 5.859 kB / 0.6163 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008661/0.7376, allocations: 5.619 MB / 0.6218 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.7376, allocations: 4.062 kB / 0.6218 GB, free: 6.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.7382, allocations: 143.7 kB / 0.6219 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.7382, allocations: 8 kB / 0.622 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.852e-05/0.7383, allocations: 23.98 kB / 0.622 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.7383, allocations: 8 kB / 0.622 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7383, allocations: 7.938 kB / 0.622 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.7405, allocations: 1.788 MB / 0.6237 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.7411, allocations: 286 kB / 0.624 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.7413, allocations: 19.98 kB / 0.624 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.7419, allocations: 39.95 kB / 0.6241 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.742, allocations: 60.38 kB / 0.6241 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.7421, allocations: 43.98 kB / 0.6242 GB, free: 3.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002408/0.7445, allocations: 1.56 MB / 0.6257 GB, free: 2.164 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7445, allocations: 0 / 0.6257 GB, free: 2.164 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004176/0.7487, allocations: 1.016 MB / 0.6267 GB, free: 1.148 MB / 462.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.0003688/0.7491, allocations: 137.6 kB / 0.6268 GB, free: 1.008 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005299/0.7544, allocations: 3.155 MB / 0.6299 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.7544, allocations: 7.938 kB / 0.6299 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.7554, allocations: 0.7453 MB / 0.6306 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.7569, allocations: 256 kB / 0.6309 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.7718, allocations: 7.168 MB / 0.6379 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/0.7752, allocations: 2.966 MB / 0.6408 GB, free: 2.641 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003288/0.7785, allocations: 1.488 MB / 0.6422 GB, free: 1.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.7789, allocations: 155.4 kB / 0.6424 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of SimCode: time 1.834e-06/0.7789, allocations: 0 / 0.6424 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of Templates: time 0.03818/0.8171, allocations: 16.54 MB / 0.6585 GB, free: 480 kB / 494.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)