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.001007/0.001007, 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.001636/0.001636, 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.741/1.741, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.3993/0.3993, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0008918/0.0008919, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1509, allocations: 57.52 MB / 433.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.318/0.469, allocations: 24.52 MB / 458.4 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01729/0.4864, allocations: 5.562 MB / 464 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007716/0.4942, allocations: 115.2 kB / 464.1 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007039/0.5012, allocations: 1.266 MB / 465.4 MB, free: 32.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.5161, allocations: 3.614 MB / 469 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.5177, allocations: 86.39 kB / 469.1 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.5226, allocations: 1.5 MB / 470.6 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004424/0.5271, allocations: 2.138 MB / 472.7 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.5297, allocations: 0.7388 MB / 473.5 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.5318, allocations: 0.9782 MB / 474.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008424/0.5327, allocations: 120.6 kB / 474.6 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.5341, allocations: 364.7 kB / 474.9 MB, free: 31.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002019/0.5362, allocations: 1.184 MB / 476.1 MB, free: 31.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.5374, allocations: 0.688 MB / 476.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.542, allocations: 4.159 MB / 480.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.542, allocations: 0 / 480.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.542, allocations: 0 / 480.9 MB, free: 30.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002546/0.5423, allocations: 0 / 480.9 MB, free: 30.73 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.005332/0.5476, allocations: 2.984 MB / 483.9 MB, free: 29.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5477, allocations: 9.562 kB / 483.9 MB, free: 29.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.5598, allocations: 3.575 MB / 487.5 MB, free: 28.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/0.5644, allocations: 1.507 MB / 489 MB, free: 28.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.5646, allocations: 169.2 kB / 489.2 MB, free: 28.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.566, allocations: 223 kB / 489.4 MB, free: 28.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02265/0.5887, allocations: 9.498 MB / 498.9 MB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.5889, allocations: 14.97 kB / 498.9 MB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001632/0.5906, allocations: 106.2 kB / 499 MB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006316/0.5969, allocations: 2.376 MB / 0.4896 GB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02226/0.6192, allocations: 8.693 MB / 0.4981 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06057/0.6798, allocations: 29.35 MB / 0.5268 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005828/0.6857, allocations: 3.061 MB / 0.5298 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.6963, allocations: 4.86 MB / 0.5345 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.6964, allocations: 47.16 kB / 0.5346 GB, free: 2.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 6.483e-06/0.6964, allocations: 0 / 0.5346 GB, free: 2.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.006787/0.7032, allocations: 3.247 MB / 0.5377 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.7032, allocations: 60.06 kB / 0.5378 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.7075, allocations: 2.55 MB / 0.5403 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.7076, allocations: 41.7 kB / 0.5403 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.7099, allocations: 2.642 MB / 0.5429 GB, free: 9.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.7106, allocations: 0.4922 MB / 0.5434 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002703/0.7108, allocations: 90.67 kB / 0.5435 GB, free: 8.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004581/0.7113, allocations: 0.5476 MB / 0.544 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.7134, allocations: 1.34 MB / 0.5453 GB, free: 7.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003937/0.7173, allocations: 4.079 MB / 0.5493 GB, free: 1.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/0.7208, allocations: 2.359 MB / 0.5516 GB, free: 15.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-05/0.7209, allocations: 28 kB / 0.5516 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008055/0.7289, allocations: 5.25 MB / 0.5568 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.729, allocations: 44 kB / 0.5568 GB, free: 9.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.372e-05/0.7291, allocations: 100 kB / 0.5569 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.7293, allocations: 144 kB / 0.557 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/0.732, allocations: 0.9825 MB / 0.558 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/0.7321, allocations: 187.3 kB / 0.5582 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.7349, allocations: 0.6072 MB / 0.5588 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/0.7352, allocations: 272 kB / 0.559 GB, free: 7.621 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.003012/0.7382, allocations: 1.894 MB / 0.5609 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/0.7385, allocations: 217.1 kB / 0.5611 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.739, allocations: 271.4 kB / 0.5613 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/0.7391, allocations: 19.28 kB / 0.5614 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.7391, allocations: 0 / 0.5614 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.7391, allocations: 3.984 kB / 0.5614 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008638/0.7477, allocations: 5.597 MB / 0.5668 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.7478, allocations: 4 kB / 0.5668 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.7483, allocations: 140.3 kB / 0.567 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.7483, allocations: 11.95 kB / 0.567 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.7484, allocations: 30.58 kB / 0.567 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-05/0.7484, allocations: 11.98 kB / 0.567 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.7485, allocations: 7.938 kB / 0.567 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.7508, allocations: 2.112 MB / 0.5691 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.7513, allocations: 305.8 kB / 0.5694 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.7515, allocations: 16 kB / 0.5694 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.7521, allocations: 43.89 kB / 0.5694 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7522, allocations: 66.73 kB / 0.5695 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.7523, allocations: 39.98 kB / 0.5695 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002219/0.7545, allocations: 1.545 MB / 0.5711 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7546, allocations: 3.938 kB / 0.5711 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003554/0.7581, allocations: 1.006 MB / 0.572 GB, free: 9.949 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.0002899/0.7584, allocations: 141.8 kB / 0.5722 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004548/0.763, allocations: 3.116 MB / 0.5752 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.763, allocations: 0 / 0.5752 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.7639, allocations: 0.7375 MB / 0.5759 GB, free: 5.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.7649, allocations: 238.4 kB / 0.5762 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.7797, allocations: 8.787 MB / 0.5847 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/0.7836, allocations: 3.038 MB / 0.5877 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003678/0.7873, allocations: 1.484 MB / 0.5892 GB, free: 8.328 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.7877, allocations: 155.4 kB / 0.5893 GB, free: 8.176 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.7877, allocations: 4 kB / 0.5893 GB, free: 8.172 MB / 462.1 MB Notification: Performance of Templates: time 0.05915/0.8468, allocations: 17.46 MB / 0.6064 GB, free: 6.797 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: