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.00893/0.00893, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001862/0.001862, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.344/0.344, allocations: 39.94 MB / 309.8 MB, free: 9.41 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.002593/0.002593, allocations: 67.91 kB / 435.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3336, allocations: 56.88 MB / 492.6 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01049/0.3441, allocations: 11.29 MB / 0.4921 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00764/0.3518, allocations: 2.788 MB / 0.4948 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.3542, allocations: 53.47 kB / 0.4949 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.3574, allocations: 1.308 MB / 0.4962 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.3624, allocations: 1.215 MB / 0.4974 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3629, allocations: 83.12 kB / 0.4974 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.3678, allocations: 2.745 MB / 0.5001 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.3711, allocations: 1.855 MB / 0.5019 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.3736, allocations: 1.055 MB / 0.503 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.376, allocations: 1.447 MB / 0.5044 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006952/0.3767, allocations: 208.6 kB / 0.5046 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.378, allocations: 488.7 kB / 0.505 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.3794, allocations: 1.415 MB / 0.5064 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.3812, allocations: 1.713 MB / 0.5081 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006544/0.3877, allocations: 5.477 MB / 0.5134 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3878, allocations: 1.344 kB / 0.5134 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3878, allocations: 0 / 0.5134 GB, free: 14.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.388, allocations: 4 kB / 0.5134 GB, free: 14.1 MB / 398.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.008489/0.3965, allocations: 3.609 MB / 0.517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.3966, allocations: 13.27 kB / 0.517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/0.407, allocations: 2.94 MB / 0.5199 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.4116, allocations: 1.533 MB / 0.5213 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4118, allocations: 176.6 kB / 0.5215 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/0.4124, allocations: 228 kB / 0.5217 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.4277, allocations: 9.468 MB / 0.531 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.4278, allocations: 19.86 kB / 0.531 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.4281, allocations: 107.8 kB / 0.5311 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00379/0.4319, allocations: 2.377 MB / 0.5334 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.4501, allocations: 8.669 MB / 0.5419 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.053/0.5032, allocations: 29.08 MB / 0.5703 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.5089, allocations: 3.053 MB / 0.5733 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.5106, allocations: 0.9809 MB / 0.5742 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009827/0.5205, allocations: 4.826 MB / 0.5789 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.5206, allocations: 43.22 kB / 0.579 GB, free: 10.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.098e-06/0.5206, allocations: 0 / 0.579 GB, free: 10.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006662/0.5273, allocations: 2.732 MB / 0.5817 GB, free: 7.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.5274, allocations: 60.06 kB / 0.5817 GB, free: 7.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006734/0.5341, allocations: 2.565 MB / 0.5842 GB, free: 4.801 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.5343, allocations: 41.69 kB / 0.5843 GB, free: 4.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/0.5369, allocations: 2.649 MB / 0.5868 GB, free: 2.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00083/0.5377, allocations: 0.4899 MB / 0.5873 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.5392, allocations: 0.9005 MB / 0.5882 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.5394, allocations: 365.8 kB / 0.5885 GB, free: 300 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.5415, allocations: 1.352 MB / 0.5899 GB, free: 14.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/0.5455, allocations: 4.114 MB / 0.5939 GB, free: 9.426 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/0.5523, allocations: 5.972 MB / 0.5997 GB, free: 2.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-05/0.5524, allocations: 28 kB / 0.5997 GB, free: 2.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009278/0.5617, allocations: 5.283 MB / 0.6049 GB, free: 12.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.5618, allocations: 48 kB / 0.6049 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.5619, allocations: 99.98 kB / 0.605 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.5621, allocations: 128 kB / 0.6052 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.5648, allocations: 0.9747 MB / 0.6061 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000139/0.5649, allocations: 191.2 kB / 0.6063 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/0.568, allocations: 0.5953 MB / 0.6069 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/0.5684, allocations: 288 kB / 0.6072 GB, free: 10.44 MB / 494.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.003878/0.5723, allocations: 1.891 MB / 0.609 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/0.5727, allocations: 213.1 kB / 0.6092 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.5733, allocations: 275.4 kB / 0.6095 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/0.5733, allocations: 12 kB / 0.6095 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.5733, allocations: 4 kB / 0.6095 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5733, allocations: 3.984 kB / 0.6095 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009599/0.5829, allocations: 5.618 MB / 0.615 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.583, allocations: 4 kB / 0.615 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.5836, allocations: 135.8 kB / 0.6151 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5836, allocations: 8 kB / 0.6151 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.295e-05/0.5837, allocations: 20.56 kB / 0.6151 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.5837, allocations: 11.98 kB / 0.6151 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5837, allocations: 11.94 kB / 0.6152 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.586, allocations: 1.788 MB / 0.6169 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.5866, allocations: 286 kB / 0.6172 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.5868, allocations: 23.92 kB / 0.6172 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.5875, allocations: 39.95 kB / 0.6172 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5876, allocations: 64.38 kB / 0.6173 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.5877, allocations: 39.98 kB / 0.6173 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002463/0.5902, allocations: 1.56 MB / 0.6189 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5902, allocations: 0 / 0.6189 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00416/0.5943, allocations: 1.011 MB / 0.6198 GB, free: 13.2 MB / 0.4981 GB 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.0003678/0.5947, allocations: 150.9 kB / 0.62 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006099/0.6008, allocations: 3.154 MB / 0.6231 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6009, allocations: 0 / 0.6231 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.6019, allocations: 0.7398 MB / 0.6238 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.6036, allocations: 263.9 kB / 0.624 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.6181, allocations: 7.157 MB / 0.631 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2753/0.8935, allocations: 2.968 MB / 0.6339 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004452/0.898, allocations: 1.485 MB / 0.6354 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/0.8986, allocations: 157.4 kB / 0.6355 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.373e-06/0.8986, allocations: 0 / 0.6355 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.04241/0.941, allocations: 16.53 MB / 0.6517 GB, free: 123.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile (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)