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.002134/0.002134, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.967/1.967, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001183/0.001183, allocations: 98.61 kB / 267.5 MB, free: 14.11 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.2865/0.2865, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.071e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 58.85 MB / 484.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.5981, allocations: 96.4 MB / 0.5669 GB, free: 7.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.5984, allocations: 75.34 kB / 0.567 GB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.317/0.9155, allocations: 68.72 MB / 0.6341 GB, free: 10.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.9155, allocations: 0 / 0.6341 GB, free: 10.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002235/0.9158, allocations: 64 kB / 0.6342 GB, free: 10.48 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.01442/0.9302, allocations: 3.041 MB / 0.6371 GB, free: 7.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.9303, allocations: 8.031 kB / 0.6371 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03566/0.966, allocations: 3.29 MB / 0.6404 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.9766, allocations: 2.079 MB / 0.6424 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006012/0.9773, allocations: 275.1 kB / 0.6426 GB, free: 1.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00313/0.9804, allocations: 355.9 kB / 0.643 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/1.021, allocations: 8.991 MB / 0.6518 GB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/1.021, allocations: 19.81 kB / 0.6518 GB, free: 7.941 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002502/1.024, allocations: 163.9 kB / 0.6519 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003382/1.027, allocations: 1.045 MB / 0.653 GB, free: 6.734 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03654/1.064, allocations: 8.521 MB / 0.6613 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08982/1.154, allocations: 29.21 MB / 0.6898 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.165, allocations: 3.048 MB / 0.6928 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/1.168, allocations: 0.9661 MB / 0.6937 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02222/1.191, allocations: 4.873 MB / 0.6985 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/1.191, allocations: 39.34 kB / 0.6985 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 6.973e-06/1.191, allocations: 4 kB / 0.6985 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.01383/1.205, allocations: 2.094 MB / 0.7006 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/1.205, allocations: 60.12 kB / 0.7006 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00791/1.213, allocations: 2.271 MB / 0.7029 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.213, allocations: 37.7 kB / 0.7029 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.4549/1.668, allocations: 2.655 MB / 0.7055 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.669, allocations: 495.4 kB / 0.706 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/1.67, allocations: 84.47 kB / 0.706 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006583/1.671, allocations: 0.504 MB / 0.7065 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005463/1.676, allocations: 1.309 MB / 0.7078 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008357/1.685, allocations: 4.046 MB / 0.7118 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00857/1.693, allocations: 2.357 MB / 0.7141 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002736/1.693, allocations: 30.88 kB / 0.7141 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01565/1.709, allocations: 5.138 MB / 0.7191 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.709, allocations: 53.97 kB / 0.7192 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/1.71, allocations: 98.38 kB / 0.7193 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/1.71, allocations: 142.2 kB / 0.7194 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006188/1.716, allocations: 0.9756 MB / 0.7203 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002885/1.716, allocations: 192.5 kB / 0.7205 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.722, allocations: 0.6043 MB / 0.7211 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.723, allocations: 278 kB / 0.7214 GB, free: 135.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 () * 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.0009944/1.724, allocations: 438.4 kB / 0.7218 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/1.724, allocations: 215.1 kB / 0.722 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/1.725, allocations: 270.2 kB / 0.7223 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/1.725, allocations: 15.19 kB / 0.7223 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.725, allocations: 4.594 kB / 0.7223 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.725, allocations: 4.453 kB / 0.7223 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/1.74, allocations: 5.617 MB / 0.7278 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.74, allocations: 11.61 kB / 0.7278 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.741, allocations: 134.1 kB / 0.7279 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/1.741, allocations: 16.58 kB / 0.7279 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/1.741, allocations: 25.97 kB / 0.7279 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/1.741, allocations: 10.34 kB / 0.728 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.741, allocations: 3.188 kB / 0.728 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/1.744, allocations: 2.111 MB / 0.73 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/1.745, allocations: 296.7 kB / 0.7303 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/1.745, allocations: 22.56 kB / 0.7303 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.746, allocations: 40.2 kB / 0.7304 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.746, allocations: 62.33 kB / 0.7304 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.746, allocations: 49.33 kB / 0.7305 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003033/1.75, allocations: 1.521 MB / 0.732 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/1.75, allocations: 0 / 0.732 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004824/1.754, allocations: 1.01 MB / 0.7329 GB, free: 133.2 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 () * 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.0004483/1.755, allocations: 153.2 kB / 0.7331 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006431/1.761, allocations: 3.067 MB / 0.7361 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.761, allocations: 6.875 kB / 0.7361 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/1.763, allocations: 0.7341 MB / 0.7368 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.764, allocations: 226.9 kB / 0.737 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.78, allocations: 6.252 MB / 0.7431 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006215/1.787, allocations: 3.053 MB / 0.7461 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009985/1.788, allocations: 190 kB / 0.7463 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.788, allocations: 0 / 0.7463 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.07861/1.866, allocations: 40.8 MB / 0.7861 GB, free: 109.1 MB / 0.4948 GB 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)