Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001134, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 105.1 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3117/0.3117, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009568/0.0009569, allocations: 52.11 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09929, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2038/0.3032, allocations: 28.71 MB / 0.5036 GB, free: 36.76 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.3136, allocations: 5.609 MB / 0.5091 GB, free: 36.66 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.3176, allocations: 113.8 kB / 0.5092 GB, free: 36.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.3198, allocations: 1.271 MB / 0.5104 GB, free: 36.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.322, allocations: 1.156 MB / 0.5116 GB, free: 36.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.3223, allocations: 69.2 kB / 0.5116 GB, free: 36.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.326, allocations: 4.062 MB / 0.5156 GB, free: 35.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.3277, allocations: 1.839 MB / 0.5174 GB, free: 34.79 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.3288, allocations: 0.9168 MB / 0.5183 GB, free: 34.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.3301, allocations: 1.526 MB / 0.5198 GB, free: 34.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.3304, allocations: 152.3 kB / 0.5199 GB, free: 34.06 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007985/0.3312, allocations: 454 kB / 0.5204 GB, free: 33.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.3319, allocations: 1.37 MB / 0.5217 GB, free: 33.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00086/0.3328, allocations: 1.672 MB / 0.5233 GB, free: 32.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002951/0.3357, allocations: 5.153 MB / 0.5284 GB, free: 30.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3357, allocations: 0 / 0.5284 GB, free: 30.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3358, allocations: 0 / 0.5284 GB, free: 30.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.146e-05/0.3358, allocations: 4 kB / 0.5284 GB, free: 30.58 MB / 394.7 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.003738/0.3396, allocations: 3.604 MB / 0.5319 GB, free: 28.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3396, allocations: 9.25 kB / 0.5319 GB, free: 28.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/0.3486, allocations: 2.934 MB / 0.5348 GB, free: 28.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.3517, allocations: 1.529 MB / 0.5363 GB, free: 27.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/0.3518, allocations: 175.2 kB / 0.5364 GB, free: 27.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/0.3522, allocations: 223.2 kB / 0.5366 GB, free: 27.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.3645, allocations: 9.475 MB / 0.5459 GB, free: 23.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.3646, allocations: 22.72 kB / 0.5459 GB, free: 23.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.3649, allocations: 106.6 kB / 0.546 GB, free: 23.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003424/0.3683, allocations: 2.375 MB / 0.5483 GB, free: 22.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.3824, allocations: 8.674 MB / 0.5568 GB, free: 19.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03384/0.4163, allocations: 29.29 MB / 0.5854 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.4207, allocations: 3.058 MB / 0.5884 GB, free: 4.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.422, allocations: 0.9843 MB / 0.5894 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008305/0.4303, allocations: 4.843 MB / 0.5941 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.4304, allocations: 43.16 kB / 0.5941 GB, free: 14.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 4.509e-06/0.4304, allocations: 0 / 0.5941 GB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.005273/0.4357, allocations: 2.731 MB / 0.5968 GB, free: 12.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.4357, allocations: 60.06 kB / 0.5968 GB, free: 12.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.439, allocations: 2.573 MB / 0.5994 GB, free: 9.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/0.4391, allocations: 41.7 kB / 0.5994 GB, free: 9.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.4409, allocations: 2.646 MB / 0.602 GB, free: 6.789 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005356/0.4414, allocations: 500 kB / 0.6025 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.4426, allocations: 0.8988 MB / 0.6033 GB, free: 5.395 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4427, allocations: 361.9 kB / 0.6037 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.4446, allocations: 1.352 MB / 0.605 GB, free: 3.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.448, allocations: 4.122 MB / 0.609 GB, free: 14.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/0.4536, allocations: 5.964 MB / 0.6149 GB, free: 6.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.449e-05/0.4537, allocations: 28 kB / 0.6149 GB, free: 6.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00791/0.4616, allocations: 5.281 MB / 0.62 GB, free: 1.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.4617, allocations: 44 kB / 0.6201 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/0.4619, allocations: 100 kB / 0.6202 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/0.4621, allocations: 128 kB / 0.6203 GB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.4648, allocations: 0.9786 MB / 0.6213 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001565/0.465, allocations: 192.8 kB / 0.6214 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.468, allocations: 0.6098 MB / 0.622 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/0.4684, allocations: 280.1 kB / 0.6223 GB, free: 15.19 MB / 458.7 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.002711/0.4711, allocations: 1.891 MB / 0.6241 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/0.4715, allocations: 209.2 kB / 0.6243 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.4721, allocations: 283.4 kB / 0.6246 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/0.4721, allocations: 12 kB / 0.6246 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4721, allocations: 4 kB / 0.6246 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.4721, allocations: 3.984 kB / 0.6246 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.4837, allocations: 5.614 MB / 0.6301 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.4837, allocations: 4 kB / 0.6301 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.4843, allocations: 135.7 kB / 0.6303 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.4844, allocations: 8 kB / 0.6303 GB, free: 6.914 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.4844, allocations: 31.14 kB / 0.6303 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.4845, allocations: 12 kB / 0.6303 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.4845, allocations: 7.938 kB / 0.6303 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.4884, allocations: 3.513 MB / 0.6337 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.4892, allocations: 294 kB / 0.634 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000417/0.4896, allocations: 26.44 kB / 0.634 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.4904, allocations: 43.95 kB / 0.6341 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4906, allocations: 56.44 kB / 0.6341 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.4907, allocations: 50.58 kB / 0.6342 GB, free: 2.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002632/0.4933, allocations: 1.556 MB / 0.6357 GB, free: 1.188 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4933, allocations: 0 / 0.6357 GB, free: 1.188 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003827/0.4971, allocations: 1.013 MB / 0.6367 GB, free: 176 kB / 458.7 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.000313/0.4975, allocations: 157.6 kB / 0.6368 GB, free: 12 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004617/0.5021, allocations: 3.124 MB / 0.6399 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5021, allocations: 7.828 kB / 0.6399 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008347/0.503, allocations: 0.7385 MB / 0.6406 GB, free: 12.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5043, allocations: 243.2 kB / 0.6409 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.5187, allocations: 9.966 MB / 0.6506 GB, free: 1.887 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/0.5226, allocations: 3.009 MB / 0.6535 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003545/0.5262, allocations: 1.484 MB / 0.655 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/0.5267, allocations: 155.4 kB / 0.6551 GB, free: 13.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5268, allocations: 0 / 0.6551 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03624/0.563, allocations: 18.43 MB / 0.6731 GB, free: 10.86 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)