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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001641/0.001641, allocations: 191.5 kB / 16.13 MB, free: 6.66 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.775/1.775, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3514/0.3514, allocations: 37.97 MB / 307.3 MB, free: 9.922 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.1. 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.001904/0.001904, allocations: 67.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1621, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.3192/0.4814, allocations: 28.69 MB / 459.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.4962, allocations: 5.618 MB / 465.3 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007444/0.5037, allocations: 113.1 kB / 465.4 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.507, allocations: 1.272 MB / 466.7 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003646/0.5107, allocations: 1.153 MB / 467.9 MB, free: 33.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.5112, allocations: 71.3 kB / 467.9 MB, free: 33.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.5157, allocations: 4.037 MB / 472 MB, free: 31.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002993/0.5187, allocations: 1.833 MB / 473.8 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.5207, allocations: 0.9112 MB / 474.7 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.5234, allocations: 1.534 MB / 476.2 MB, free: 30.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008704/0.5243, allocations: 151.7 kB / 476.4 MB, free: 30.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.5257, allocations: 453.9 kB / 476.8 MB, free: 30.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.5268, allocations: 1.373 MB / 478.2 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.5281, allocations: 1.675 MB / 479.9 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.5321, allocations: 5.147 MB / 485 MB, free: 27.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5322, allocations: 3.188 kB / 485 MB, free: 27.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5322, allocations: 4 kB / 485 MB, free: 27.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.5323, allocations: 0 / 485 MB, free: 27.16 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.005125/0.5374, allocations: 3.6 MB / 488.6 MB, free: 25.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5375, allocations: 13.59 kB / 488.7 MB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009547/0.547, allocations: 2.937 MB / 491.6 MB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.5509, allocations: 1.531 MB / 493.1 MB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.5511, allocations: 176.2 kB / 493.3 MB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007003/0.5518, allocations: 219.6 kB / 493.5 MB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.5703, allocations: 9.473 MB / 0.4912 GB, free: 19.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.5705, allocations: 18.03 kB / 0.4912 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/0.5716, allocations: 107.9 kB / 0.4913 GB, free: 19.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004168/0.5758, allocations: 2.372 MB / 0.4936 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.5944, allocations: 8.674 MB / 0.5021 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/0.6433, allocations: 29.29 MB / 0.5307 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005551/0.6489, allocations: 3.061 MB / 0.5337 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.6505, allocations: 0.9894 MB / 0.5347 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009596/0.6601, allocations: 4.83 MB / 0.5394 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/0.6602, allocations: 47.14 kB / 0.5394 GB, free: 10.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.749e-06/0.6603, allocations: 0 / 0.5394 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006591/0.6669, allocations: 2.734 MB / 0.5421 GB, free: 7.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.667, allocations: 64.06 kB / 0.5421 GB, free: 7.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/0.6727, allocations: 2.565 MB / 0.5447 GB, free: 4.871 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.6728, allocations: 37.7 kB / 0.5447 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/0.6752, allocations: 2.645 MB / 0.5473 GB, free: 2.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006968/0.6759, allocations: 0.4897 MB / 0.5477 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/0.6777, allocations: 0.9026 MB / 0.5486 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.6779, allocations: 361.8 kB / 0.549 GB, free: 432 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.6801, allocations: 1.352 MB / 0.5503 GB, free: 15.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004139/0.6842, allocations: 4.122 MB / 0.5543 GB, free: 9.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006894/0.6911, allocations: 5.964 MB / 0.5601 GB, free: 2.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/0.6913, allocations: 28 kB / 0.5602 GB, free: 2.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.013/0.7043, allocations: 5.285 MB / 0.5653 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.7045, allocations: 48 kB / 0.5654 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002601/0.7048, allocations: 100 kB / 0.5655 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.705, allocations: 128 kB / 0.5656 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/0.7084, allocations: 0.9785 MB / 0.5666 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002083/0.7086, allocations: 191.3 kB / 0.5667 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.7129, allocations: 0.611 MB / 0.5673 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009401/0.7138, allocations: 282.8 kB / 0.5676 GB, free: 10.57 MB / 446.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.004307/0.7182, allocations: 1.887 MB / 0.5694 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/0.7187, allocations: 213.1 kB / 0.5696 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.7196, allocations: 275.4 kB / 0.5699 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-05/0.7196, allocations: 14.5 kB / 0.5699 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.7196, allocations: 0 / 0.5699 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.7197, allocations: 3.984 kB / 0.5699 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.7351, allocations: 5.611 MB / 0.5754 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/0.7352, allocations: 4 kB / 0.5754 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.7359, allocations: 143.7 kB / 0.5755 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.633e-05/0.736, allocations: 8.562 kB / 0.5756 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.7361, allocations: 24 kB / 0.5756 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/0.7361, allocations: 8 kB / 0.5756 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/0.7362, allocations: 11.92 kB / 0.5756 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.7393, allocations: 1.791 MB / 0.5773 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.74, allocations: 286.1 kB / 0.5776 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.7405, allocations: 16 kB / 0.5776 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.7416, allocations: 39.95 kB / 0.5777 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.7418, allocations: 64.38 kB / 0.5777 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.7419, allocations: 37.95 kB / 0.5778 GB, free: 15.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003702/0.7456, allocations: 1.56 MB / 0.5793 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.705e-06/0.7456, allocations: 0 / 0.5793 GB, free: 14.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005279/0.7509, allocations: 1.013 MB / 0.5803 GB, free: 13.34 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.0005242/0.7515, allocations: 153.9 kB / 0.5804 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006075/0.7576, allocations: 3.132 MB / 0.5835 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.7576, allocations: 0 / 0.5835 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.7588, allocations: 0.745 MB / 0.5842 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.7612, allocations: 252.1 kB / 0.5845 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/0.7814, allocations: 9.16 MB / 0.5934 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006065/0.7876, allocations: 2.966 MB / 0.5963 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004307/0.7919, allocations: 1.481 MB / 0.5977 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000618/0.7925, allocations: 155.4 kB / 0.5979 GB, free: 11.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7925, allocations: 0 / 0.5979 GB, free: 11.23 MB / 478.1 MB Notification: Performance of Templates: time 0.03933/0.8319, allocations: 17.9 MB / 0.6154 GB, free: 9.438 MB / 494.1 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)