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.002072/0.002077, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 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.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001193, allocations: 85.06 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2881/0.2881, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.625e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.5744, allocations: 95.73 MB / 0.5594 GB, free: 3.543 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5747, allocations: 79.95 kB / 0.5595 GB, free: 3.465 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2828/0.8575, allocations: 67.23 MB / 0.6251 GB, free: 15.55 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.8576, allocations: 4 kB / 0.6251 GB, free: 15.55 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0001587/0.8578, allocations: 60 kB / 0.6252 GB, free: 15.49 MB / 475.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.01054/0.8683, allocations: 3.045 MB / 0.6282 GB, free: 12.39 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.8684, allocations: 12.03 kB / 0.6282 GB, free: 12.38 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/0.8934, allocations: 3.286 MB / 0.6314 GB, free: 9.086 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008134/0.9016, allocations: 2.071 MB / 0.6334 GB, free: 6.969 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.902, allocations: 116 kB / 0.6335 GB, free: 6.855 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.9042, allocations: 204 kB / 0.6337 GB, free: 6.656 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01728/0.9215, allocations: 6.414 MB / 0.64 GB, free: 244 kB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3476/1.269, allocations: 8.475 MB / 0.6482 GB, free: 116 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/1.269, allocations: 18.62 kB / 0.6483 GB, free: 116 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/1.271, allocations: 14.97 kB / 0.6483 GB, free: 116 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002297/1.273, allocations: 1.052 MB / 0.6493 GB, free: 116 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05643/1.329, allocations: 26.65 MB / 0.6753 GB, free: 103.3 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/1.334, allocations: 2.686 MB / 0.678 GB, free: 101.6 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.336, allocations: 0.8847 MB / 0.6788 GB, free: 101.3 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/1.337, allocations: 1.634 MB / 0.6804 GB, free: 99.87 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.337, allocations: 46.31 kB / 0.6805 GB, free: 99.82 MB / 475.1 MB Notification: Performance of pre-optimization done (n=162): time 5.721e-06/1.337, allocations: 0 / 0.6805 GB, free: 99.82 MB / 475.1 MB Notification: Performance of matching and sorting (n=162): time 0.006486/1.344, allocations: 2.133 MB / 0.6825 GB, free: 99.21 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/1.344, allocations: 66.97 kB / 0.6826 GB, free: 99.15 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/1.348, allocations: 2.05 MB / 0.6846 GB, free: 98.36 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002761/1.348, allocations: 29.02 kB / 0.6846 GB, free: 98.33 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/1.35, allocations: 2.672 MB / 0.6872 GB, free: 96.44 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008337/1.351, allocations: 0.5894 MB / 0.6878 GB, free: 96.01 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/1.351, allocations: 3.781 kB / 0.6878 GB, free: 96.01 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003107/1.351, allocations: 0.516 MB / 0.6883 GB, free: 95.61 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002704/1.354, allocations: 1.35 MB / 0.6896 GB, free: 95.18 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/1.359, allocations: 4.329 MB / 0.6939 GB, free: 90.71 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00495/1.364, allocations: 2.467 MB / 0.6963 GB, free: 89.98 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.065e-05/1.364, allocations: 38.11 kB / 0.6963 GB, free: 89.97 MB / 475.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.01218/1.376, allocations: 4.96 MB / 0.7012 GB, free: 88.33 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/1.376, allocations: 51.44 kB / 0.7012 GB, free: 88.33 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/1.376, allocations: 106.3 kB / 0.7013 GB, free: 88.33 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/1.376, allocations: 157.2 kB / 0.7015 GB, free: 88.33 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005878/1.382, allocations: 1.076 MB / 0.7025 GB, free: 88.19 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001612/1.382, allocations: 213.3 kB / 0.7027 GB, free: 88.14 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.387, allocations: 0.5433 MB / 0.7032 GB, free: 87.81 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008202/1.388, allocations: 301.1 kB / 0.7035 GB, free: 87.77 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (594): * Single equations (assignments): 588 * 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.000795/1.388, allocations: 363.1 kB / 0.7039 GB, free: 87.47 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/1.389, allocations: 221.8 kB / 0.7041 GB, free: 87.34 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/1.393, allocations: 2.046 MB / 0.7061 GB, free: 86.66 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/1.393, allocations: 18.03 kB / 0.7061 GB, free: 86.66 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.393, allocations: 0.5625 kB / 0.7061 GB, free: 86.66 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.393, allocations: 3.797 kB / 0.7061 GB, free: 86.66 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.407, allocations: 6.061 MB / 0.712 GB, free: 84.41 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.407, allocations: 7.5 kB / 0.712 GB, free: 84.41 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.409, allocations: 203.1 kB / 0.7122 GB, free: 84.39 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.791e-05/1.409, allocations: 16.75 kB / 0.7122 GB, free: 84.39 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.409, allocations: 22.88 kB / 0.7123 GB, free: 84.39 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/1.409, allocations: 22.77 kB / 0.7123 GB, free: 84.39 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.395e-05/1.409, allocations: 15.31 kB / 0.7123 GB, free: 84.38 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/1.413, allocations: 2.967 MB / 0.7152 GB, free: 82.24 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/1.414, allocations: 300.6 kB / 0.7155 GB, free: 82 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/1.414, allocations: 15.75 kB / 0.7155 GB, free: 82 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.415, allocations: 31.44 kB / 0.7155 GB, free: 82 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.416, allocations: 101.5 kB / 0.7156 GB, free: 81.96 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.416, allocations: 51.09 kB / 0.7157 GB, free: 81.96 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002708/1.418, allocations: 1.345 MB / 0.717 GB, free: 81.43 MB / 475.1 MB Notification: Performance of sort global known variables: time 8.21e-07/1.419, allocations: 4 kB / 0.717 GB, free: 81.43 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005248/1.424, allocations: 0.9189 MB / 0.7179 GB, free: 80.84 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.0004821/1.424, allocations: 148.1 kB / 0.718 GB, free: 80.7 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.006229/1.431, allocations: 3.234 MB / 0.7212 GB, free: 77.78 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.431, allocations: 0 / 0.7212 GB, free: 77.78 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/1.432, allocations: 0.9239 MB / 0.7221 GB, free: 76.95 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.434, allocations: 166.2 kB / 0.7223 GB, free: 76.8 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/1.449, allocations: 6.771 MB / 0.7289 GB, free: 70.61 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004936/1.454, allocations: 3.06 MB / 0.7319 GB, free: 68.23 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.455, allocations: 217.2 kB / 0.7321 GB, free: 68.03 MB / 475.1 MB Notification: Performance of SimCode: time 1.182e-06/1.455, allocations: 0 / 0.7321 GB, free: 68.03 MB / 475.1 MB Notification: Performance of Templates: time 0.07901/1.535, allocations: 40.5 MB / 0.7716 GB, free: 30.35 MB / 475.1 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)