Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002807/0.002811, allocations: 359.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.742/3.742, allocations: 388.9 MB / 405.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003669/0.003668, allocations: 232.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5647/0.5647, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006171/0.0006176, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09568, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/0.6175, allocations: 105.4 MB / 0.783 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.6179, allocations: 85.77 kB / 0.7831 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492/2.11, allocations: 238.2 MB / 1.016 GB, free: 52.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.757e-06/2.11, allocations: 0 / 1.016 GB, free: 52.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001615/2.111, allocations: 255.9 kB / 1.016 GB, free: 52.29 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: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.07553/2.187, allocations: 12.87 MB / 1.029 GB, free: 39.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/2.187, allocations: 8.031 kB / 1.029 GB, free: 39.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1163/2.303, allocations: 9.525 MB / 1.038 GB, free: 29.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05871/2.362, allocations: 11.87 MB / 1.049 GB, free: 17.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001694/2.364, allocations: 0.9626 MB / 1.05 GB, free: 16.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008476/2.372, allocations: 1.281 MB / 1.052 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4874/2.86, allocations: 29.84 MB / 1.081 GB, free: 66.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001187/2.861, allocations: 148 kB / 1.081 GB, free: 66.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006736/2.868, allocations: 0.5916 MB / 1.081 GB, free: 66.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007385/2.875, allocations: 2.862 MB / 1.084 GB, free: 66.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08278/2.958, allocations: 24.25 MB / 1.108 GB, free: 65.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2116/3.17, allocations: 127.5 MB / 1.232 GB, free: 2.539 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07696/3.247, allocations: 13.82 MB / 1.246 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02604/3.273, allocations: 8.061 MB / 1.254 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06167/3.335, allocations: 19.76 MB / 1.273 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/3.335, allocations: 100.8 kB / 1.273 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=562): time 1.055e-05/3.335, allocations: 0 / 1.273 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=646): time 0.7452/4.08, allocations: 68.28 MB / 1.34 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/4.08, allocations: 380 kB / 1.34 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03365/4.114, allocations: 12.02 MB / 1.352 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001867/4.116, allocations: 126.8 kB / 1.352 GB, free: 106 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009251/4.125, allocations: 8.548 MB / 1.36 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0043/4.13, allocations: 2.371 MB / 1.363 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003234/4.133, allocations: 317.5 kB / 1.363 GB, free: 98.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001957/4.135, allocations: 0.9588 MB / 1.364 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01866/4.154, allocations: 6.774 MB / 1.371 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02512/4.179, allocations: 15.25 MB / 1.386 GB, free: 82.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02404/4.203, allocations: 9.928 MB / 1.395 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003613/4.203, allocations: 84 kB / 1.395 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2017) (initialization): time 0.0994/4.303, allocations: 24.74 MB / 1.419 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003794/4.303, allocations: 135.6 kB / 1.42 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007905/4.304, allocations: 296.9 kB / 1.42 GB, free: 53.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02222/4.326, allocations: 3.243 MB / 1.423 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.027/4.353, allocations: 3.762 MB / 1.427 GB, free: 47.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04336/4.397, allocations: 22.64 MB / 1.449 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02275/4.419, allocations: 0.9228 MB / 1.45 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006136/4.426, allocations: 0.8881 MB / 1.451 GB, free: 25.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1343 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1897): * Single equations (assignments): 1890 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02492/4.451, allocations: 5.735 MB / 1.456 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005428/4.456, allocations: 1.072 MB / 1.457 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6236/5.08, allocations: 14.71 MB / 1.472 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001983/5.08, allocations: 64.47 kB / 1.472 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001827/5.08, allocations: 17.47 kB / 1.472 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002725/5.081, allocations: 36.42 kB / 1.472 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1296/5.21, allocations: 32.43 MB / 1.503 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00013/5.21, allocations: 10.75 kB / 1.503 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01332/5.224, allocations: 1.281 MB / 1.505 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01315/5.237, allocations: 2.78 MB / 1.507 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001955/5.239, allocations: 122.8 kB / 1.507 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04268/5.282, allocations: 21.11 MB / 1.528 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/5.282, allocations: 20.05 kB / 1.528 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06152/5.343, allocations: 22.68 MB / 1.55 GB, free: 82.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008857/5.352, allocations: 2.179 MB / 1.552 GB, free: 82.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005008/5.357, allocations: 120.3 kB / 1.553 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/5.369, allocations: 431.8 kB / 1.553 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002709/5.372, allocations: 411.4 kB / 1.553 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001997/5.374, allocations: 174.6 kB / 1.553 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02322/5.398, allocations: 7.763 MB / 1.561 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.72e-07/5.398, allocations: 0 / 1.561 GB, free: 79.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02405/5.422, allocations: 3.104 MB / 1.564 GB, free: 79.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (553): * Single equations (assignments): 546 * 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 {(4,75.0%) 18,(4,75.0%) 18,(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.003263/5.425, allocations: 308 kB / 1.564 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05786/5.483, allocations: 16.82 MB / 1.581 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.221e-05/5.483, allocations: 4 kB / 1.581 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02763/5.511, allocations: 7.109 MB / 1.588 GB, free: 63.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02458/5.535, allocations: 1.433 MB / 1.589 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.119/5.654, allocations: 35.23 MB / 1.624 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03465/5.689, allocations: 8.878 MB / 1.632 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02989/5.719, allocations: 5.155 MB / 1.637 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00615/5.725, allocations: 0.7309 MB / 1.638 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/5.725, allocations: 1.312 kB / 1.638 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of Templates: time 0.8677/6.593, allocations: 115.5 MB / 1.751 GB, free: 86.67 MB / 0.5417 GB