Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,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.Torque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002731/0.002731, allocations: 361.2 kB / 15.95 MB, free: 6.203 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 4.239/4.239, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.005669/0.005668, allocations: 227.6 kB / 451 MB, free: 145.1 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.5549/0.5549, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006663/0.0006668, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1106, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5175/0.6281, allocations: 104 MB / 0.7816 GB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.6285, allocations: 80.16 kB / 0.7817 GB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28/1.909, allocations: 221.7 MB / 0.9982 GB, free: 70.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.909, allocations: 0 / 0.9982 GB, free: 70.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008084/1.91, allocations: 232 kB / 0.9984 GB, free: 69.97 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: 4184 * Number of variables: 4184 Notification: Performance of Generate backend data structure: time 0.0524/1.962, allocations: 11.88 MB / 1.01 GB, free: 57.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.962, allocations: 8.031 kB / 1.01 GB, free: 57.97 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07452/2.037, allocations: 9.351 MB / 1.019 GB, free: 48.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03609/2.073, allocations: 11.13 MB / 1.03 GB, free: 37.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001156/2.074, allocations: 0.8987 MB / 1.031 GB, free: 36.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006905/2.081, allocations: 1.214 MB / 1.032 GB, free: 35.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09376/2.175, allocations: 28.05 MB / 1.06 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009537/2.176, allocations: 138.8 kB / 1.06 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006465/2.182, allocations: 0.5583 MB / 1.06 GB, free: 4.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006214/2.189, allocations: 2.68 MB / 1.063 GB, free: 1.809 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4992/2.688, allocations: 23.15 MB / 1.085 GB, free: 72.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2127/2.901, allocations: 116.7 MB / 1.199 GB, free: 23.32 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06654/2.967, allocations: 13.48 MB / 1.213 GB, free: 19.38 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02328/2.991, allocations: 7.968 MB / 1.22 GB, free: 16.09 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005232/2.996, allocations: 2.343 MB / 1.223 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/2.996, allocations: 94.53 kB / 1.223 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=559): time 1.489e-05/2.996, allocations: 0 / 1.223 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of matching and sorting (n=643): time 0.3162/3.312, allocations: 62.28 MB / 1.283 GB, free: 464 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002488/3.313, allocations: 321.7 kB / 1.284 GB, free: 80 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4535/3.766, allocations: 10.16 MB / 1.294 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002003/3.768, allocations: 129.8 kB / 1.294 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009986/3.778, allocations: 7.737 MB / 1.301 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005019/3.783, allocations: 2.34 MB / 1.304 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003609/3.787, allocations: 288.5 kB / 1.304 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002209/3.789, allocations: 0.9095 MB / 1.305 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02139/3.811, allocations: 6.524 MB / 1.311 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02548/3.836, allocations: 14.14 MB / 1.325 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02451/3.861, allocations: 9.409 MB / 1.334 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004589/3.861, allocations: 74.16 kB / 1.334 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1861) (initialization): time 0.07243/3.934, allocations: 23.42 MB / 1.357 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002626/3.934, allocations: 121.3 kB / 1.357 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000546/3.935, allocations: 266 kB / 1.358 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/3.949, allocations: 3.195 MB / 1.361 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02558/3.975, allocations: 3.496 MB / 1.364 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04341/4.018, allocations: 22.6 MB / 1.386 GB, free: 92.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0198/4.038, allocations: 0.8573 MB / 1.387 GB, free: 92.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004732/4.043, allocations: 0.8134 MB / 1.388 GB, free: 91.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1201 * Number of states: 0 () * Number of discrete variables: 105 (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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[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],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 (1741): * Single equations (assignments): 1734 * 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.01857/4.062, allocations: 5.328 MB / 1.393 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003998/4.066, allocations: 0.9489 MB / 1.394 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04779/4.113, allocations: 14.51 MB / 1.408 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/4.114, allocations: 68 kB / 1.408 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.069e-05/4.114, allocations: 18.86 kB / 1.408 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001976/4.114, allocations: 30.33 kB / 1.408 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1002/4.214, allocations: 31.17 MB / 1.439 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.311e-05/4.214, allocations: 8.062 kB / 1.439 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01252/4.227, allocations: 1.22 MB / 1.44 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.013/4.24, allocations: 2.773 MB / 1.443 GB, free: 45.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00208/4.242, allocations: 119.4 kB / 1.443 GB, free: 45.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04226/4.284, allocations: 21.09 MB / 1.463 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/4.284, allocations: 11.94 kB / 1.463 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5015/4.786, allocations: 22.31 MB / 1.485 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009053/4.795, allocations: 2.035 MB / 1.487 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005097/4.8, allocations: 117.5 kB / 1.487 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01234/4.813, allocations: 478.3 kB / 1.488 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002868/4.815, allocations: 396.2 kB / 1.488 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001508/4.817, allocations: 164.2 kB / 1.488 GB, free: 106 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02474/4.842, allocations: 6.513 MB / 1.494 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.373e-06/4.842, allocations: 3.125 kB / 1.494 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03194/4.874, allocations: 2.932 MB / 1.497 GB, free: 105.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (554): * Single equations (assignments): 547 * 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.003382/4.877, allocations: 298.4 kB / 1.498 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04147/4.919, allocations: 16.27 MB / 1.514 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/4.919, allocations: 0 / 1.514 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02185/4.941, allocations: 7.159 MB / 1.521 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.017/4.958, allocations: 1.289 MB / 1.522 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08531/5.043, allocations: 33.04 MB / 1.554 GB, free: 89.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02377/5.067, allocations: 8.31 MB / 1.562 GB, free: 86.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02461/5.092, allocations: 4.716 MB / 1.567 GB, free: 86.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006364/5.098, allocations: 0.6659 MB / 1.567 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/5.098, allocations: 4 kB / 1.567 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.7533/5.851, allocations: 110.5 MB / 1.675 GB, free: 124.7 MB / 0.5417 GB