Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_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.001645/0.001645, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.4 MB / 223.6 MB, free: 9.047 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.0009768/0.0009772, allocations: 85.44 kB / 271.9 MB, free: 8.277 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.5242/0.5242, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005912/0.0005914, allocations: 16 kB / 432.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1151, allocations: 58.85 MB / 491.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.425, allocations: 96.58 MB / 0.5742 GB, free: 5.711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4252, allocations: 75.97 kB / 0.5743 GB, free: 5.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1671/0.5923, allocations: 67.99 MB / 0.6407 GB, free: 1.051 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5924, allocations: 0 / 0.6407 GB, free: 1.051 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001492/0.5925, allocations: 60 kB / 0.6408 GB, free: 0.9922 MB / 458.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.008802/0.6014, allocations: 3.098 MB / 0.6438 GB, free: 13.83 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6014, allocations: 16.03 kB / 0.6438 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.6149, allocations: 3.279 MB / 0.647 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/0.6205, allocations: 2.099 MB / 0.6491 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.6208, allocations: 275.5 kB / 0.6493 GB, free: 8.113 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.6228, allocations: 364.2 kB / 0.6497 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02014/0.643, allocations: 9.022 MB / 0.6585 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.6431, allocations: 20 kB / 0.6585 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.6446, allocations: 167.8 kB / 0.6587 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/0.6463, allocations: 1.045 MB / 0.6597 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.6629, allocations: 8.578 MB / 0.6681 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/0.9146, allocations: 29.2 MB / 0.6966 GB, free: 91.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.9191, allocations: 3.046 MB / 0.6995 GB, free: 89.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.9205, allocations: 0.9756 MB / 0.7005 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007814/0.9283, allocations: 4.85 MB / 0.7052 GB, free: 88.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.9284, allocations: 40.53 kB / 0.7053 GB, free: 88.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 5.26e-06/0.9284, allocations: 0 / 0.7053 GB, free: 88.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.005527/0.9339, allocations: 2.727 MB / 0.7079 GB, free: 88.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.934, allocations: 64.69 kB / 0.708 GB, free: 88.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.9375, allocations: 2.538 MB / 0.7105 GB, free: 87.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.9376, allocations: 43.22 kB / 0.7105 GB, free: 87.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.9389, allocations: 2.651 MB / 0.7131 GB, free: 86.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/0.9394, allocations: 499.9 kB / 0.7136 GB, free: 86.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.9396, allocations: 83.83 kB / 0.7137 GB, free: 86.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002571/0.9398, allocations: 0.5453 MB / 0.7142 GB, free: 85.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.9416, allocations: 1.34 MB / 0.7155 GB, free: 85.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/0.9443, allocations: 4.093 MB / 0.7195 GB, free: 82.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005741/0.9501, allocations: 5.934 MB / 0.7253 GB, free: 77.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.9502, allocations: 27.5 kB / 0.7253 GB, free: 77.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.009827/0.9601, allocations: 5.242 MB / 0.7304 GB, free: 75.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.9602, allocations: 51.64 kB / 0.7305 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/0.9604, allocations: 97.31 kB / 0.7306 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.9606, allocations: 128.5 kB / 0.7307 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/0.9638, allocations: 0.9751 MB / 0.7317 GB, free: 75.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001936/0.9641, allocations: 192.1 kB / 0.7318 GB, free: 75.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.9674, allocations: 0.6018 MB / 0.7324 GB, free: 75.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006894/0.9681, allocations: 279.8 kB / 0.7327 GB, free: 75.1 MB / 490.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 (538): * Single equations (assignments): 532 * 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.004085/0.9722, allocations: 1.897 MB / 0.7346 GB, free: 74.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004436/0.9727, allocations: 214.7 kB / 0.7348 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.9733, allocations: 271 kB / 0.735 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.466e-05/0.9733, allocations: 16.2 kB / 0.735 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.9734, allocations: 0 / 0.735 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.9734, allocations: 5.156 kB / 0.735 GB, free: 74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009424/0.9828, allocations: 5.631 MB / 0.7405 GB, free: 71.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.9829, allocations: 3.75 kB / 0.7405 GB, free: 71.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.9835, allocations: 137.4 kB / 0.7407 GB, free: 71.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.9835, allocations: 7.625 kB / 0.7407 GB, free: 71.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-05/0.9836, allocations: 27.75 kB / 0.7407 GB, free: 71.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/0.9836, allocations: 12.42 kB / 0.7407 GB, free: 71.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.9836, allocations: 11.34 kB / 0.7407 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.9855, allocations: 1.78 MB / 0.7425 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.9861, allocations: 300.5 kB / 0.7427 GB, free: 70.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.9863, allocations: 16.67 kB / 0.7428 GB, free: 70.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/0.9869, allocations: 41.81 kB / 0.7428 GB, free: 70.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.987, allocations: 62.03 kB / 0.7429 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/0.9871, allocations: 47.48 kB / 0.7429 GB, free: 70.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002291/0.9894, allocations: 1.546 MB / 0.7444 GB, free: 70.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9894, allocations: 0 / 0.7444 GB, free: 70.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003689/0.9931, allocations: 1.009 MB / 0.7454 GB, free: 69.91 MB / 490.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 (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.0003273/0.9935, allocations: 147.2 kB / 0.7455 GB, free: 69.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004136/0.9976, allocations: 3.107 MB / 0.7486 GB, free: 68.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.9976, allocations: 0 / 0.7486 GB, free: 68.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.9984, allocations: 0.7381 MB / 0.7493 GB, free: 68.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/1.001, allocations: 239.3 kB / 0.7495 GB, free: 68.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.013, allocations: 9.224 MB / 0.7585 GB, free: 63.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002983/1.016, allocations: 2.97 MB / 0.7614 GB, free: 62.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/1.016, allocations: 196 kB / 0.7616 GB, free: 62.32 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/1.016, allocations: 3.75 kB / 0.7616 GB, free: 62.32 MB / 490.7 MB Notification: Performance of Templates: time 0.05345/1.07, allocations: 41.23 MB / 0.8019 GB, free: 40.82 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)