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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005448/0.005448, allocations: 163.7 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.185/1.185, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001594/0.001594, allocations: 118.6 kB / 226.2 MB, free: 10.08 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.3127/0.3127, allocations: 38.06 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 16 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4883/0.5924, allocations: 97.26 MB / 0.4969 GB, free: 6.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004281/0.593, allocations: 81.08 kB / 0.497 GB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7943/1.387, allocations: 148.4 MB / 0.6419 GB, free: 70.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/1.387, allocations: 0 / 0.6419 GB, free: 70.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004312/1.388, allocations: 151.2 kB / 0.6421 GB, free: 70.28 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.0333/1.421, allocations: 7.913 MB / 0.6498 GB, free: 67.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.475e-05/1.421, allocations: 7.5 kB / 0.6498 GB, free: 67.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03283/1.454, allocations: 7.319 MB / 0.6569 GB, free: 66.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02639/1.48, allocations: 7.909 MB / 0.6647 GB, free: 64.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007416/1.481, allocations: 0.5885 MB / 0.6652 GB, free: 64.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006186/1.487, allocations: 0.7612 MB / 0.666 GB, free: 63.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05536/1.543, allocations: 18.98 MB / 0.6845 GB, free: 54.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008065/1.544, allocations: 87.38 kB / 0.6846 GB, free: 54.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006313/1.55, allocations: 382.9 kB / 0.685 GB, free: 54.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/1.554, allocations: 1.824 MB / 0.6868 GB, free: 53.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04021/1.594, allocations: 15.58 MB / 0.702 GB, free: 41.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4723/2.066, allocations: 81.67 MB / 0.7817 GB, free: 46.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/2.088, allocations: 8.759 MB / 0.7903 GB, free: 45.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02743/2.116, allocations: 11.7 MB / 0.8017 GB, free: 43.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.655e-05/2.116, allocations: 75.02 kB / 0.8018 GB, free: 43.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=347): time 8.967e-06/2.116, allocations: 0 / 0.8018 GB, free: 43.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=389): time 0.09455/2.211, allocations: 36.49 MB / 0.8374 GB, free: 35.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/2.211, allocations: 257.5 kB / 0.8377 GB, free: 35.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/2.223, allocations: 6.555 MB / 0.8441 GB, free: 32.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001394/2.225, allocations: 85.95 kB / 0.8441 GB, free: 32.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00449/2.229, allocations: 5.268 MB / 0.8493 GB, free: 28.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002819/2.232, allocations: 1.444 MB / 0.8507 GB, free: 27.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009462/2.233, allocations: 195.5 kB / 0.8509 GB, free: 27.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006726/2.234, allocations: 0.7276 MB / 0.8516 GB, free: 27.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00612/2.24, allocations: 4.111 MB / 0.8556 GB, free: 25.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/2.251, allocations: 9.681 MB / 0.8651 GB, free: 16.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/2.262, allocations: 6.183 MB / 0.8711 GB, free: 14.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002027/2.263, allocations: 57.91 kB / 0.8712 GB, free: 14.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.03609/2.299, allocations: 15.14 MB / 0.8859 GB, free: 8.656 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003591/2.299, allocations: 92.81 kB / 0.886 GB, free: 8.566 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005437/2.3, allocations: 196 kB / 0.8862 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005451/2.305, allocations: 1.724 MB / 0.8879 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/2.316, allocations: 2.424 MB / 0.8903 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/2.335, allocations: 11.82 MB / 0.9018 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/2.348, allocations: 0.5737 MB / 0.9024 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003497/2.351, allocations: 0.5784 MB / 0.9029 GB, free: 9.676 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1220 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01473/2.366, allocations: 3.61 MB / 0.9065 GB, free: 6.496 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002954/2.369, allocations: 0.6401 MB / 0.9071 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02122/2.39, allocations: 8.384 MB / 0.9153 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/2.39, allocations: 43.94 kB / 0.9153 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.079e-05/2.39, allocations: 11.95 kB / 0.9153 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/2.391, allocations: 17.25 kB / 0.9153 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0487/2.439, allocations: 18.3 MB / 0.9332 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.79e-05/2.439, allocations: 4 kB / 0.9332 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004881/2.444, allocations: 0.7683 MB / 0.934 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004637/2.449, allocations: 1.424 MB / 0.9354 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/2.45, allocations: 83.94 kB / 0.9354 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/2.467, allocations: 10.93 MB / 0.9461 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/2.467, allocations: 11.94 kB / 0.9461 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3401/2.807, allocations: 14.51 MB / 0.9603 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005733/2.813, allocations: 1.322 MB / 0.9616 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002513/2.815, allocations: 67.16 kB / 0.9617 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005221/2.82, allocations: 263.9 kB / 0.9619 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008939/2.821, allocations: 236.8 kB / 0.9621 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/2.822, allocations: 103.9 kB / 0.9622 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01036/2.832, allocations: 4.723 MB / 0.9668 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.21e-07/2.832, allocations: 0 / 0.9668 GB, free: 128.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01427/2.846, allocations: 1.874 MB / 0.9687 GB, free: 128.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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.001628/2.848, allocations: 224 kB / 0.9689 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02105/2.869, allocations: 10.09 MB / 0.9787 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/2.869, allocations: 2.781 kB / 0.9787 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008456/2.878, allocations: 4.037 MB / 0.9827 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006407/2.884, allocations: 0.7713 MB / 0.9834 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04574/2.93, allocations: 20.94 MB / 1.004 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01291/2.943, allocations: 5.634 MB / 1.009 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01125/2.954, allocations: 3.326 MB / 1.013 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003068/2.957, allocations: 453.6 kB / 1.013 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.723e-06/2.957, allocations: 3.688 kB / 1.013 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1293/3.086, allocations: 70.61 MB / 1.082 GB, free: 77.56 MB / 0.4948 GB 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)