Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003847/0.003847, allocations: 176.6 kB / 7.45 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.317/1.317, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001863/0.001863, allocations: 119.7 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1596/0.1596, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.013e-05, allocations: 1.125 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 48.72 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4345, allocations: 82.06 MB / 480.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4348, allocations: 72.94 kB / 480.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1694/0.6042, allocations: 65.58 MB / 0.5331 GB, free: 1.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000189/0.6044, allocations: 63.94 kB / 0.5332 GB, free: 1.602 MB / 346.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.01091/0.6153, allocations: 3.009 MB / 0.5361 GB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.6154, allocations: 8.031 kB / 0.5361 GB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.6301, allocations: 2.654 MB / 0.5387 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007358/0.6375, allocations: 2.058 MB / 0.5407 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.6378, allocations: 116 kB / 0.5409 GB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/0.6404, allocations: 211.9 kB / 0.5411 GB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01399/0.6545, allocations: 6.508 MB / 0.5474 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/0.6817, allocations: 8.571 MB / 0.5558 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000231/0.682, allocations: 19.81 kB / 0.5558 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/0.6849, allocations: 8 kB / 0.5558 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001678/0.6866, allocations: 1.109 MB / 0.5569 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05329/0.7399, allocations: 26.62 MB / 0.5829 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.7443, allocations: 2.669 MB / 0.5855 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.746, allocations: 0.9032 MB / 0.5864 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001645/0.7477, allocations: 1.629 MB / 0.588 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.7478, allocations: 43.56 kB / 0.588 GB, free: 8.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=162): time 7.845e-06/0.7478, allocations: 112 / 0.588 GB, free: 8.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.00588/0.7537, allocations: 2.247 MB / 0.5902 GB, free: 5.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.7537, allocations: 64.41 kB / 0.5903 GB, free: 5.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005358/0.7591, allocations: 2.062 MB / 0.5923 GB, free: 3.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.7593, allocations: 25.7 kB / 0.5923 GB, free: 3.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.7619, allocations: 2.559 MB / 0.5948 GB, free: 1.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009388/0.7628, allocations: 0.5898 MB / 0.5954 GB, free: 416 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.7633, allocations: 0 / 0.5954 GB, free: 416 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006481/0.7639, allocations: 0.5525 MB / 0.5959 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/0.7665, allocations: 1.388 MB / 0.5973 GB, free: 14.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/0.7713, allocations: 4.354 MB / 0.6015 GB, free: 8.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005068/0.7764, allocations: 2.561 MB / 0.604 GB, free: 6.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.7765, allocations: 32 kB / 0.6041 GB, free: 6 MB / 426.7 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01138/0.7879, allocations: 5.072 MB / 0.609 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.788, allocations: 4 kB / 0.609 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/0.7882, allocations: 108 kB / 0.6091 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.7884, allocations: 156.7 kB / 0.6093 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.7922, allocations: 1.06 MB / 0.6103 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/0.7924, allocations: 207.2 kB / 0.6105 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/0.7962, allocations: 0.5363 MB / 0.611 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008907/0.7971, allocations: 304 kB / 0.6113 GB, free: 14.55 MB / 442.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.000963/0.7981, allocations: 364.3 kB / 0.6117 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/0.7986, allocations: 213.1 kB / 0.6119 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.8023, allocations: 2.126 MB / 0.6139 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/0.8024, allocations: 8 kB / 0.6139 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.8024, allocations: 0 / 0.6139 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.8024, allocations: 7.922 kB / 0.614 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.8167, allocations: 6.409 MB / 0.6202 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.8168, allocations: 12.19 kB / 0.6202 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/0.8177, allocations: 199.6 kB / 0.6204 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-05/0.8178, allocations: 16 kB / 0.6204 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.8179, allocations: 16 kB / 0.6204 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-05/0.8179, allocations: 23.92 kB / 0.6205 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.8179, allocations: 11.94 kB / 0.6205 GB, free: 4.914 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003861/0.8218, allocations: 3.028 MB / 0.6234 GB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.8225, allocations: 297.9 kB / 0.6237 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004672/0.823, allocations: 16 kB / 0.6237 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.8239, allocations: 23.97 kB / 0.6238 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.8241, allocations: 92.25 kB / 0.6238 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.8242, allocations: 63.75 kB / 0.6239 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.1881/1.012, allocations: 1.357 MB / 0.6252 GB, free: 165.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006966/1.019, allocations: 0.9163 MB / 0.6261 GB, free: 165.9 MB / 442.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.0004749/1.02, allocations: 143.4 kB / 0.6263 GB, free: 165.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006257/1.026, allocations: 3.322 MB / 0.6295 GB, free: 165.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.026, allocations: 0 / 0.6295 GB, free: 165.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.027, allocations: 0.9491 MB / 0.6304 GB, free: 165.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/1.028, allocations: 158.2 kB / 0.6306 GB, free: 165.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.045, allocations: 6.432 MB / 0.6369 GB, free: 164.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005284/1.051, allocations: 3.252 MB / 0.64 GB, free: 163.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/1.051, allocations: 0 / 0.64 GB, free: 163.5 MB / 442.7 MB Notification: Performance of Templates: time 0.05159/1.102, allocations: 20.57 MB / 0.6601 GB, free: 162.6 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)