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.001079/0.001079, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 82.62 kB / 261.7 MB, free: 1.684 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.1967/0.1967, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.86e-05, allocations: 0 / 418.2 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5279, allocations: 95.73 MB / 0.5594 GB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5283, allocations: 78.44 kB / 0.5595 GB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1565/0.6848, allocations: 67.24 MB / 0.6251 GB, free: 4.719 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6849, allocations: 4 kB / 0.6252 GB, free: 4.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.524e-05/0.685, allocations: 60 kB / 0.6252 GB, free: 4.656 MB / 426.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.005749/0.6907, allocations: 3.045 MB / 0.6282 GB, free: 1.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.6908, allocations: 12.03 kB / 0.6282 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.7045, allocations: 3.282 MB / 0.6314 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006109/0.7107, allocations: 2.075 MB / 0.6334 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.7109, allocations: 116 kB / 0.6335 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008932/0.7118, allocations: 204 kB / 0.6337 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009864/0.7216, allocations: 6.41 MB / 0.64 GB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.7371, allocations: 8.486 MB / 0.6483 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-05/0.7373, allocations: 15.81 kB / 0.6483 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004927/0.7378, allocations: 12 kB / 0.6483 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001456/0.7393, allocations: 1.054 MB / 0.6493 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.7758, allocations: 26.64 MB / 0.6754 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.779, allocations: 2.693 MB / 0.678 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.7801, allocations: 0.8933 MB / 0.6789 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.7815, allocations: 1.622 MB / 0.6804 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.7815, allocations: 43.88 kB / 0.6805 GB, free: 10.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=162): time 3.637e-06/0.7816, allocations: 0 / 0.6805 GB, free: 10.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.004225/0.7858, allocations: 2.126 MB / 0.6826 GB, free: 8.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.7858, allocations: 72.72 kB / 0.6826 GB, free: 8.195 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.789, allocations: 2.051 MB / 0.6846 GB, free: 6.117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.7891, allocations: 25.7 kB / 0.6847 GB, free: 6.086 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.7909, allocations: 2.645 MB / 0.6872 GB, free: 3.398 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005669/0.7915, allocations: 0.5976 MB / 0.6878 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.7916, allocations: 0 / 0.6878 GB, free: 2.793 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003834/0.792, allocations: 0.5564 MB / 0.6884 GB, free: 2.227 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.7939, allocations: 1.349 MB / 0.6897 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003979/0.7978, allocations: 4.326 MB / 0.6939 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.8011, allocations: 2.478 MB / 0.6963 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/0.8011, allocations: 32 kB / 0.6964 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of matching and sorting (n=642) (initialization): time 0.008135/0.8093, allocations: 5 MB / 0.7012 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.8094, allocations: 52 kB / 0.7013 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.8095, allocations: 104 kB / 0.7014 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/0.8097, allocations: 160 kB / 0.7015 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/0.8128, allocations: 1.076 MB / 0.7026 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001528/0.813, allocations: 207.2 kB / 0.7028 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.8164, allocations: 0.5484 MB / 0.7033 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005911/0.817, allocations: 300 kB / 0.7036 GB, free: 1.082 MB / 0.4948 GB 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.0006007/0.8176, allocations: 368.5 kB / 0.704 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.8179, allocations: 225 kB / 0.7042 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2875/1.105, allocations: 2.035 MB / 0.7062 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.105, allocations: 19.47 kB / 0.7062 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.105, allocations: 0 / 0.7062 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.105, allocations: 5.766 kB / 0.7062 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009735/1.115, allocations: 6.044 MB / 0.7121 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/1.115, allocations: 9.125 kB / 0.7121 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/1.116, allocations: 207.1 kB / 0.7123 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.382e-05/1.116, allocations: 15.89 kB / 0.7123 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/1.116, allocations: 18.42 kB / 0.7123 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-05/1.116, allocations: 18.3 kB / 0.7123 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.116, allocations: 14.56 kB / 0.7124 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.119, allocations: 2.973 MB / 0.7153 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/1.12, allocations: 304.4 kB / 0.7156 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.12, allocations: 22.62 kB / 0.7156 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/1.121, allocations: 31.67 kB / 0.7156 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.121, allocations: 97.31 kB / 0.7157 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.942e-05/1.121, allocations: 57.84 kB / 0.7158 GB, free: 138 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00217/1.123, allocations: 1.34 MB / 0.7171 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/1.123, allocations: 0 / 0.7171 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004392/1.128, allocations: 0.9264 MB / 0.718 GB, free: 137.8 MB / 0.4948 GB 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.0003342/1.128, allocations: 142.5 kB / 0.7181 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005252/1.133, allocations: 3.235 MB / 0.7213 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.133, allocations: 2.125 kB / 0.7213 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.134, allocations: 0.9201 MB / 0.7222 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.135, allocations: 168 kB / 0.7223 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.147, allocations: 6.346 MB / 0.7285 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003085/1.15, allocations: 3.062 MB / 0.7315 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00323/1.153, allocations: 1.716 MB / 0.7332 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/1.153, allocations: 169.5 kB / 0.7333 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.021e-06/1.153, allocations: 0 / 0.7333 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.03067/1.184, allocations: 15.74 MB / 0.7487 GB, free: 134.6 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)