Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.004118/0.004118, allocations: 185.5 kB / 7.459 MB, free: 2.508 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.216/1.216, allocations: 194.2 MB / 202.1 MB, free: 8.637 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.00174/0.00174, allocations: 116 kB / 247.1 MB, free: 6.352 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.172/0.172, allocations: 39.93 MB / 331.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.049e-05, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 54.87 MB / 447.6 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3134/0.4216, allocations: 86.08 MB / 0.5212 GB, free: 9.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4219, allocations: 79.34 kB / 0.5213 GB, free: 9.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08536/0.5073, allocations: 33.15 MB / 0.5537 GB, free: 1.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.204e-05/0.5074, allocations: 28 kB / 0.5537 GB, free: 1.23 MB / 362.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.005362/0.5128, allocations: 1.633 MB / 0.5553 GB, free: 15.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5129, allocations: 8.031 kB / 0.5553 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007245/0.5201, allocations: 1.331 MB / 0.5566 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.5226, allocations: 1.015 MB / 0.5576 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/0.5227, allocations: 56 kB / 0.5576 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000653/0.5234, allocations: 96 kB / 0.5577 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004682/0.5281, allocations: 2.826 MB / 0.5605 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007803/0.5359, allocations: 4.702 MB / 0.5651 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.18e-05/0.536, allocations: 31.75 kB / 0.5651 GB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004203/0.5365, allocations: 20 kB / 0.5651 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006211/0.5371, allocations: 0.5391 MB / 0.5657 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/0.5626, allocations: 23.63 MB / 0.5887 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.5643, allocations: 1.143 MB / 0.5899 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.5648, allocations: 334.4 kB / 0.5902 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.5648, allocations: 11.97 kB / 0.5902 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.5649, allocations: 42.5 kB / 0.5902 GB, free: 13.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.737e-06/0.5649, allocations: 4 kB / 0.5902 GB, free: 13.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001466/0.5664, allocations: 0.7561 MB / 0.591 GB, free: 13.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5664, allocations: 106.8 kB / 0.5911 GB, free: 12.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.5697, allocations: 1.71 MB / 0.5927 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.5697, allocations: 25.7 kB / 0.5928 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.571, allocations: 1.612 MB / 0.5943 GB, free: 9.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.5713, allocations: 261 kB / 0.5946 GB, free: 9.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.5714, allocations: 0 / 0.5946 GB, free: 9.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003609/0.5718, allocations: 490.3 kB / 0.5951 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.5732, allocations: 0.854 MB / 0.5959 GB, free: 7.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.576, allocations: 3.208 MB / 0.599 GB, free: 3.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/0.5787, allocations: 1.713 MB / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.167e-05/0.5788, allocations: 24 kB / 0.6007 GB, free: 1.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.006224/0.585, allocations: 3.446 MB / 0.6041 GB, free: 14.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.5851, allocations: 7.938 kB / 0.6041 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/0.5852, allocations: 91.91 kB / 0.6042 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.5854, allocations: 120 kB / 0.6043 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/0.5879, allocations: 0.7914 MB / 0.6051 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.5881, allocations: 159.4 kB / 0.6052 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.5908, allocations: 423.1 kB / 0.6056 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/0.5913, allocations: 224 kB / 0.6058 GB, free: 12.57 MB / 426.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.0005518/0.5918, allocations: 302.9 kB / 0.6061 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.5922, allocations: 150 kB / 0.6063 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.5927, allocations: 186.2 kB / 0.6065 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/0.5927, allocations: 4 kB / 0.6065 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5927, allocations: 0 / 0.6065 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5927, allocations: 7.984 kB / 0.6065 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.5965, allocations: 1.645 MB / 0.6081 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5965, allocations: 0 / 0.6081 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.5968, allocations: 55.91 kB / 0.6081 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.5968, allocations: 7.938 kB / 0.6081 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.5969, allocations: 4 kB / 0.6081 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5969, allocations: 0 / 0.6081 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5969, allocations: 0 / 0.6081 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001304/0.5982, allocations: 1.063 MB / 0.6092 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.5986, allocations: 219 kB / 0.6094 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.5989, allocations: 4 kB / 0.6094 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005554/0.5994, allocations: 20.25 kB / 0.6094 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.5995, allocations: 19.97 kB / 0.6094 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.5996, allocations: 19.98 kB / 0.6094 GB, free: 8.766 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001722/0.6013, allocations: 1.136 MB / 0.6106 GB, free: 7.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002591/0.6039, allocations: 450.5 kB / 0.611 GB, free: 7.195 MB / 426.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.0003155/0.6042, allocations: 114.3 kB / 0.6111 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003383/0.6076, allocations: 1.949 MB / 0.613 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6076, allocations: 2.438 kB / 0.613 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.6081, allocations: 335.7 kB / 0.6133 GB, free: 4.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.6089, allocations: 130 kB / 0.6134 GB, free: 4.691 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/0.6154, allocations: 3.008 MB / 0.6164 GB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/0.6179, allocations: 1.963 MB / 0.6183 GB, free: 15.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6179, allocations: 0 / 0.6183 GB, free: 15.63 MB / 442.7 MB Notification: Performance of Templates: time 0.0305/0.6484, allocations: 13.17 MB / 0.6312 GB, free: 2.676 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)