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") [: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.3+maint.om/package.mo): time 0.0009053/0.0009053, allocations: 187.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9821/0.9821, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007624/0.0007624, allocations: 90.84 kB / 261.4 MB, free: 13.61 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.1473/0.1473, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.332e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.306, allocations: 95.66 MB / 0.5588 GB, free: 3.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.3062, allocations: 71.97 kB / 0.5589 GB, free: 3.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.153/0.4592, allocations: 66.48 MB / 0.6238 GB, free: 16 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.4593, allocations: 60.05 kB / 0.6239 GB, free: 15.95 MB / 474.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.00672/0.4661, allocations: 3.029 MB / 0.6268 GB, free: 12.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.4661, allocations: 8.031 kB / 0.6268 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.478, allocations: 2.654 MB / 0.6294 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.4827, allocations: 2.082 MB / 0.6314 GB, free: 8.066 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.4829, allocations: 116 kB / 0.6316 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.4843, allocations: 204 kB / 0.6318 GB, free: 7.754 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/0.4945, allocations: 6.52 MB / 0.6381 GB, free: 1.227 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1697/0.6643, allocations: 8.583 MB / 0.6465 GB, free: 96.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.6644, allocations: 17.31 kB / 0.6465 GB, free: 96.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/0.6648, allocations: 10.34 kB / 0.6465 GB, free: 96.37 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007374/0.6655, allocations: 1.114 MB / 0.6476 GB, free: 96.36 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.6908, allocations: 26.72 MB / 0.6737 GB, free: 85.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.693, allocations: 2.677 MB / 0.6763 GB, free: 84.17 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.6938, allocations: 0.9044 MB / 0.6772 GB, free: 84.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008983/0.6947, allocations: 1.621 MB / 0.6788 GB, free: 82.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6948, allocations: 56.73 kB / 0.6788 GB, free: 82.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=162): time 3.677e-06/0.6948, allocations: 0 / 0.6788 GB, free: 82.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=162): time 0.003447/0.6982, allocations: 2.231 MB / 0.681 GB, free: 82.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.6983, allocations: 62.91 kB / 0.6811 GB, free: 82.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.7002, allocations: 2.091 MB / 0.6831 GB, free: 82.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.7003, allocations: 29.42 kB / 0.6832 GB, free: 82.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.7011, allocations: 2.559 MB / 0.6857 GB, free: 80.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.7015, allocations: 0.5965 MB / 0.6862 GB, free: 80.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.7016, allocations: 0 / 0.6862 GB, free: 80.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.7018, allocations: 0.5575 MB / 0.6868 GB, free: 80 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.7032, allocations: 1.393 MB / 0.6881 GB, free: 79.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.7055, allocations: 4.371 MB / 0.6924 GB, free: 76.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.7078, allocations: 2.554 MB / 0.6949 GB, free: 76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-05/0.7079, allocations: 31.03 kB / 0.6949 GB, free: 76 MB / 474.7 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.006612/0.7145, allocations: 5.086 MB / 0.6999 GB, free: 75.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7145, allocations: 9.031 kB / 0.6999 GB, free: 75.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-05/0.7146, allocations: 111.4 kB / 0.7 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.7148, allocations: 155.8 kB / 0.7002 GB, free: 75.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.7176, allocations: 1.065 MB / 0.7012 GB, free: 75.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001401/0.7177, allocations: 210.8 kB / 0.7014 GB, free: 75.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.7201, allocations: 0.5305 MB / 0.7019 GB, free: 74.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/0.7204, allocations: 299.8 kB / 0.7022 GB, free: 74.75 MB / 474.7 MB 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.0003839/0.7208, allocations: 368.5 kB / 0.7026 GB, free: 74.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.721, allocations: 218.8 kB / 0.7028 GB, free: 74.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.7235, allocations: 2.108 MB / 0.7048 GB, free: 74.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.186e-05/0.7236, allocations: 10.19 kB / 0.7048 GB, free: 74.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7236, allocations: 3.906 kB / 0.7048 GB, free: 74.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.7236, allocations: 10.12 kB / 0.7048 GB, free: 74.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.7308, allocations: 6.411 MB / 0.7111 GB, free: 70.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7308, allocations: 8 kB / 0.7111 GB, free: 70.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006969/0.7315, allocations: 196 kB / 0.7113 GB, free: 70.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.7315, allocations: 19.94 kB / 0.7113 GB, free: 70.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.7316, allocations: 18.95 kB / 0.7113 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.7316, allocations: 27 kB / 0.7114 GB, free: 70.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7316, allocations: 11.94 kB / 0.7114 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00196/0.7336, allocations: 3.027 MB / 0.7143 GB, free: 67.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.7339, allocations: 296.5 kB / 0.7146 GB, free: 67.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.7342, allocations: 23.22 kB / 0.7146 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.7348, allocations: 17.11 kB / 0.7147 GB, free: 67.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.7349, allocations: 93.2 kB / 0.7147 GB, free: 67.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.735, allocations: 54.62 kB / 0.7148 GB, free: 67.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001311/0.7363, allocations: 1.373 MB / 0.7161 GB, free: 66.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003043/0.7394, allocations: 0.9272 MB / 0.717 GB, free: 65.39 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.0002699/0.7396, allocations: 145.5 kB / 0.7172 GB, free: 65.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003189/0.7428, allocations: 3.332 MB / 0.7204 GB, free: 62.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.7428, allocations: 5.688 kB / 0.7204 GB, free: 62.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.7436, allocations: 0.9432 MB / 0.7214 GB, free: 62.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.7443, allocations: 171.8 kB / 0.7215 GB, free: 62.28 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.7524, allocations: 6.432 MB / 0.7278 GB, free: 56.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/0.7553, allocations: 3.272 MB / 0.731 GB, free: 54.24 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7553, allocations: 0 / 0.731 GB, free: 54.24 MB / 474.7 MB Notification: Performance of Templates: time 0.03333/0.7886, allocations: 20.64 MB / 0.7512 GB, free: 35.12 MB / 474.7 MB 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)