Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002151/0.002151, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.681/1.681, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001667/0.001667, allocations: 98.78 kB / 252.6 MB, free: 4.812 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.2157/0.2157, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.059e-05/4.07e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 54.87 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.5998, allocations: 101.4 MB / 0.5435 GB, free: 6.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.6001, allocations: 70.03 kB / 0.5436 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6592/1.259, allocations: 132 MB / 0.6725 GB, free: 84.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.853e-06/1.259, allocations: 1.375 kB / 0.6725 GB, free: 84.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004663/1.26, allocations: 135.1 kB / 0.6726 GB, free: 84.22 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.02757/1.287, allocations: 6.658 MB / 0.6791 GB, free: 81.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.287, allocations: 12.44 kB / 0.6791 GB, free: 81.76 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/1.319, allocations: 7.142 MB / 0.6861 GB, free: 81.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/1.339, allocations: 7.431 MB / 0.6934 GB, free: 80.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005755/1.34, allocations: 0.5007 MB / 0.6939 GB, free: 80.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003243/1.343, allocations: 0.6629 MB / 0.6945 GB, free: 80.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/1.375, allocations: 16.07 MB / 0.7102 GB, free: 76.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004305/1.375, allocations: 95.39 kB / 0.7103 GB, free: 76.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/1.377, allocations: 328.4 kB / 0.7106 GB, free: 76.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/1.379, allocations: 1.558 MB / 0.7121 GB, free: 76.38 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.406, allocations: 12.94 MB / 0.7248 GB, free: 76.31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08619/1.492, allocations: 72.99 MB / 0.796 GB, free: 24.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.508, allocations: 6.45 MB / 0.8023 GB, free: 19.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004917/1.513, allocations: 3.682 MB / 0.8059 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/1.53, allocations: 9.276 MB / 0.815 GB, free: 8.141 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.157e-05/1.531, allocations: 64.28 kB / 0.8151 GB, free: 8.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=269): time 6.021e-06/1.531, allocations: 0 / 0.8151 GB, free: 8.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=311): time 0.07312/1.604, allocations: 25.89 MB / 0.8403 GB, free: 2.285 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/1.604, allocations: 239.9 kB / 0.8406 GB, free: 2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3309/1.935, allocations: 6.668 MB / 0.8471 GB, free: 94.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008973/1.936, allocations: 72.58 kB / 0.8472 GB, free: 94.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00572/1.942, allocations: 4.832 MB / 0.8519 GB, free: 93.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/1.944, allocations: 1.177 MB / 0.853 GB, free: 92.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.945, allocations: 182.1 kB / 0.8532 GB, free: 92.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005592/1.945, allocations: 0.6872 MB / 0.8539 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007452/1.953, allocations: 3.49 MB / 0.8573 GB, free: 92.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/1.966, allocations: 8.778 MB / 0.8658 GB, free: 85.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/1.976, allocations: 5.472 MB / 0.8712 GB, free: 85.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003713/1.976, allocations: 56.84 kB / 0.8712 GB, free: 85.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03066/2.007, allocations: 13.53 MB / 0.8845 GB, free: 84.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/2.007, allocations: 89.38 kB / 0.8845 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003091/2.007, allocations: 186.2 kB / 0.8847 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/2.012, allocations: 1.703 MB / 0.8864 GB, free: 84.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008162/2.02, allocations: 2.127 MB / 0.8885 GB, free: 84.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/2.034, allocations: 11.33 MB / 0.8995 GB, free: 81.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009745/2.043, allocations: 0.5375 MB / 0.9 GB, free: 81.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/2.046, allocations: 0.5344 MB / 0.9006 GB, free: 81.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * Number of states: 0 () * Number of discrete variables: 60 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1104): * Single equations (assignments): 1099 * 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.003754/2.05, allocations: 0.798 MB / 0.9013 GB, free: 81.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/2.052, allocations: 0.5904 MB / 0.9019 GB, free: 81.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/2.065, allocations: 6.691 MB / 0.9085 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/2.065, allocations: 36.47 kB / 0.9085 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.87e-05/2.065, allocations: 10.44 kB / 0.9085 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-05/2.065, allocations: 17.38 kB / 0.9085 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03507/2.1, allocations: 15.13 MB / 0.9233 GB, free: 73.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/2.101, allocations: 3.688 kB / 0.9233 GB, free: 73.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002867/2.103, allocations: 0.5585 MB / 0.9238 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003384/2.107, allocations: 1.415 MB / 0.9252 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005408/2.107, allocations: 55.64 kB / 0.9253 GB, free: 72.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/2.12, allocations: 10.49 MB / 0.9355 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/2.12, allocations: 3.781 kB / 0.9355 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/2.138, allocations: 11.74 MB / 0.947 GB, free: 60.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/2.142, allocations: 1.159 MB / 0.9481 GB, free: 59.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002156/2.144, allocations: 56.8 kB / 0.9482 GB, free: 59.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.148, allocations: 206.7 kB / 0.9484 GB, free: 59.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006084/2.148, allocations: 192.8 kB / 0.9486 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/2.149, allocations: 80 kB / 0.9486 GB, free: 58.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007846/2.156, allocations: 4.352 MB / 0.9529 GB, free: 55.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.157, allocations: 0 / 0.9529 GB, free: 55.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01028/2.167, allocations: 1.651 MB / 0.9545 GB, free: 53.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (254): * Single equations (assignments): 249 * 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.0008861/2.168, allocations: 206.9 kB / 0.9547 GB, free: 53.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/2.182, allocations: 8.678 MB / 0.9632 GB, free: 45.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/2.182, allocations: 0 / 0.9632 GB, free: 45.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004917/2.187, allocations: 3.352 MB / 0.9664 GB, free: 42.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/2.191, allocations: 0.704 MB / 0.9671 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02557/2.217, allocations: 13.18 MB / 0.98 GB, free: 29.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005198/2.222, allocations: 5.034 MB / 0.9849 GB, free: 26.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007467/2.23, allocations: 2.968 MB / 0.9878 GB, free: 24.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/2.231, allocations: 406.3 kB / 0.9882 GB, free: 23.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/2.231, allocations: 0 / 0.9882 GB, free: 23.98 MB / 490.7 MB Notification: Performance of Templates: time 0.4359/2.667, allocations: 63.52 MB / 1.05 GB, free: 81.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)