Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004592/0.004592, allocations: 349.5 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.718/3.718, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003531/0.00353, allocations: 218.2 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5075/0.5075, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007267/0.000727, allocations: 12 kB / 0.5592 GB, free: 53.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1539, allocations: 48.7 MB / 0.6067 GB, free: 4.676 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.6505, allocations: 94.77 MB / 0.6993 GB, free: 17.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6508, allocations: 83.02 kB / 0.6994 GB, free: 17.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02/1.671, allocations: 177 MB / 0.8723 GB, free: 38.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.671, allocations: 0 / 0.8723 GB, free: 38.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006312/1.672, allocations: 180 kB / 0.8724 GB, free: 38.17 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04142/1.713, allocations: 9.154 MB / 0.8814 GB, free: 28.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.713, allocations: 12.03 kB / 0.8814 GB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05865/1.772, allocations: 7.4 MB / 0.8886 GB, free: 21.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02862/1.801, allocations: 8.528 MB / 0.8969 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009634/1.802, allocations: 0.6864 MB / 0.8976 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005482/1.807, allocations: 0.9253 MB / 0.8985 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08171/1.889, allocations: 22.14 MB / 0.9201 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001065/1.89, allocations: 107 kB / 0.9202 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005421/1.895, allocations: 439.8 kB / 0.9206 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005576/1.901, allocations: 2.081 MB / 0.9227 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4009/2.302, allocations: 18.42 MB / 0.9407 GB, free: 58.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1584/2.461, allocations: 91.31 MB / 1.03 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03853/2.499, allocations: 9.237 MB / 1.039 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01711/2.516, allocations: 5.941 MB / 1.045 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/2.517, allocations: 91.14 kB / 1.045 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/2.517, allocations: 82.41 kB / 1.045 GB, free: 15.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=412): time 8.606e-06/2.517, allocations: 3.938 kB / 1.045 GB, free: 15.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=475): time 0.2951/2.812, allocations: 45.46 MB / 1.089 GB, free: 13.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002637/2.812, allocations: 278.9 kB / 1.089 GB, free: 13.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03182/2.844, allocations: 8.278 MB / 1.098 GB, free: 6.512 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00168/2.846, allocations: 101.3 kB / 1.098 GB, free: 6.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01007/2.856, allocations: 6.101 MB / 1.104 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3709/3.227, allocations: 1.739 MB / 1.105 GB, free: 105.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/3.229, allocations: 223.5 kB / 1.106 GB, free: 105.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009639/3.23, allocations: 0.7832 MB / 1.106 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01525/3.245, allocations: 5.042 MB / 1.111 GB, free: 105.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02028/3.266, allocations: 11.13 MB / 1.122 GB, free: 97.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01923/3.285, allocations: 7.329 MB / 1.129 GB, free: 97.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004003/3.286, allocations: 60.97 kB / 1.129 GB, free: 97.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.08053/3.366, allocations: 18.23 MB / 1.147 GB, free: 97.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002689/3.366, allocations: 99.22 kB / 1.147 GB, free: 97.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004753/3.367, allocations: 210.3 kB / 1.147 GB, free: 97.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/3.381, allocations: 2.428 MB / 1.15 GB, free: 96.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/3.4, allocations: 2.676 MB / 1.152 GB, free: 96.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.034/3.434, allocations: 16.94 MB / 1.169 GB, free: 89.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01456/3.448, allocations: 0.6707 MB / 1.17 GB, free: 89.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003315/3.452, allocations: 0.643 MB / 1.17 GB, free: 89.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1362): * Single equations (assignments): 1356 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01398/3.466, allocations: 4.18 MB / 1.174 GB, free: 87.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002961/3.469, allocations: 0.7483 MB / 1.175 GB, free: 87.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05672/3.526, allocations: 10.74 MB / 1.186 GB, free: 83.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001264/3.526, allocations: 47.81 kB / 1.186 GB, free: 83.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001137/3.526, allocations: 19.55 kB / 1.186 GB, free: 83.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001635/3.526, allocations: 24.23 kB / 1.186 GB, free: 83.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08749/3.614, allocations: 22.88 MB / 1.208 GB, free: 69.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.062e-05/3.614, allocations: 4 kB / 1.208 GB, free: 69.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009165/3.623, allocations: 0.8799 MB / 1.209 GB, free: 68.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009947/3.633, allocations: 2.086 MB / 1.211 GB, free: 67.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00142/3.634, allocations: 84.09 kB / 1.211 GB, free: 67.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03251/3.667, allocations: 15.72 MB / 1.226 GB, free: 53.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/3.667, allocations: 11.08 kB / 1.226 GB, free: 53.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04906/3.716, allocations: 16.98 MB / 1.243 GB, free: 38.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006187/3.722, allocations: 1.619 MB / 1.244 GB, free: 37.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003305/3.726, allocations: 80 kB / 1.245 GB, free: 37.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008917/3.735, allocations: 350.4 kB / 1.245 GB, free: 36.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001951/3.737, allocations: 280.2 kB / 1.245 GB, free: 36.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001225/3.738, allocations: 131.9 kB / 1.245 GB, free: 36.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01569/3.754, allocations: 5.274 MB / 1.25 GB, free: 32.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.81e-07/3.754, allocations: 0 / 1.25 GB, free: 32.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01565/3.769, allocations: 2.27 MB / 1.253 GB, free: 30.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (406): * Single equations (assignments): 400 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001877/3.771, allocations: 246.4 kB / 1.253 GB, free: 29.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03006/3.801, allocations: 12.56 MB / 1.265 GB, free: 18.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/3.801, allocations: 0 / 1.265 GB, free: 18.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01459/3.816, allocations: 5.356 MB / 1.27 GB, free: 13.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01211/3.828, allocations: 1.003 MB / 1.271 GB, free: 12.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4071/4.235, allocations: 25.42 MB / 1.296 GB, free: 83.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01904/4.254, allocations: 6.579 MB / 1.303 GB, free: 82.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01924/4.274, allocations: 3.776 MB / 1.306 GB, free: 82.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004239/4.278, allocations: 0.5229 MB / 1.307 GB, free: 82.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/4.278, allocations: 4 kB / 1.307 GB, free: 82.55 MB / 474.7 MB Notification: Performance of Templates: time 0.2412/4.519, allocations: 88.37 MB / 1.393 GB, free: 42.37 MB / 474.7 MB