Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.002935/0.002935, allocations: 171.7 kB / 7.445 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.06/1.06, 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.001772/0.001772, allocations: 120.4 kB / 217.7 MB, free: 8.23 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.1369/0.1369, allocations: 37.97 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.222e-06, allocations: 1.531 kB / 349.5 MB, free: 37.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.08374, allocations: 48.71 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.3667, allocations: 96.44 MB / 494.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.367, allocations: 72.14 kB / 494.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6243/0.9913, allocations: 143.5 MB / 0.6232 GB, free: 64.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004872/0.9918, allocations: 157.9 kB / 0.6234 GB, free: 64.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.02455/1.016, allocations: 7.344 MB / 0.6306 GB, free: 61.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.016, allocations: 7.406 kB / 0.6306 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04362/1.06, allocations: 6.935 MB / 0.6373 GB, free: 60.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/1.082, allocations: 7.951 MB / 0.6451 GB, free: 59.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005889/1.083, allocations: 260.4 kB / 0.6454 GB, free: 59.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004916/1.088, allocations: 456.9 kB / 0.6458 GB, free: 59.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02491/1.113, allocations: 11.29 MB / 0.6568 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04135/1.154, allocations: 16.73 MB / 0.6732 GB, free: 55.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003872/1.154, allocations: 89.22 kB / 0.6732 GB, free: 55.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002484/1.157, allocations: 44.06 kB / 0.6733 GB, free: 55.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002414/1.159, allocations: 1.947 MB / 0.6752 GB, free: 55.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/1.266, allocations: 78.96 MB / 0.7523 GB, free: 17.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009127/1.275, allocations: 7.095 MB / 0.7592 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004905/1.28, allocations: 4.687 MB / 0.7638 GB, free: 6.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/1.305, allocations: 13.33 MB / 0.7768 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/1.305, allocations: 64.88 kB / 0.7769 GB, free: 11.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 7.184e-06/1.305, allocations: 0 / 0.7769 GB, free: 11.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=352): time 0.2779/1.583, allocations: 29.44 MB / 0.8056 GB, free: 117.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.583, allocations: 240.6 kB / 0.8059 GB, free: 117.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.593, allocations: 5.188 MB / 0.8109 GB, free: 117.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001205/1.595, allocations: 25.7 kB / 0.811 GB, free: 117.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003895/1.599, allocations: 5.029 MB / 0.8159 GB, free: 114.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002222/1.601, allocations: 1.281 MB / 0.8171 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/1.602, allocations: 0 / 0.8171 GB, free: 113.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005131/1.602, allocations: 0.7474 MB / 0.8178 GB, free: 113.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/1.608, allocations: 3.984 MB / 0.8217 GB, free: 113.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/1.619, allocations: 9.757 MB / 0.8313 GB, free: 105.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.631, allocations: 6.208 MB / 0.8373 GB, free: 105.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003306/1.632, allocations: 59.12 kB / 0.8374 GB, free: 105.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.03683/1.668, allocations: 13.85 MB / 0.8509 GB, free: 105.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/1.669, allocations: 11.03 kB / 0.8509 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006236/1.669, allocations: 206 kB / 0.8511 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004894/1.674, allocations: 1.646 MB / 0.8527 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/1.685, allocations: 2.429 MB / 0.8551 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/1.699, allocations: 10.4 MB / 0.8653 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/1.71, allocations: 333 kB / 0.8656 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004009/1.714, allocations: 0.5949 MB / 0.8662 GB, free: 102.2 MB / 458.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.004374/1.719, allocations: 0.6218 MB / 0.8668 GB, free: 101.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/1.721, allocations: 0.552 MB / 0.8673 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.734, allocations: 7.309 MB / 0.8744 GB, free: 99.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.569e-05/1.734, allocations: 33.81 kB / 0.8745 GB, free: 99.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/1.734, allocations: 7.438 kB / 0.8745 GB, free: 99.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/1.734, allocations: 19.91 kB / 0.8745 GB, free: 99.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03274/1.767, allocations: 15.29 MB / 0.8894 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.767, allocations: 3.969 kB / 0.8894 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003632/1.77, allocations: 0.6179 MB / 0.89 GB, free: 93.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/1.774, allocations: 1.317 MB / 0.8913 GB, free: 93.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008131/1.775, allocations: 13.81 kB / 0.8913 GB, free: 93.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.787, allocations: 9.652 MB / 0.9008 GB, free: 88.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.787, allocations: 3.938 kB / 0.9008 GB, free: 88.48 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01774/1.805, allocations: 12.29 MB / 0.9128 GB, free: 79.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003858/1.809, allocations: 1.139 MB / 0.9139 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/1.811, allocations: 4 kB / 0.9139 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003323/1.814, allocations: 124.4 kB / 0.914 GB, free: 78.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/1.814, allocations: 169.7 kB / 0.9142 GB, free: 78.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.815, allocations: 83.28 kB / 0.9142 GB, free: 78.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.007519/1.822, allocations: 3.499 MB / 0.9177 GB, free: 75.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01268/1.835, allocations: 1.581 MB / 0.9192 GB, free: 73.91 MB / 458.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.0009969/1.836, allocations: 156.9 kB / 0.9194 GB, free: 73.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01659/1.853, allocations: 9.696 MB / 0.9288 GB, free: 65.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.853, allocations: 0 / 0.9288 GB, free: 65.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006487/1.859, allocations: 3.683 MB / 0.9324 GB, free: 61.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/1.864, allocations: 0.5271 MB / 0.9329 GB, free: 61.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/1.899, allocations: 14.79 MB / 0.9474 GB, free: 48.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2494/2.148, allocations: 6.064 MB / 0.9533 GB, free: 106.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.435e-06/2.148, allocations: 0 / 0.9533 GB, free: 106.9 MB / 458.7 MB Notification: Performance of Templates: time 0.1413/2.29, allocations: 70.33 MB / 1.022 GB, free: 103.7 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)