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.001074/0.001074, allocations: 186 kB / 15.76 MB, free: 6.344 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.511/1.511, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0009116/0.0009115, allocations: 90.86 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002976, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5093, allocations: 96.48 MB / 0.573 GB, free: 3.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5097, allocations: 80.52 kB / 0.573 GB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1681/0.6778, allocations: 68.65 MB / 0.6401 GB, free: 6.688 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6778, allocations: 0 / 0.6401 GB, free: 6.688 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.6779, allocations: 64 kB / 0.6402 GB, free: 6.625 MB / 442.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.008053/0.686, allocations: 3.146 MB / 0.6432 GB, free: 3.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6861, allocations: 8.031 kB / 0.6432 GB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.6997, allocations: 3.29 MB / 0.6464 GB, free: 112 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008964/0.7088, allocations: 2.071 MB / 0.6485 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/0.7093, allocations: 279.1 kB / 0.6487 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002939/0.7122, allocations: 355.9 kB / 0.6491 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/0.7328, allocations: 9.06 MB / 0.6579 GB, free: 3.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.892e-05/0.7329, allocations: 15.88 kB / 0.6579 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007224/0.7336, allocations: 163.9 kB / 0.6581 GB, free: 3.754 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001334/0.735, allocations: 1.049 MB / 0.6591 GB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.7515, allocations: 8.633 MB / 0.6675 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.7991, allocations: 29.23 MB / 0.6961 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/0.8042, allocations: 3.053 MB / 0.6991 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008803/0.8131, allocations: 4.876 MB / 0.7038 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.8132, allocations: 47.16 kB / 0.7039 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 4.358e-06/0.8132, allocations: 0 / 0.7039 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.006195/0.8194, allocations: 3.252 MB / 0.7071 GB, free: 196 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.8195, allocations: 64 kB / 0.7071 GB, free: 120 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2288/1.048, allocations: 2.276 MB / 0.7093 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/1.049, allocations: 34.58 kB / 0.7094 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/1.05, allocations: 2.651 MB / 0.712 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005267/1.051, allocations: 494.8 kB / 0.7124 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.051, allocations: 86.23 kB / 0.7125 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003294/1.051, allocations: 0.5459 MB / 0.713 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.053, allocations: 1.336 MB / 0.7143 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/1.057, allocations: 4.081 MB / 0.7183 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/1.06, allocations: 2.354 MB / 0.7206 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.574e-05/1.06, allocations: 27.91 kB / 0.7207 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.007877/1.068, allocations: 5.236 MB / 0.7258 GB, free: 135 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/1.068, allocations: 55.11 kB / 0.7258 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.068, allocations: 96.97 kB / 0.7259 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/1.069, allocations: 148 kB / 0.7261 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.071, allocations: 0.9738 MB / 0.727 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001427/1.071, allocations: 191.2 kB / 0.7272 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/1.074, allocations: 0.604 MB / 0.7278 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/1.074, allocations: 279.7 kB / 0.728 GB, free: 134.5 MB / 0.4948 GB 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.002374/1.076, allocations: 1.893 MB / 0.7299 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.077, allocations: 212.2 kB / 0.7301 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/1.077, allocations: 274.2 kB / 0.7304 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.077, allocations: 14.62 kB / 0.7304 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/1.077, allocations: 0 / 0.7304 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.077, allocations: 3.891 kB / 0.7304 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/1.084, allocations: 5.633 MB / 0.7359 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.084, allocations: 3.031 kB / 0.7359 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.085, allocations: 136.8 kB / 0.736 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/1.085, allocations: 6.719 kB / 0.736 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/1.085, allocations: 24.95 kB / 0.736 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.085, allocations: 11.44 kB / 0.7361 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.085, allocations: 6.891 kB / 0.7361 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.087, allocations: 2.126 MB / 0.7381 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/1.087, allocations: 300.3 kB / 0.7384 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.087, allocations: 18.44 kB / 0.7384 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/1.088, allocations: 41.25 kB / 0.7385 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/1.088, allocations: 59.66 kB / 0.7385 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/1.088, allocations: 47.61 kB / 0.7386 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001714/1.09, allocations: 1.54 MB / 0.7401 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/1.09, allocations: 0 / 0.7401 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003293/1.093, allocations: 1.015 MB / 0.7411 GB, free: 131.5 MB / 0.4948 GB 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.0002885/1.093, allocations: 155.8 kB / 0.7412 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003737/1.097, allocations: 3.106 MB / 0.7443 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.097, allocations: 0 / 0.7443 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/1.098, allocations: 0.7356 MB / 0.745 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/1.099, allocations: 233.3 kB / 0.7452 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.111, allocations: 8.76 MB / 0.7538 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/1.114, allocations: 3.042 MB / 0.7567 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003284/1.117, allocations: 1.485 MB / 0.7582 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.117, allocations: 157.6 kB / 0.7583 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/1.117, allocations: 0 / 0.7583 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.03181/1.149, allocations: 17.61 MB / 0.7755 GB, free: 120 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)