Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,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.FrameForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004207/0.004207, allocations: 362.5 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.053/4.053, 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.005398/0.005398, allocations: 226 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.5769/0.5769, allocations: 80.03 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006737/0.0006743, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1098, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5023/0.6121, allocations: 99.46 MB / 0.7772 GB, free: 2.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6125, allocations: 82.72 kB / 0.7773 GB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.039/1.652, allocations: 161.3 MB / 0.9348 GB, free: 84.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.218e-06/1.652, allocations: 0 / 0.9348 GB, free: 84.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007327/1.652, allocations: 166.5 kB / 0.935 GB, free: 84.73 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.0395/1.692, allocations: 8.584 MB / 0.9434 GB, free: 81.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.692, allocations: 7.25 kB / 0.9434 GB, free: 81.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06951/1.762, allocations: 8.735 MB / 0.9519 GB, free: 80.72 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03155/1.793, allocations: 9.391 MB / 0.9611 GB, free: 79.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008614/1.794, allocations: 0.605 MB / 0.9617 GB, free: 79.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005073/1.799, allocations: 0.8154 MB / 0.9625 GB, free: 79.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06429/1.864, allocations: 19.12 MB / 0.9811 GB, free: 72.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007783/1.864, allocations: 107.4 kB / 0.9812 GB, free: 72.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004387/1.869, allocations: 385.6 kB / 0.9816 GB, free: 72.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00399/1.873, allocations: 1.727 MB / 0.9833 GB, free: 72.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05013/1.923, allocations: 15.5 MB / 0.9984 GB, free: 63.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5805/2.504, allocations: 79.49 MB / 1.076 GB, free: 79.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03916/2.543, allocations: 8.241 MB / 1.084 GB, free: 78.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009875/2.553, allocations: 4.148 MB / 1.088 GB, free: 78.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/2.554, allocations: 0.6657 MB / 1.089 GB, free: 77.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-05/2.554, allocations: 69.25 kB / 1.089 GB, free: 77.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=307): time 7.544e-06/2.554, allocations: 5.094 kB / 1.089 GB, free: 77.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=331): time 0.1558/2.71, allocations: 30.83 MB / 1.119 GB, free: 72.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/2.71, allocations: 293.7 kB / 1.119 GB, free: 71.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02073/2.731, allocations: 7.545 MB / 1.127 GB, free: 71.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008864/2.732, allocations: 76.14 kB / 1.127 GB, free: 71.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006223/2.738, allocations: 5.602 MB / 1.132 GB, free: 68.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002181/2.74, allocations: 1.251 MB / 1.133 GB, free: 67.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/2.742, allocations: 192.9 kB / 1.134 GB, free: 67.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001219/2.743, allocations: 0.7025 MB / 1.134 GB, free: 67.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009623/2.753, allocations: 3.452 MB / 1.138 GB, free: 67.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/2.767, allocations: 8.971 MB / 1.146 GB, free: 60.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/2.781, allocations: 5.431 MB / 1.152 GB, free: 58.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002654/2.781, allocations: 55.38 kB / 1.152 GB, free: 58.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03793/2.819, allocations: 13.02 MB / 1.164 GB, free: 54.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/2.819, allocations: 89.41 kB / 1.165 GB, free: 54.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004051/2.82, allocations: 190.8 kB / 1.165 GB, free: 54.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004501/2.824, allocations: 1.013 MB / 1.166 GB, free: 54.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/2.839, allocations: 2.157 MB / 1.168 GB, free: 53.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/2.858, allocations: 11.03 MB / 1.179 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.87, allocations: 0.5095 MB / 1.179 GB, free: 45.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.872, allocations: 0.5508 MB / 1.18 GB, free: 45.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (1149): * Single equations (assignments): 1142 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01164/2.884, allocations: 3.736 MB / 1.183 GB, free: 44.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002335/2.887, allocations: 0.6629 MB / 1.184 GB, free: 43.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/2.906, allocations: 5.931 MB / 1.19 GB, free: 39.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.576e-05/2.906, allocations: 40.64 kB / 1.19 GB, free: 39.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-05/2.906, allocations: 11.95 kB / 1.19 GB, free: 39.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-05/2.906, allocations: 13.73 kB / 1.19 GB, free: 39.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04777/2.954, allocations: 14.72 MB / 1.204 GB, free: 27.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/2.954, allocations: 4 kB / 1.204 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005616/2.96, allocations: 0.5254 MB / 1.205 GB, free: 27.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003517/2.963, allocations: 0.674 MB / 1.205 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009067/2.964, allocations: 63.47 kB / 1.205 GB, free: 26.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01573/2.98, allocations: 9.887 MB / 1.215 GB, free: 17.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/2.98, allocations: 3.938 kB / 1.215 GB, free: 17.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/3.006, allocations: 9.74 MB / 1.225 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004546/3.01, allocations: 1.169 MB / 1.226 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002696/3.013, allocations: 52 kB / 1.226 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006345/3.019, allocations: 203.6 kB / 1.226 GB, free: 7.559 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/3.021, allocations: 195.3 kB / 1.226 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007053/3.021, allocations: 88.05 kB / 1.226 GB, free: 7.355 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01317/3.034, allocations: 4.812 MB / 1.231 GB, free: 3.434 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.42e-07/3.035, allocations: 3 kB / 1.231 GB, free: 3.434 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01277/3.047, allocations: 1.811 MB / 1.233 GB, free: 1.629 MB / 490.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%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/3.049, allocations: 212.8 kB / 1.233 GB, free: 1.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0241/3.073, allocations: 8.866 MB / 1.242 GB, free: 9.973 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/3.073, allocations: 4 kB / 1.242 GB, free: 9.969 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007976/3.081, allocations: 3.202 MB / 1.245 GB, free: 7.094 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/3.091, allocations: 0.9569 MB / 1.246 GB, free: 6.293 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4252/3.516, allocations: 20.68 MB / 1.266 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01834/3.535, allocations: 5.89 MB / 1.272 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01681/3.552, allocations: 3.039 MB / 1.275 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/3.555, allocations: 454 kB / 1.275 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/3.555, allocations: 0 / 1.275 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.2085/3.764, allocations: 68.11 MB / 1.341 GB, free: 99.02 MB / 0.5105 GB