Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.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.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.1_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004064/0.00407, allocations: 349 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.586/3.586, 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.003576/0.003576, allocations: 222.1 kB / 397.9 MB, free: 4.973 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.5115/0.5115, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.0006287, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.088/0.08866, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5316, allocations: 92.83 MB / 0.6974 GB, free: 19.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5319, allocations: 82.11 kB / 0.6975 GB, free: 19.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9591/1.491, allocations: 168.5 MB / 0.862 GB, free: 48.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.491, allocations: 0 / 0.862 GB, free: 48.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006051/1.492, allocations: 168 kB / 0.8622 GB, free: 48.45 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03787/1.53, allocations: 8.838 MB / 0.8708 GB, free: 39.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.53, allocations: 8.031 kB / 0.8708 GB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06892/1.599, allocations: 8.798 MB / 0.8794 GB, free: 30.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03045/1.629, allocations: 9.526 MB / 0.8887 GB, free: 21.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008856/1.63, allocations: 0.6299 MB / 0.8893 GB, free: 20.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004759/1.635, allocations: 0.8589 MB / 0.8902 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06267/1.698, allocations: 19.83 MB / 0.9096 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006917/1.698, allocations: 111 kB / 0.9097 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005985/1.704, allocations: 399.8 kB / 0.91 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007376/1.712, allocations: 1.815 MB / 0.9118 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3934/2.105, allocations: 16.06 MB / 0.9275 GB, free: 61.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1338/2.239, allocations: 81.92 MB / 1.007 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0346/2.274, allocations: 8.136 MB / 1.015 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008735/2.283, allocations: 4.137 MB / 1.019 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009962/2.284, allocations: 0.668 MB / 1.02 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/2.284, allocations: 70.88 kB / 1.02 GB, free: 10.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=311): time 6.943e-06/2.284, allocations: 0 / 1.02 GB, free: 10.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.1621/2.446, allocations: 31.53 MB / 1.051 GB, free: 14.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/2.446, allocations: 296.8 kB / 1.051 GB, free: 14.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02004/2.466, allocations: 7.728 MB / 1.059 GB, free: 8.828 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009148/2.467, allocations: 74.25 kB / 1.059 GB, free: 8.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007607/2.475, allocations: 5.846 MB / 1.065 GB, free: 3.504 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002461/2.477, allocations: 1.267 MB / 1.066 GB, free: 2.387 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/2.479, allocations: 196 kB / 1.066 GB, free: 2.195 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001006/2.48, allocations: 0.7114 MB / 1.067 GB, free: 1.594 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02038/2.5, allocations: 4.074 MB / 1.071 GB, free: 0 / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01727/2.518, allocations: 9.233 MB / 1.08 GB, free: 4.938 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/2.533, allocations: 5.563 MB / 1.085 GB, free: 52 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003012/2.533, allocations: 62.36 kB / 1.085 GB, free: 0 / 458.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.04216/2.575, allocations: 13.35 MB / 1.098 GB, free: 4.227 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/2.576, allocations: 88 kB / 1.098 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004533/2.576, allocations: 200 kB / 1.099 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004717/2.581, allocations: 1.072 MB / 1.1 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01558/2.596, allocations: 2.243 MB / 1.102 GB, free: 1.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3811/2.977, allocations: 11.29 MB / 1.113 GB, free: 97.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/2.989, allocations: 0.5265 MB / 1.113 GB, free: 97.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002757/2.992, allocations: 0.5655 MB / 1.114 GB, free: 97.2 MB / 474.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.01178/3.004, allocations: 3.881 MB / 1.118 GB, free: 97.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002027/3.006, allocations: 0.6768 MB / 1.118 GB, free: 97.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/3.026, allocations: 6.044 MB / 1.124 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/3.026, allocations: 35.75 kB / 1.124 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-05/3.027, allocations: 12.94 kB / 1.124 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-05/3.027, allocations: 18.84 kB / 1.124 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05219/3.079, allocations: 15.1 MB / 1.139 GB, free: 96.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-05/3.079, allocations: 5.078 kB / 1.139 GB, free: 96.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006225/3.085, allocations: 0.5575 MB / 1.14 GB, free: 96.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/3.089, allocations: 0.7006 MB / 1.14 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008363/3.09, allocations: 57.14 kB / 1.14 GB, free: 96.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/3.106, allocations: 10.15 MB / 1.15 GB, free: 90.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/3.106, allocations: 3 kB / 1.15 GB, free: 90.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02507/3.131, allocations: 9.892 MB / 1.16 GB, free: 86.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00447/3.135, allocations: 1.189 MB / 1.161 GB, free: 86.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002097/3.137, allocations: 61.7 kB / 1.161 GB, free: 86.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006128/3.143, allocations: 201.2 kB / 1.161 GB, free: 86.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/3.145, allocations: 187.3 kB / 1.161 GB, free: 85.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004889/3.145, allocations: 89.97 kB / 1.162 GB, free: 85.97 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01348/3.159, allocations: 4.926 MB / 1.166 GB, free: 84.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.01e-07/3.159, allocations: 0 / 1.166 GB, free: 84.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01301/3.172, allocations: 1.864 MB / 1.168 GB, free: 84.13 MB / 474.7 MB 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.001181/3.173, allocations: 202.1 kB / 1.168 GB, free: 84.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02153/3.195, allocations: 8.992 MB / 1.177 GB, free: 81.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/3.195, allocations: 3.344 kB / 1.177 GB, free: 81.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00723/3.202, allocations: 3.246 MB / 1.18 GB, free: 79.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/3.212, allocations: 0.989 MB / 1.181 GB, free: 79.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05451/3.267, allocations: 21.45 MB / 1.202 GB, free: 67.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01496/3.282, allocations: 6.122 MB / 1.208 GB, free: 63.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01514/3.297, allocations: 3.086 MB / 1.211 GB, free: 61.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00314/3.3, allocations: 459.3 kB / 1.212 GB, free: 60.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.743e-06/3.3, allocations: 0 / 1.212 GB, free: 60.61 MB / 474.7 MB Notification: Performance of Templates: time 0.5626/3.863, allocations: 69.39 MB / 1.279 GB, free: 96.99 MB / 474.7 MB