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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001494/0.001494, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4021/0.4021, allocations: 40 MB / 310.4 MB, free: 9.938 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008632/0.0008634, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1404, allocations: 57.95 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2578/0.3982, allocations: 24.52 MB / 461.3 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.4118, allocations: 5.571 MB / 466.8 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.4166, allocations: 111.2 kB / 467 MB, free: 32.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.4208, allocations: 1.261 MB / 468.2 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4315, allocations: 3.619 MB / 471.8 MB, free: 32.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4327, allocations: 87.39 kB / 471.9 MB, free: 32.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.4353, allocations: 1.503 MB / 473.4 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.4379, allocations: 2.129 MB / 475.6 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009267/0.4388, allocations: 0.7406 MB / 476.3 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.4399, allocations: 0.9816 MB / 477.3 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.4402, allocations: 117.2 kB / 477.4 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.4411, allocations: 366 kB / 477.7 MB, free: 31.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009426/0.4421, allocations: 1.185 MB / 478.9 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.4427, allocations: 0.6858 MB / 479.6 MB, free: 31.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.4464, allocations: 4.161 MB / 483.8 MB, free: 30.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4464, allocations: 0 / 483.8 MB, free: 30.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4464, allocations: 4 kB / 483.8 MB, free: 30.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001345/0.4465, allocations: 0 / 483.8 MB, free: 30.58 MB / 382.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.004447/0.451, allocations: 2.981 MB / 486.8 MB, free: 28.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4511, allocations: 9.188 kB / 486.8 MB, free: 28.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.4633, allocations: 3.576 MB / 490.4 MB, free: 28.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.4676, allocations: 1.502 MB / 491.9 MB, free: 27.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4678, allocations: 171.8 kB / 492 MB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008881/0.4687, allocations: 228.7 kB / 492.2 MB, free: 27.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.4875, allocations: 9.491 MB / 0.49 GB, free: 23.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.494e-05/0.4876, allocations: 16.72 kB / 0.49 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.488, allocations: 108.2 kB / 0.4901 GB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00389/0.4919, allocations: 2.379 MB / 0.4924 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.5087, allocations: 8.688 MB / 0.5009 GB, free: 19.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04385/0.5526, allocations: 29.35 MB / 0.5296 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/0.5579, allocations: 3.061 MB / 0.5326 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009893/0.5679, allocations: 4.87 MB / 0.5373 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.568, allocations: 39.2 kB / 0.5373 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.027e-06/0.568, allocations: 0 / 0.5373 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006542/0.5745, allocations: 3.241 MB / 0.5405 GB, free: 11.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.5746, allocations: 64 kB / 0.5406 GB, free: 11.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/0.5787, allocations: 2.553 MB / 0.5431 GB, free: 8.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.5788, allocations: 48.12 kB / 0.5431 GB, free: 8.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.5808, allocations: 2.639 MB / 0.5457 GB, free: 6.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005609/0.5814, allocations: 0.497 MB / 0.5462 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.5815, allocations: 86.58 kB / 0.5463 GB, free: 5.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000351/0.5819, allocations: 0.5437 MB / 0.5468 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/0.5839, allocations: 1.336 MB / 0.5481 GB, free: 3.684 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/0.5881, allocations: 4.087 MB / 0.5521 GB, free: 14.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.5913, allocations: 2.359 MB / 0.5544 GB, free: 11.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/0.5914, allocations: 28 kB / 0.5544 GB, free: 11.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008818/0.6002, allocations: 5.243 MB / 0.5595 GB, free: 6.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.6004, allocations: 48 kB / 0.5596 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.6005, allocations: 96 kB / 0.5597 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.6006, allocations: 148.7 kB / 0.5598 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.6036, allocations: 0.9708 MB / 0.5608 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002105/0.6038, allocations: 199.2 kB / 0.561 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/0.609, allocations: 0.6052 MB / 0.5615 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009469/0.61, allocations: 280 kB / 0.5618 GB, free: 4.23 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00454/0.6145, allocations: 1.886 MB / 0.5636 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005019/0.615, allocations: 217 kB / 0.5639 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.6156, allocations: 275.4 kB / 0.5641 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/0.6157, allocations: 16 kB / 0.5641 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.6157, allocations: 0 / 0.5641 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.6157, allocations: 3.984 kB / 0.5641 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009751/0.6254, allocations: 5.599 MB / 0.5696 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.6255, allocations: 8 kB / 0.5696 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.6261, allocations: 139.7 kB / 0.5697 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.6261, allocations: 11.95 kB / 0.5698 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.6262, allocations: 24 kB / 0.5698 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.6262, allocations: 12 kB / 0.5698 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.6262, allocations: 7.938 kB / 0.5698 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.6286, allocations: 2.113 MB / 0.5719 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.6292, allocations: 309.9 kB / 0.5722 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.6294, allocations: 16 kB / 0.5722 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005905/0.63, allocations: 39.95 kB / 0.5722 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6301, allocations: 63.2 kB / 0.5723 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.6302, allocations: 40 kB / 0.5723 GB, free: 9.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002252/0.6325, allocations: 1.545 MB / 0.5738 GB, free: 7.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6325, allocations: 0 / 0.5738 GB, free: 7.578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003748/0.6362, allocations: 1.005 MB / 0.5748 GB, free: 6.57 MB / 446.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 (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.0003356/0.6366, allocations: 153.6 kB / 0.5749 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004861/0.6415, allocations: 3.109 MB / 0.578 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6415, allocations: 0 / 0.578 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000897/0.6424, allocations: 0.7451 MB / 0.5787 GB, free: 2.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.6435, allocations: 238.4 kB / 0.5789 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.6564, allocations: 8.782 MB / 0.5875 GB, free: 9.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/0.66, allocations: 3.044 MB / 0.5905 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003665/0.6637, allocations: 1.481 MB / 0.5919 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.6641, allocations: 159.4 kB / 0.5921 GB, free: 4.793 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6641, allocations: 0 / 0.5921 GB, free: 4.793 MB / 462.1 MB Notification: Performance of Templates: time 0.03857/0.7027, allocations: 17.46 MB / 0.6091 GB, free: 3.422 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: