Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004153/0.004159, allocations: 363 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 3.904/3.904, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003602/0.003601, allocations: 240.4 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.5774/0.5774, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004846, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09867, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.5804, allocations: 99.66 MB / 0.7774 GB, free: 2.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5807, allocations: 78.66 kB / 0.7775 GB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017/1.598, allocations: 168.7 MB / 0.9422 GB, free: 85.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.598, allocations: 0 / 0.9422 GB, free: 85.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006163/1.599, allocations: 170.2 kB / 0.9424 GB, free: 85.1 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03709/1.636, allocations: 8.837 MB / 0.951 GB, free: 81.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.636, allocations: 10.62 kB / 0.951 GB, free: 81.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06787/1.704, allocations: 8.793 MB / 0.9596 GB, free: 80.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0297/1.733, allocations: 9.532 MB / 0.9689 GB, free: 79.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008105/1.734, allocations: 0.6365 MB / 0.9695 GB, free: 79.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004869/1.739, allocations: 0.8603 MB / 0.9704 GB, free: 79.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06231/1.802, allocations: 19.84 MB / 0.9897 GB, free: 71.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007771/1.802, allocations: 114.5 kB / 0.9898 GB, free: 71.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004538/1.807, allocations: 401.5 kB / 0.9902 GB, free: 70.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004088/1.811, allocations: 1.822 MB / 0.992 GB, free: 70.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05043/1.862, allocations: 16.07 MB / 1.008 GB, free: 56.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5864/2.448, allocations: 81.95 MB / 1.088 GB, free: 40.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03607/2.484, allocations: 8.13 MB / 1.096 GB, free: 39.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009618/2.494, allocations: 4.137 MB / 1.1 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/2.495, allocations: 0.6693 MB / 1.1 GB, free: 38.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/2.495, allocations: 69.44 kB / 1.1 GB, free: 38.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=311): time 7.253e-06/2.495, allocations: 0 / 1.1 GB, free: 38.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=335): time 0.165/2.66, allocations: 31.53 MB / 1.131 GB, free: 32.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/2.66, allocations: 292 kB / 1.132 GB, free: 32.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02036/2.681, allocations: 7.717 MB / 1.139 GB, free: 31.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009318/2.682, allocations: 78.42 kB / 1.139 GB, free: 31.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006076/2.688, allocations: 5.854 MB / 1.145 GB, free: 28.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003386/2.691, allocations: 1.266 MB / 1.146 GB, free: 27.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/2.693, allocations: 191 kB / 1.146 GB, free: 27.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000937/2.694, allocations: 0.7131 MB / 1.147 GB, free: 27.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009432/2.703, allocations: 3.523 MB / 1.15 GB, free: 27.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.717, allocations: 9.241 MB / 1.159 GB, free: 19.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/2.73, allocations: 5.557 MB / 1.165 GB, free: 17.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002313/2.73, allocations: 62.41 kB / 1.165 GB, free: 17.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.03635/2.766, allocations: 13.35 MB / 1.178 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/2.766, allocations: 94.03 kB / 1.178 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003397/2.767, allocations: 196.7 kB / 1.178 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/2.771, allocations: 1.054 MB / 1.179 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01437/2.785, allocations: 2.252 MB / 1.181 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/2.803, allocations: 11.3 MB / 1.192 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.815, allocations: 0.5235 MB / 1.193 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/2.817, allocations: 0.5661 MB / 1.194 GB, free: 4.617 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[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],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1179): * Single equations (assignments): 1172 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01076/2.828, allocations: 3.879 MB / 1.197 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/2.83, allocations: 0.6768 MB / 1.198 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/2.852, allocations: 6.081 MB / 1.204 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-05/2.852, allocations: 39.94 kB / 1.204 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/2.853, allocations: 8 kB / 1.204 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.7e-05/2.853, allocations: 18.48 kB / 1.204 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07567/2.928, allocations: 15.19 MB / 1.219 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.08e-05/2.928, allocations: 4 kB / 1.219 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008294/2.937, allocations: 0.5613 MB / 1.219 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/2.941, allocations: 0.6996 MB / 1.22 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009553/2.942, allocations: 59.28 kB / 1.22 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/2.961, allocations: 10.15 MB / 1.23 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/2.961, allocations: 7.953 kB / 1.23 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02934/2.99, allocations: 9.986 MB / 1.24 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004973/2.995, allocations: 1.189 MB / 1.241 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002348/2.998, allocations: 58.41 kB / 1.241 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006315/3.004, allocations: 194.5 kB / 1.241 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/3.005, allocations: 194.1 kB / 1.241 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007546/3.006, allocations: 90.52 kB / 1.241 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01456/3.021, allocations: 4.918 MB / 1.246 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/3.021, allocations: 0 / 1.246 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01404/3.035, allocations: 1.865 MB / 1.248 GB, free: 5.059 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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 (276): * Single equations (assignments): 269 * 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 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/3.036, allocations: 208.8 kB / 1.248 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02442/3.061, allocations: 8.994 MB / 1.257 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/3.061, allocations: 4 kB / 1.257 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008265/3.069, allocations: 3.244 MB / 1.26 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/3.08, allocations: 0.9754 MB / 1.261 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06128/3.141, allocations: 21.45 MB / 1.282 GB, free: 4.777 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4078/3.549, allocations: 6.108 MB / 1.288 GB, free: 153.6 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01849/3.568, allocations: 3.095 MB / 1.291 GB, free: 153.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003732/3.571, allocations: 456.6 kB / 1.292 GB, free: 153.5 MB / 0.5574 GB Notification: Performance of SimCode: time 1.894e-06/3.572, allocations: 0 / 1.292 GB, free: 153.5 MB / 0.5574 GB Notification: Performance of Templates: time 0.2252/3.797, allocations: 69.41 MB / 1.359 GB, free: 145.9 MB / 0.5574 GB