Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2.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.Parts.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.r_0.1.|body.r_0.2.|body.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.r_0.1.|bodyBox.r_0.2.|bodyBox.r_0.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.r_0.1.|bodyCylinder.r_0.2.|bodyCylinder.r_0.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004361/0.00436, allocations: 347.9 kB / 15.94 MB, free: 6.215 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.693/3.693, 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.003501/0.003501, allocations: 226.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.5078/0.5079, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.000473, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09078, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4606/0.5515, allocations: 92.67 MB / 0.6972 GB, free: 20.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.5518, allocations: 83.33 kB / 0.6973 GB, free: 19.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.881/1.433, allocations: 141.5 MB / 0.8355 GB, free: 73.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.433, allocations: 0 / 0.8355 GB, free: 73.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005624/1.433, allocations: 156.6 kB / 0.8356 GB, free: 73.82 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.06345/1.497, allocations: 9.283 MB / 0.8447 GB, free: 65.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.497, allocations: 12.03 kB / 0.8447 GB, free: 65.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04811/1.545, allocations: 5.98 MB / 0.8505 GB, free: 59.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03496/1.58, allocations: 9.488 MB / 0.8598 GB, free: 50.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/1.581, allocations: 0.5628 MB / 0.8604 GB, free: 49.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005665/1.587, allocations: 0.7638 MB / 0.8611 GB, free: 48.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07089/1.658, allocations: 17.42 MB / 0.8781 GB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006271/1.659, allocations: 107 kB / 0.8782 GB, free: 30 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003543/1.662, allocations: 362.1 kB / 0.8786 GB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00366/1.666, allocations: 1.593 MB / 0.8801 GB, free: 28.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04561/1.712, allocations: 14.06 MB / 0.8938 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4982/2.21, allocations: 78.82 MB / 0.9708 GB, free: 27.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03711/2.247, allocations: 6.929 MB / 0.9776 GB, free: 26.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01148/2.259, allocations: 3.246 MB / 0.9807 GB, free: 26.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0364/2.295, allocations: 14.56 MB / 0.995 GB, free: 23.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.707e-05/2.295, allocations: 70.31 kB / 0.995 GB, free: 23.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=259): time 8.296e-06/2.295, allocations: 0 / 0.995 GB, free: 23.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=287): time 0.1326/2.428, allocations: 27.46 MB / 1.022 GB, free: 14.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004635/2.432, allocations: 6.26 MB / 1.028 GB, free: 8.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01546/2.448, allocations: 6.57 MB / 1.034 GB, free: 5.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009927/2.449, allocations: 70.92 kB / 1.034 GB, free: 5.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004978/2.454, allocations: 5.287 MB / 1.04 GB, free: 1.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002173/2.456, allocations: 1.186 MB / 1.041 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/2.458, allocations: 191.2 kB / 1.041 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007896/2.458, allocations: 0.7131 MB / 1.042 GB, free: 224 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01554/2.474, allocations: 4.169 MB / 1.046 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01739/2.491, allocations: 9.724 MB / 1.055 GB, free: 6.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02029/2.512, allocations: 5.945 MB / 1.061 GB, free: 3.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002963/2.512, allocations: 60 kB / 1.061 GB, free: 3.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.05363/2.566, allocations: 15.46 MB / 1.076 GB, free: 6.816 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/2.566, allocations: 96 kB / 1.076 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02553/2.592, allocations: 6.767 MB / 1.083 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/2.608, allocations: 2.876 MB / 1.086 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01933/2.628, allocations: 2.356 MB / 1.088 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/2.652, allocations: 11.26 MB / 1.099 GB, free: 2.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02108/2.673, allocations: 0.8694 MB / 1.1 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003326/2.677, allocations: 0.585 MB / 1.1 GB, free: 0.8711 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.4395/3.116, allocations: 3.477 MB / 1.104 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003178/3.119, allocations: 0.586 MB / 1.104 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04285/3.162, allocations: 7.587 MB / 1.112 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02609/3.189, allocations: 6.748 MB / 1.118 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.983e-05/3.189, allocations: 7.375 kB / 1.118 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-05/3.189, allocations: 11.94 kB / 1.118 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02186/3.211, allocations: 7.421 MB / 1.126 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/3.211, allocations: 1.312 kB / 1.126 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006433/3.217, allocations: 0.6005 MB / 1.126 GB, free: 115.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0176/3.235, allocations: 3.133 MB / 1.129 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/3.236, allocations: 96.72 kB / 1.129 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/3.258, allocations: 14 MB / 1.143 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004595/3.263, allocations: 6.028 MB / 1.149 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03438/3.297, allocations: 11.62 MB / 1.16 GB, free: 97.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004401/3.302, allocations: 1.132 MB / 1.161 GB, free: 97.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002106/3.304, allocations: 73.16 kB / 1.161 GB, free: 97.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007308/3.311, allocations: 384.9 kB / 1.162 GB, free: 97.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/3.313, allocations: 219.3 kB / 1.162 GB, free: 97.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004748/3.313, allocations: 84.98 kB / 1.162 GB, free: 97.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01115/3.324, allocations: 4.092 MB / 1.166 GB, free: 96.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.183e-06/3.324, allocations: 0 / 1.166 GB, free: 96.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01389/3.338, allocations: 2.011 MB / 1.168 GB, free: 95.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * 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 (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001534/3.34, allocations: 234.7 kB / 1.168 GB, free: 95.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03022/3.37, allocations: 10.82 MB / 1.179 GB, free: 91.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/3.37, allocations: 2.125 kB / 1.179 GB, free: 91.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01653/3.387, allocations: 5.337 MB / 1.184 GB, free: 89.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/3.397, allocations: 0.8748 MB / 1.185 GB, free: 88.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.051/3.449, allocations: 22.32 MB / 1.207 GB, free: 70.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01375/3.462, allocations: 5.404 MB / 1.212 GB, free: 66.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0148/3.477, allocations: 2.926 MB / 1.215 GB, free: 64.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002725/3.48, allocations: 429.1 kB / 1.215 GB, free: 64.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/3.48, allocations: 0 / 1.215 GB, free: 64.25 MB / 474.7 MB Notification: Performance of Templates: time 0.673/4.153, allocations: 71.15 MB / 1.285 GB, free: 96.12 MB / 474.7 MB