Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") [: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.003066/0.003066, allocations: 180.4 kB / 7.454 MB, free: 2.512 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.18/1.18, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001939/0.001939, allocations: 113.1 kB / 217.7 MB, free: 8.234 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.2075/0.2075, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.685e-06, allocations: 1 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09514, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.4136, allocations: 79.54 MB / 477.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4139, allocations: 72.94 kB / 477.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.08124/0.4951, allocations: 33.16 MB / 0.499 GB, free: 5.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.196e-05/0.4952, allocations: 30.03 kB / 0.499 GB, free: 5.332 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.002116/0.4973, allocations: 1.633 MB / 0.5006 GB, free: 4.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4974, allocations: 7.75 kB / 0.5006 GB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/0.5031, allocations: 1.327 MB / 0.5019 GB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.5049, allocations: 1.022 MB / 0.5029 GB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.5049, allocations: 53.75 kB / 0.503 GB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.5052, allocations: 99.78 kB / 0.5031 GB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004448/0.5097, allocations: 2.822 MB / 0.5058 GB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006298/0.516, allocations: 4.688 MB / 0.5104 GB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.5161, allocations: 36.17 kB / 0.5104 GB, free: 488 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.5163, allocations: 18.62 kB / 0.5105 GB, free: 488 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.5169, allocations: 0.5403 MB / 0.511 GB, free: 360 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.5429, allocations: 23.65 MB / 0.5341 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.5448, allocations: 1.151 MB / 0.5352 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.5454, allocations: 328.4 kB / 0.5355 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.5454, allocations: 7.312 kB / 0.5355 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.5455, allocations: 45.02 kB / 0.5356 GB, free: 11.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 5.32e-06/0.5455, allocations: 5.094 kB / 0.5356 GB, free: 11.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001734/0.5472, allocations: 0.7583 MB / 0.5363 GB, free: 11.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.5473, allocations: 105.7 kB / 0.5364 GB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/0.5498, allocations: 1.71 MB / 0.5381 GB, free: 9.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5499, allocations: 25.7 kB / 0.5381 GB, free: 9.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.551, allocations: 1.62 MB / 0.5397 GB, free: 8.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.5513, allocations: 261 kB / 0.5399 GB, free: 7.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.5514, allocations: 0 / 0.5399 GB, free: 7.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.5517, allocations: 490.3 kB / 0.5404 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.5529, allocations: 0.858 MB / 0.5412 GB, free: 6.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/0.5558, allocations: 3.201 MB / 0.5444 GB, free: 2.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.5581, allocations: 1.716 MB / 0.546 GB, free: 440 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/0.5581, allocations: 24 kB / 0.5461 GB, free: 416 kB / 362.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.005634/0.5638, allocations: 3.448 MB / 0.5494 GB, free: 12.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5638, allocations: 7.938 kB / 0.5494 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.222e-05/0.5639, allocations: 88 kB / 0.5495 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.5641, allocations: 128 kB / 0.5496 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/0.5662, allocations: 0.7836 MB / 0.5504 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000115/0.5663, allocations: 159.4 kB / 0.5506 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.5687, allocations: 419 kB / 0.551 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002759/0.569, allocations: 228.1 kB / 0.5512 GB, free: 11.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 389 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 425 * Array equations: 3 * 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.0003752/0.5694, allocations: 298.9 kB / 0.5515 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.5696, allocations: 153.9 kB / 0.5516 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.57, allocations: 178.3 kB / 0.5518 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.5701, allocations: 4 kB / 0.5518 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.5701, allocations: 0 / 0.5518 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5701, allocations: 11.92 kB / 0.5518 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/0.5733, allocations: 1.648 MB / 0.5534 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5733, allocations: 0 / 0.5534 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.5736, allocations: 59.91 kB / 0.5535 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.5737, allocations: 7.938 kB / 0.5535 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.5737, allocations: 4 kB / 0.5535 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5737, allocations: 0 / 0.5535 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.5737, allocations: 4 kB / 0.5535 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/0.5749, allocations: 1.059 MB / 0.5545 GB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.5753, allocations: 211 kB / 0.5547 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.5754, allocations: 4 kB / 0.5547 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/0.576, allocations: 23.97 kB / 0.5547 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.576, allocations: 23.83 kB / 0.5548 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.5761, allocations: 15.98 kB / 0.5548 GB, free: 7.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001631/0.5777, allocations: 1.128 MB / 0.5559 GB, free: 6.242 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002763/0.5805, allocations: 446.5 kB / 0.5563 GB, free: 5.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0003179/0.5808, allocations: 122.6 kB / 0.5564 GB, free: 5.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003067/0.5839, allocations: 1.945 MB / 0.5583 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5839, allocations: 288 / 0.5583 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.5843, allocations: 341.9 kB / 0.5586 GB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.585, allocations: 134 kB / 0.5588 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.5912, allocations: 3.012 MB / 0.5617 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/0.5935, allocations: 1.957 MB / 0.5636 GB, free: 14.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5935, allocations: 4 kB / 0.5636 GB, free: 14.22 MB / 394.7 MB Notification: Performance of Templates: time 0.03286/0.6264, allocations: 13.17 MB / 0.5765 GB, free: 1.246 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)