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.0007516/0.0007514, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008526/0.0008527, allocations: 172.7 kB / 15.95 MB, free: 208 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.469/1.469, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3158/0.3158, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005264/0.0005264, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2368/0.3527, allocations: 25.88 MB / 459.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.3674, allocations: 5.331 MB / 465.2 MB, free: 33.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005296/0.3728, allocations: 111 kB / 465.3 MB, free: 33.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.3763, allocations: 1.262 MB / 466.5 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009018/0.3854, allocations: 3.527 MB / 470.1 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3864, allocations: 83.61 kB / 470.1 MB, free: 32.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.3896, allocations: 3.056 MB / 473.2 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002759/0.3923, allocations: 2.124 MB / 475.3 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.3936, allocations: 0.8962 MB / 476.2 MB, free: 31.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.3949, allocations: 1.379 MB / 477.6 MB, free: 31.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.3952, allocations: 114.4 kB / 477.7 MB, free: 31.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007955/0.396, allocations: 374.4 kB / 478.1 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008425/0.3969, allocations: 1.277 MB / 479.4 MB, free: 30.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.3974, allocations: 0.6898 MB / 480 MB, free: 30.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.4009, allocations: 4.161 MB / 484.2 MB, free: 30.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4009, allocations: 0 / 484.2 MB, free: 30.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4009, allocations: 0 / 484.2 MB, free: 30.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.401, allocations: 0 / 484.2 MB, free: 30.35 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.004254/0.4053, allocations: 2.976 MB / 487.2 MB, free: 28.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4054, allocations: 12.78 kB / 487.2 MB, free: 28.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009143/0.4145, allocations: 3.027 MB / 490.2 MB, free: 28.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.4184, allocations: 1.511 MB / 491.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4185, allocations: 170.9 kB / 491.9 MB, free: 27.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004723/0.419, allocations: 217.5 kB / 492.1 MB, free: 27.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.4384, allocations: 9.463 MB / 0.4898 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.733e-05/0.4385, allocations: 14.41 kB / 0.4898 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.4389, allocations: 108.7 kB / 0.4899 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003633/0.4425, allocations: 2.38 MB / 0.4923 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.4596, allocations: 8.632 MB / 0.5007 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04549/0.5052, allocations: 29.3 MB / 0.5293 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005755/0.511, allocations: 3.053 MB / 0.5323 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.5128, allocations: 0.9778 MB / 0.5332 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009538/0.5224, allocations: 4.834 MB / 0.538 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.5225, allocations: 43.22 kB / 0.538 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 6.192e-06/0.5225, allocations: 3.938 kB / 0.538 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005877/0.5284, allocations: 2.723 MB / 0.5407 GB, free: 12.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5285, allocations: 60.06 kB / 0.5407 GB, free: 12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.5325, allocations: 2.55 MB / 0.5432 GB, free: 9.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.5326, allocations: 41.64 kB / 0.5433 GB, free: 9.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.5343, allocations: 2.65 MB / 0.5458 GB, free: 6.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/0.5348, allocations: 499.9 kB / 0.5463 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.535, allocations: 84 kB / 0.5464 GB, free: 6.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003265/0.5353, allocations: 0.5476 MB / 0.5469 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.5371, allocations: 1.344 MB / 0.5482 GB, free: 4.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/0.5407, allocations: 4.095 MB / 0.5522 GB, free: 14.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/0.5437, allocations: 2.355 MB / 0.5545 GB, free: 12.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-05/0.5437, allocations: 28 kB / 0.5546 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007953/0.5517, allocations: 5.246 MB / 0.5597 GB, free: 7.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.5518, allocations: 52.25 kB / 0.5597 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/0.5519, allocations: 96 kB / 0.5598 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.5521, allocations: 144 kB / 0.56 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.5547, allocations: 0.9825 MB / 0.5609 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.5549, allocations: 191.3 kB / 0.5611 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.5578, allocations: 0.5953 MB / 0.5617 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004322/0.5582, allocations: 282.9 kB / 0.562 GB, free: 4.793 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.004438/0.5627, allocations: 1.898 MB / 0.5638 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000441/0.5631, allocations: 213.1 kB / 0.564 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.5637, allocations: 275.4 kB / 0.5643 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.5638, allocations: 12 kB / 0.5643 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.5638, allocations: 0 / 0.5643 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5638, allocations: 3.984 kB / 0.5643 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008963/0.5728, allocations: 5.62 MB / 0.5698 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5728, allocations: 4 kB / 0.5698 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.5734, allocations: 135.7 kB / 0.5699 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.5734, allocations: 11.95 kB / 0.5699 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/0.5735, allocations: 20 kB / 0.5699 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/0.5735, allocations: 12.55 kB / 0.57 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5735, allocations: 11.88 kB / 0.57 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.5759, allocations: 1.779 MB / 0.5717 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.5765, allocations: 301.9 kB / 0.572 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.5767, allocations: 23.95 kB / 0.572 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.5772, allocations: 39.95 kB / 0.5721 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5773, allocations: 67.05 kB / 0.5721 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/0.5774, allocations: 39.94 kB / 0.5722 GB, free: 10.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002307/0.5797, allocations: 1.545 MB / 0.5737 GB, free: 8.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5797, allocations: 0 / 0.5737 GB, free: 8.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003596/0.5833, allocations: 1.002 MB / 0.5746 GB, free: 7.578 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.0003232/0.5836, allocations: 146.7 kB / 0.5748 GB, free: 7.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004798/0.5884, allocations: 3.112 MB / 0.5778 GB, free: 4.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.5885, allocations: 0 / 0.5778 GB, free: 4.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.5894, allocations: 0.7416 MB / 0.5786 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.5906, allocations: 241.2 kB / 0.5788 GB, free: 3.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.6036, allocations: 8.825 MB / 0.5874 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/0.6067, allocations: 2.962 MB / 0.5903 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003254/0.6099, allocations: 1.481 MB / 0.5917 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.6103, allocations: 163.4 kB / 0.5919 GB, free: 5.832 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6103, allocations: 0 / 0.5919 GB, free: 5.832 MB / 462.1 MB Notification: Performance of Templates: time 0.03599/0.6463, allocations: 17.47 MB / 0.609 GB, free: 4.441 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: