Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute") [: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.005918/0.005917, allocations: 176.7 kB / 7.452 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.329/1.329, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001691/0.001691, allocations: 116.4 kB / 217.7 MB, free: 8.156 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.1709/0.1709, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.626e-06, allocations: 1.719 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08951, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.3957, allocations: 88.39 MB / 486.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.396, allocations: 70.5 kB / 486.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2153/0.6113, allocations: 82.97 MB / 0.5563 GB, free: 11.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000179/0.6115, allocations: 68 kB / 0.5564 GB, free: 11.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.01158/0.6231, allocations: 3.603 MB / 0.5599 GB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6231, allocations: 8.031 kB / 0.5599 GB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.6378, allocations: 2.802 MB / 0.5626 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/0.6503, allocations: 4.188 MB / 0.5667 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.6506, allocations: 128 kB / 0.5668 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00211/0.6527, allocations: 224 kB / 0.567 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01302/0.6657, allocations: 7.442 MB / 0.5743 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.6861, allocations: 9.645 MB / 0.5837 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.6863, allocations: 23.81 kB / 0.5838 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009244/0.6872, allocations: 12 kB / 0.5838 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001687/0.6889, allocations: 1.277 MB / 0.585 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2029/0.8918, allocations: 33.34 MB / 0.6176 GB, free: 128.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008298/0.9002, allocations: 4.296 MB / 0.6218 GB, free: 127.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005096/0.9054, allocations: 2.381 MB / 0.6241 GB, free: 127.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02983/0.9353, allocations: 10.13 MB / 0.634 GB, free: 123.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.9354, allocations: 52.72 kB / 0.634 GB, free: 123.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=186): time 8.636e-06/0.9354, allocations: 0 / 0.634 GB, free: 123.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=201): time 0.04598/0.9814, allocations: 11.91 MB / 0.6457 GB, free: 122.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.9815, allocations: 64.41 kB / 0.6457 GB, free: 122.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007198/0.9887, allocations: 2.487 MB / 0.6482 GB, free: 122.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006272/0.9894, allocations: 25.7 kB / 0.6482 GB, free: 122.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/0.992, allocations: 2.791 MB / 0.6509 GB, free: 120.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.9934, allocations: 0.7297 MB / 0.6516 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/0.9944, allocations: 0 / 0.6516 GB, free: 120.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001038/0.9955, allocations: 0.6067 MB / 0.6522 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005216/1.001, allocations: 2.191 MB / 0.6544 GB, free: 119.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008031/1.009, allocations: 5.318 MB / 0.6595 GB, free: 115.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008037/1.017, allocations: 3.474 MB / 0.6629 GB, free: 114.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/1.017, allocations: 31.88 kB / 0.663 GB, free: 114.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.01654/1.034, allocations: 7.498 MB / 0.6703 GB, free: 112.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.034, allocations: 7.438 kB / 0.6703 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/1.034, allocations: 111.3 kB / 0.6704 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/1.036, allocations: 0.7554 MB / 0.6711 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005302/1.042, allocations: 1.255 MB / 0.6724 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/1.047, allocations: 3.929 MB / 0.6762 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/1.052, allocations: 164 kB / 0.6764 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.053, allocations: 333 kB / 0.6767 GB, free: 110.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (680): * Single equations (assignments): 673 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0016/1.055, allocations: 384.2 kB / 0.677 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/1.056, allocations: 257.5 kB / 0.6773 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007554/1.063, allocations: 4.19 MB / 0.6814 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/1.063, allocations: 29.61 kB / 0.6814 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.063, allocations: 3.938 kB / 0.6814 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.063, allocations: 6.75 kB / 0.6814 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.079, allocations: 8.1 MB / 0.6893 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.079, allocations: 0 / 0.6893 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.08, allocations: 277 kB / 0.6896 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.082, allocations: 0.5871 MB / 0.6902 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/1.083, allocations: 7.906 kB / 0.6902 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/1.087, allocations: 3.422 MB / 0.6935 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.087, allocations: 0 / 0.6935 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008705/1.095, allocations: 6.391 MB / 0.6998 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.097, allocations: 0.6135 MB / 0.7004 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007267/1.098, allocations: 0 / 0.7004 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/1.099, allocations: 68.02 kB / 0.7004 GB, free: 94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/1.099, allocations: 72.92 kB / 0.7005 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.099, allocations: 47.84 kB / 0.7005 GB, free: 93.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003263/1.103, allocations: 1.633 MB / 0.7021 GB, free: 92.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00458/1.107, allocations: 0.8294 MB / 0.7029 GB, free: 91.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003852/1.108, allocations: 137.9 kB / 0.7031 GB, free: 91.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006804/1.114, allocations: 5.148 MB / 0.7081 GB, free: 86.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.114, allocations: 0 / 0.7081 GB, free: 86.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.116, allocations: 1.816 MB / 0.7099 GB, free: 85.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.118, allocations: 194.9 kB / 0.7101 GB, free: 85.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/1.133, allocations: 7.575 MB / 0.7175 GB, free: 78.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003722/1.137, allocations: 3.541 MB / 0.7209 GB, free: 75.56 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/1.137, allocations: 0 / 0.7209 GB, free: 75.56 MB / 426.7 MB Notification: Performance of Templates: time 0.05476/1.192, allocations: 33.3 MB / 0.7534 GB, free: 50.21 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1)