Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002724/0.002724, allocations: 180.2 kB / 7.456 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.21/1.21, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001772/0.001772, allocations: 119.8 kB / 247.1 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1598/0.1598, allocations: 39.95 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.672e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09555, allocations: 54.88 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4208, allocations: 88.63 MB / 0.5237 GB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.4213, allocations: 72.59 kB / 0.5238 GB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1705/0.5918, allocations: 65.59 MB / 0.5878 GB, free: 2.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001871/0.592, allocations: 63.94 kB / 0.5879 GB, free: 2.117 MB / 394.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.01144/0.6035, allocations: 3.009 MB / 0.5908 GB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/0.6036, allocations: 8.031 kB / 0.5908 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.6187, allocations: 2.654 MB / 0.5934 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007289/0.626, allocations: 2.067 MB / 0.5954 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.6263, allocations: 116 kB / 0.5956 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/0.6287, allocations: 204 kB / 0.5957 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01366/0.6423, allocations: 6.508 MB / 0.6021 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.6642, allocations: 8.573 MB / 0.6105 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/0.6645, allocations: 15.81 kB / 0.6105 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/0.6664, allocations: 12 kB / 0.6105 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/0.668, allocations: 1.105 MB / 0.6116 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04766/0.7157, allocations: 26.64 MB / 0.6376 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.7197, allocations: 2.673 MB / 0.6402 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.7213, allocations: 0.889 MB / 0.6411 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.723, allocations: 1.63 MB / 0.6427 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/0.7231, allocations: 47.56 kB / 0.6427 GB, free: 8.344 MB / 458.7 MB Notification: Performance of pre-optimization done (n=162): time 7.103e-06/0.7231, allocations: 112 / 0.6427 GB, free: 8.344 MB / 458.7 MB Notification: Performance of matching and sorting (n=162): time 0.005636/0.7288, allocations: 2.247 MB / 0.6449 GB, free: 6.082 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.7288, allocations: 64.41 kB / 0.645 GB, free: 6.004 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/0.7337, allocations: 2.07 MB / 0.647 GB, free: 3.906 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.7338, allocations: 25.7 kB / 0.647 GB, free: 3.875 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002359/0.7362, allocations: 2.551 MB / 0.6495 GB, free: 1.281 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.7373, allocations: 0.5937 MB / 0.6501 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.7377, allocations: 0 / 0.6501 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006642/0.7384, allocations: 0.5525 MB / 0.6506 GB, free: 120 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.741, allocations: 1.392 MB / 0.652 GB, free: 14.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/0.7456, allocations: 4.346 MB / 0.6562 GB, free: 8.867 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/0.7497, allocations: 2.561 MB / 0.6587 GB, free: 6.305 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-05/0.7498, allocations: 36 kB / 0.6588 GB, free: 6.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.009417/0.7592, allocations: 5.069 MB / 0.6637 GB, free: 1.195 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7592, allocations: 8 kB / 0.6637 GB, free: 1.188 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/0.7594, allocations: 108 kB / 0.6638 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.7596, allocations: 152 kB / 0.664 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2063/0.9659, allocations: 1.06 MB / 0.665 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/0.9661, allocations: 210.2 kB / 0.6652 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/0.9697, allocations: 0.5297 MB / 0.6657 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/0.9701, allocations: 297.4 kB / 0.666 GB, free: 108 MB / 474.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.000552/0.9707, allocations: 362.9 kB / 0.6663 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.971, allocations: 213 kB / 0.6666 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.9738, allocations: 2.126 MB / 0.6686 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/0.9738, allocations: 12.52 kB / 0.6686 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9738, allocations: 2.75 kB / 0.6686 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.9738, allocations: 6.938 kB / 0.6686 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.9844, allocations: 6.412 MB / 0.6749 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.9845, allocations: 11.91 kB / 0.6749 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.9853, allocations: 189.5 kB / 0.6751 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.81e-05/0.9853, allocations: 15.75 kB / 0.6751 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.498e-05/0.9854, allocations: 19.62 kB / 0.6751 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.9854, allocations: 22.56 kB / 0.6752 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.9854, allocations: 11.72 kB / 0.6752 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002817/0.9883, allocations: 3.035 MB / 0.6781 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.9888, allocations: 301.8 kB / 0.6784 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.989, allocations: 15.34 kB / 0.6784 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.9897, allocations: 23.42 kB / 0.6785 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.9898, allocations: 90.64 kB / 0.6785 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.98e-05/0.9899, allocations: 55.42 kB / 0.6786 GB, free: 104.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001912/0.9919, allocations: 1.356 MB / 0.6799 GB, free: 104.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003565/0.9954, allocations: 0.9225 MB / 0.6808 GB, free: 104.7 MB / 474.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.0003069/0.9958, allocations: 140.2 kB / 0.681 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003842/0.9996, allocations: 3.327 MB / 0.6842 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.9996, allocations: 0 / 0.6842 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/1.001, allocations: 0.9423 MB / 0.6851 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/1.001, allocations: 173.5 kB / 0.6853 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.012, allocations: 6.416 MB / 0.6916 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003433/1.015, allocations: 3.256 MB / 0.6947 GB, free: 102.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/1.015, allocations: 3.609 kB / 0.6947 GB, free: 102.3 MB / 474.7 MB Notification: Performance of Templates: time 0.03658/1.052, allocations: 20.55 MB / 0.7148 GB, free: 101.1 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)