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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001482/0.001487, allocations: 167.1 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.499/1.499, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 117.2 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.168/0.168, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.775e-05, allocations: 2.031 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.08945, allocations: 48.73 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4211, allocations: 82.14 MB / 480.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4214, allocations: 73.52 kB / 480.9 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1382/0.5596, allocations: 66.34 MB / 0.5344 GB, free: 6.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5596, allocations: 4 kB / 0.5344 GB, free: 6.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.709e-05/0.5597, allocations: 60 kB / 0.5345 GB, free: 5.965 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.006514/0.5662, allocations: 3.022 MB / 0.5375 GB, free: 2.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.5663, allocations: 11.97 kB / 0.5375 GB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.5803, allocations: 3.286 MB / 0.5407 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00541/0.5857, allocations: 2.066 MB / 0.5427 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.5859, allocations: 116 kB / 0.5428 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001636/0.5876, allocations: 200 kB / 0.543 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/0.5991, allocations: 6.406 MB / 0.5493 GB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.6175, allocations: 8.464 MB / 0.5575 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/0.6176, allocations: 23.77 kB / 0.5575 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004238/0.618, allocations: 12 kB / 0.5576 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/0.6193, allocations: 1.05 MB / 0.5586 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03752/0.6569, allocations: 26.54 MB / 0.5845 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.6601, allocations: 2.683 MB / 0.5871 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.6612, allocations: 0.8825 MB / 0.588 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.6627, allocations: 1.633 MB / 0.5896 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6627, allocations: 43.88 kB / 0.5896 GB, free: 12.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 3.827e-06/0.6627, allocations: 0 / 0.5896 GB, free: 12.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.004343/0.6671, allocations: 2.142 MB / 0.5917 GB, free: 9.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.6672, allocations: 68.72 kB / 0.5918 GB, free: 9.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.6704, allocations: 2.034 MB / 0.5938 GB, free: 7.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/0.6705, allocations: 25.7 kB / 0.5938 GB, free: 7.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.6722, allocations: 2.633 MB / 0.5964 GB, free: 5.121 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/0.6728, allocations: 0.5898 MB / 0.5969 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.673, allocations: 0 / 0.5969 GB, free: 4.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003849/0.6733, allocations: 0.5525 MB / 0.5975 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.6752, allocations: 1.345 MB / 0.5988 GB, free: 2.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/0.6793, allocations: 4.307 MB / 0.603 GB, free: 12.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/0.683, allocations: 2.474 MB / 0.6054 GB, free: 10.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.222e-05/0.683, allocations: 32 kB / 0.6054 GB, free: 10.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.008151/0.6912, allocations: 5.004 MB / 0.6103 GB, free: 5.285 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.6913, allocations: 52.25 kB / 0.6104 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.6914, allocations: 108 kB / 0.6105 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.6916, allocations: 160 kB / 0.6106 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.6946, allocations: 1.064 MB / 0.6117 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001562/0.6947, allocations: 211.2 kB / 0.6119 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/0.6977, allocations: 0.5325 MB / 0.6124 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/0.6982, allocations: 300 kB / 0.6127 GB, free: 2.867 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 18 (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.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 (591): * Single equations (assignments): 585 * 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.0005545/0.6988, allocations: 364.5 kB / 0.613 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.6991, allocations: 225 kB / 0.6132 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.702, allocations: 2.044 MB / 0.6152 GB, free: 220 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.7021, allocations: 19.75 kB / 0.6153 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7021, allocations: 0 / 0.6153 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.7021, allocations: 7.984 kB / 0.6153 GB, free: 196 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.227/0.9291, allocations: 6.049 MB / 0.6212 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.9291, allocations: 13.12 kB / 0.6212 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/0.9299, allocations: 205.2 kB / 0.6214 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.439e-05/0.93, allocations: 15.78 kB / 0.6214 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.9301, allocations: 16.44 kB / 0.6214 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.958e-05/0.9301, allocations: 25.03 kB / 0.6214 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.9301, allocations: 12.16 kB / 0.6214 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.9333, allocations: 2.983 MB / 0.6244 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/0.9338, allocations: 296.6 kB / 0.6246 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.934, allocations: 19.53 kB / 0.6247 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006462/0.9347, allocations: 30.47 kB / 0.6247 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.9348, allocations: 105.4 kB / 0.6248 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/0.9349, allocations: 57.47 kB / 0.6248 GB, free: 107.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002284/0.9372, allocations: 1.318 MB / 0.6261 GB, free: 107.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.9372, allocations: 3.438 kB / 0.6261 GB, free: 107.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004289/0.9415, allocations: 0.9174 MB / 0.627 GB, free: 107.5 MB / 426.7 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.0004085/0.942, allocations: 137.6 kB / 0.6272 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005219/0.9472, allocations: 3.229 MB / 0.6303 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.9472, allocations: 3.531 kB / 0.6303 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.9483, allocations: 0.9191 MB / 0.6312 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.9496, allocations: 172.4 kB / 0.6314 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.9615, allocations: 6.324 MB / 0.6376 GB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/0.9645, allocations: 3.05 MB / 0.6405 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003492/0.968, allocations: 1.716 MB / 0.6422 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.9684, allocations: 163.4 kB / 0.6424 GB, free: 105 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.9684, allocations: 3.062 kB / 0.6424 GB, free: 105 MB / 426.7 MB Notification: Performance of Templates: time 0.02673/0.9951, allocations: 15.62 MB / 0.6576 GB, free: 104.3 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile (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)