Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") [: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.003915/0.003915, allocations: 184.2 kB / 7.457 MB, free: 2.512 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.185/1.185, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001682/0.001682, allocations: 121.8 kB / 247.1 MB, free: 6.348 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.1619/0.1619, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.623e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09827, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.4077, allocations: 98.82 MB / 0.5337 GB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4079, allocations: 75.78 kB / 0.5337 GB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.619/1.027, allocations: 164.5 MB / 0.6944 GB, free: 79.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005224/1.028, allocations: 170.5 kB / 0.6945 GB, free: 79.56 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.02241/1.05, allocations: 8.173 MB / 0.7025 GB, free: 76.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.05, allocations: 10.69 kB / 0.7025 GB, free: 76.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0435/1.093, allocations: 11.65 MB / 0.7139 GB, free: 75.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.117, allocations: 11.05 MB / 0.7247 GB, free: 74.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006094/1.118, allocations: 276.2 kB / 0.725 GB, free: 74.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005299/1.123, allocations: 0.5058 MB / 0.7255 GB, free: 74.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0199/1.143, allocations: 11.86 MB / 0.737 GB, free: 74.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03355/1.177, allocations: 17.6 MB / 0.7542 GB, free: 67.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007657/1.177, allocations: 106.9 kB / 0.7543 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004177/1.182, allocations: 52.94 kB / 0.7544 GB, free: 67.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002867/1.185, allocations: 1.961 MB / 0.7563 GB, free: 67.61 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09121/1.276, allocations: 80.91 MB / 0.8353 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009464/1.285, allocations: 6.392 MB / 0.8416 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00646/1.292, allocations: 4.529 MB / 0.846 GB, free: 2.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1952/1.487, allocations: 14 MB / 0.8597 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/1.487, allocations: 68.53 kB / 0.8597 GB, free: 138.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=300): time 5.651e-06/1.487, allocations: 1.781 kB / 0.8597 GB, free: 138.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=327): time 0.06404/1.551, allocations: 30.87 MB / 0.8899 GB, free: 132.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.551, allocations: 296.7 kB / 0.8902 GB, free: 132.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/1.563, allocations: 5.629 MB / 0.8957 GB, free: 131.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007337/1.564, allocations: 25.7 kB / 0.8957 GB, free: 131.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002918/1.567, allocations: 5.337 MB / 0.9009 GB, free: 128.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.568, allocations: 1.208 MB / 0.9021 GB, free: 128 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/1.569, allocations: 0 / 0.9021 GB, free: 128 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004561/1.569, allocations: 0.7292 MB / 0.9028 GB, free: 127.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/1.573, allocations: 3.435 MB / 0.9061 GB, free: 127.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006323/1.58, allocations: 9.335 MB / 0.9152 GB, free: 119.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007317/1.587, allocations: 5.641 MB / 0.9208 GB, free: 117.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.587, allocations: 60.31 kB / 0.9208 GB, free: 117.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1304) (initialization): time 0.02198/1.609, allocations: 12.26 MB / 0.9328 GB, free: 114.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.609, allocations: 3.906 kB / 0.9328 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002819/1.61, allocations: 216.2 kB / 0.933 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002518/1.612, allocations: 1.057 MB / 0.934 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009067/1.621, allocations: 2.304 MB / 0.9363 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/1.631, allocations: 10.65 MB / 0.9467 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/1.641, allocations: 313.6 kB / 0.947 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002516/1.643, allocations: 0.5916 MB / 0.9475 GB, free: 106.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1224): * Single equations (assignments): 1217 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003901/1.647, allocations: 0.6277 MB / 0.9482 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/1.649, allocations: 0.5978 MB / 0.9487 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/1.659, allocations: 5.719 MB / 0.9543 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/1.66, allocations: 28 kB / 0.9544 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.349e-05/1.66, allocations: 12 kB / 0.9544 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/1.66, allocations: 13.59 kB / 0.9544 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02517/1.685, allocations: 13.2 MB / 0.9673 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.685, allocations: 0 / 0.9673 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002886/1.688, allocations: 0.5078 MB / 0.9678 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/1.69, allocations: 0.7052 MB / 0.9685 GB, free: 89.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003138/1.69, allocations: 11.47 kB / 0.9685 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008323/1.698, allocations: 9.513 MB / 0.9778 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/1.698, allocations: 3.562 kB / 0.9778 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0129/1.711, allocations: 9.854 MB / 0.9874 GB, free: 71.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/1.714, allocations: 1.072 MB / 0.9884 GB, free: 70.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.715, allocations: 0 / 0.9884 GB, free: 70.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/1.718, allocations: 107.3 kB / 0.9885 GB, free: 70.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/1.719, allocations: 156.2 kB / 0.9887 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.719, allocations: 87.73 kB / 0.9888 GB, free: 69.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.006095/1.725, allocations: 3.846 MB / 0.9925 GB, free: 66.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01075/1.736, allocations: 1.601 MB / 0.9941 GB, free: 65.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 263 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007835/1.737, allocations: 154.2 kB / 0.9942 GB, free: 64.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.749, allocations: 8.559 MB / 1.003 GB, free: 57.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.749, allocations: 4 kB / 1.003 GB, free: 57.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003581/1.752, allocations: 3.06 MB / 1.006 GB, free: 54.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/1.757, allocations: 0.7158 MB / 1.006 GB, free: 53.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/1.788, allocations: 14.96 MB / 1.021 GB, free: 40.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01239/1.8, allocations: 6.583 MB / 1.027 GB, free: 35.44 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/1.8, allocations: 0 / 1.027 GB, free: 35.44 MB / 490.7 MB Notification: Performance of Templates: time 0.312/2.112, allocations: 67.44 MB / 1.093 GB, free: 113.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)