Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques") [: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.003161/0.003161, allocations: 183.4 kB / 7.459 MB, free: 2.504 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.173/1.173, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.00166/0.00166, allocations: 124.3 kB / 247.1 MB, free: 6.332 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.169/0.169, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.452e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08649, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.3555, allocations: 103.2 MB / 0.538 GB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.3558, allocations: 71.97 kB / 0.538 GB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5588/0.9146, allocations: 143.7 MB / 0.6784 GB, free: 81.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002824/0.915, allocations: 146.1 kB / 0.6785 GB, free: 81.61 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02007/0.935, allocations: 7.349 MB / 0.6857 GB, free: 78.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9351, allocations: 10.69 kB / 0.6857 GB, free: 78.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02855/0.9637, allocations: 6.933 MB / 0.6925 GB, free: 78.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01898/0.9827, allocations: 7.962 MB / 0.7002 GB, free: 77.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.9831, allocations: 252.8 kB / 0.7005 GB, free: 77.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/0.9865, allocations: 458.5 kB / 0.7009 GB, free: 77.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02019/1.007, allocations: 11.3 MB / 0.7119 GB, free: 77.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03449/1.041, allocations: 16.74 MB / 0.7283 GB, free: 73.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000395/1.042, allocations: 93.56 kB / 0.7284 GB, free: 73.31 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002239/1.044, allocations: 45.59 kB / 0.7284 GB, free: 73.31 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/1.046, allocations: 1.941 MB / 0.7303 GB, free: 73.29 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08819/1.134, allocations: 79.01 MB / 0.8075 GB, free: 17.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007579/1.142, allocations: 7.087 MB / 0.8144 GB, free: 10.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00485/1.147, allocations: 4.703 MB / 0.819 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02271/1.17, allocations: 13.28 MB / 0.832 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/1.17, allocations: 72.78 kB / 0.832 GB, free: 11.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=310): time 6.392e-06/1.17, allocations: 0 / 0.832 GB, free: 11.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=352): time 0.231/1.401, allocations: 29.42 MB / 0.8608 GB, free: 135.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/1.401, allocations: 237.7 kB / 0.861 GB, free: 135.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007621/1.408, allocations: 5.186 MB / 0.8661 GB, free: 135.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009452/1.409, allocations: 25.7 kB / 0.8661 GB, free: 135 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003147/1.413, allocations: 5.029 MB / 0.871 GB, free: 132.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.414, allocations: 1.295 MB / 0.8723 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/1.415, allocations: 0 / 0.8723 GB, free: 131.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004352/1.415, allocations: 0.7348 MB / 0.873 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/1.42, allocations: 3.992 MB / 0.8769 GB, free: 131.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006764/1.427, allocations: 9.744 MB / 0.8864 GB, free: 123.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007304/1.434, allocations: 6.219 MB / 0.8925 GB, free: 123.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.972e-05/1.434, allocations: 59.97 kB / 0.8925 GB, free: 123.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.0262/1.46, allocations: 13.83 MB / 0.906 GB, free: 123.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.46, allocations: 10.94 kB / 0.906 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003245/1.461, allocations: 204.3 kB / 0.9062 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00404/1.465, allocations: 1.652 MB / 0.9078 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009589/1.474, allocations: 2.417 MB / 0.9102 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.487, allocations: 10.42 MB / 0.9204 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009485/1.496, allocations: 337.1 kB / 0.9207 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002534/1.499, allocations: 0.5965 MB / 0.9213 GB, free: 119.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1261): * Single equations (assignments): 1256 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002067/1.501, allocations: 0.6187 MB / 0.9219 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.502, allocations: 0.5415 MB / 0.9224 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.514, allocations: 7.312 MB / 0.9296 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-05/1.514, allocations: 39.09 kB / 0.9296 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/1.514, allocations: 7.562 kB / 0.9296 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/1.514, allocations: 18.45 kB / 0.9296 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/1.547, allocations: 15.3 MB / 0.9446 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/1.547, allocations: 0 / 0.9446 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/1.551, allocations: 0.6158 MB / 0.9452 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/1.554, allocations: 1.319 MB / 0.9464 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005032/1.555, allocations: 12.12 kB / 0.9465 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.567, allocations: 9.649 MB / 0.9559 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/1.567, allocations: 4 kB / 0.9559 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01799/1.585, allocations: 12.29 MB / 0.9679 GB, free: 91.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004313/1.589, allocations: 1.141 MB / 0.969 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/1.591, allocations: 0 / 0.969 GB, free: 90.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.594, allocations: 121.8 kB / 0.9691 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/1.594, allocations: 168.7 kB / 0.9693 GB, free: 90.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/1.595, allocations: 87.19 kB / 0.9694 GB, free: 89.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.006013/1.601, allocations: 3.497 MB / 0.9728 GB, free: 86.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01081/1.612, allocations: 1.583 MB / 0.9743 GB, free: 85.32 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,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (296): * Single equations (assignments): 291 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007523/1.612, allocations: 158.5 kB / 0.9745 GB, free: 85.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0146/1.627, allocations: 9.701 MB / 0.9839 GB, free: 76.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.627, allocations: 2.188 kB / 0.9839 GB, free: 76.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005935/1.633, allocations: 3.669 MB / 0.9875 GB, free: 73.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005889/1.639, allocations: 0.5429 MB / 0.9881 GB, free: 72.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/1.673, allocations: 14.8 MB / 1.003 GB, free: 59.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009845/1.682, allocations: 6.076 MB / 1.008 GB, free: 54.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/1.683, allocations: 0 / 1.008 GB, free: 54.94 MB / 490.7 MB Notification: Performance of Templates: time 0.3587/2.041, allocations: 70.31 MB / 1.077 GB, free: 121.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)