Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002796/0.002801, allocations: 364.1 kB / 15.95 MB, free: 6.188 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.143/4.143, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.003687/0.003686, allocations: 235.2 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.6142/0.6142, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004602, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.5882, allocations: 100.9 MB / 0.7786 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5885, allocations: 78.34 kB / 0.7787 GB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8703/1.459, allocations: 130 MB / 0.9057 GB, free: 87.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.459, allocations: 5.141 kB / 0.9057 GB, free: 87.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004535/1.459, allocations: 130.7 kB / 0.9058 GB, free: 87.56 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02967/1.489, allocations: 6.614 MB / 0.9123 GB, free: 84.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.489, allocations: 8.719 kB / 0.9123 GB, free: 84.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04347/1.533, allocations: 5.456 MB / 0.9176 GB, free: 84.44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/1.552, allocations: 6.047 MB / 0.9235 GB, free: 83.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006515/1.552, allocations: 0.4929 MB / 0.924 GB, free: 83.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003706/1.556, allocations: 0.6546 MB / 0.9246 GB, free: 83.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05213/1.608, allocations: 16.41 MB / 0.9407 GB, free: 80.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005223/1.609, allocations: 81.25 kB / 0.9407 GB, free: 80.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003489/1.612, allocations: 308.4 kB / 0.941 GB, free: 80.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/1.616, allocations: 1.589 MB / 0.9426 GB, free: 80.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04403/1.66, allocations: 13.91 MB / 0.9562 GB, free: 80.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.771, allocations: 66.11 MB / 1.021 GB, free: 32.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02777/1.799, allocations: 6.931 MB / 1.028 GB, free: 27.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008853/1.808, allocations: 4.231 MB / 1.032 GB, free: 23.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0362/1.844, allocations: 14.95 MB / 1.046 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/1.844, allocations: 64.52 kB / 1.046 GB, free: 10.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 6.953e-06/1.844, allocations: 0 / 1.046 GB, free: 10.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.4977/2.342, allocations: 30.72 MB / 1.076 GB, free: 96.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.342, allocations: 216.1 kB / 1.077 GB, free: 96.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01556/2.357, allocations: 5.289 MB / 1.082 GB, free: 95.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009707/2.359, allocations: 77.86 kB / 1.082 GB, free: 95.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004721/2.363, allocations: 4.396 MB / 1.086 GB, free: 94.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002367/2.366, allocations: 1.273 MB / 1.087 GB, free: 94.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/2.367, allocations: 164.6 kB / 1.087 GB, free: 94.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008915/2.368, allocations: 0.6455 MB / 1.088 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/2.379, allocations: 3.616 MB / 1.092 GB, free: 93.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01444/2.393, allocations: 8.1 MB / 1.1 GB, free: 88.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/2.407, allocations: 5.307 MB / 1.105 GB, free: 88.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002658/2.407, allocations: 44.84 kB / 1.105 GB, free: 88.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03841/2.445, allocations: 13.01 MB / 1.117 GB, free: 87.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000161/2.445, allocations: 70.5 kB / 1.118 GB, free: 87.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/2.446, allocations: 160.7 kB / 1.118 GB, free: 87.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006941/2.453, allocations: 1.64 MB / 1.119 GB, free: 87.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/2.466, allocations: 1.92 MB / 1.121 GB, free: 87.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/2.487, allocations: 11.37 MB / 1.132 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/2.498, allocations: 0.4898 MB / 1.133 GB, free: 81.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002237/2.5, allocations: 487 kB / 1.133 GB, free: 81.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (996): * Single equations (assignments): 991 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009196/2.509, allocations: 3.073 MB / 1.136 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.511, allocations: 0.5 MB / 1.137 GB, free: 79.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/2.535, allocations: 7.408 MB / 1.144 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/2.535, allocations: 37.75 kB / 1.144 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/2.535, allocations: 6.875 kB / 1.144 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.18e-05/2.535, allocations: 24.33 kB / 1.144 GB, free: 77.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04897/2.584, allocations: 16.05 MB / 1.16 GB, free: 71.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.438e-05/2.585, allocations: 3.438 kB / 1.16 GB, free: 71.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006205/2.591, allocations: 0.603 MB / 1.16 GB, free: 71.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006421/2.597, allocations: 1.378 MB / 1.162 GB, free: 70.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009732/2.598, allocations: 62.73 kB / 1.162 GB, free: 70.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/2.619, allocations: 10.56 MB / 1.172 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/2.619, allocations: 0 / 1.172 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02993/2.649, allocations: 11.89 MB / 1.184 GB, free: 57.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004097/2.653, allocations: 1.098 MB / 1.185 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/2.655, allocations: 54.62 kB / 1.185 GB, free: 56.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005739/2.661, allocations: 251.5 kB / 1.185 GB, free: 55.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/2.662, allocations: 201.2 kB / 1.185 GB, free: 55.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004119/2.663, allocations: 87.66 kB / 1.185 GB, free: 55.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007853/2.671, allocations: 3.319 MB / 1.188 GB, free: 52.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.671, allocations: 0 / 1.188 GB, free: 52.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01028/2.681, allocations: 1.612 MB / 1.19 GB, free: 51.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.00127/2.682, allocations: 209.4 kB / 1.19 GB, free: 51.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02108/2.703, allocations: 8.96 MB / 1.199 GB, free: 43.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/2.703, allocations: 8 kB / 1.199 GB, free: 43.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0106/2.714, allocations: 3.781 MB / 1.203 GB, free: 40.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007434/2.721, allocations: 0.6644 MB / 1.203 GB, free: 39.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/2.763, allocations: 18.16 MB / 1.221 GB, free: 22.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01665/2.78, allocations: 4.921 MB / 1.226 GB, free: 19.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01359/2.794, allocations: 2.65 MB / 1.228 GB, free: 17.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003075/2.797, allocations: 379.6 kB / 1.229 GB, free: 17.22 MB / 490.7 MB Notification: Performance of SimCode: time 2.164e-06/2.797, allocations: 0 / 1.229 GB, free: 17.22 MB / 490.7 MB Notification: Performance of Templates: time 0.5732/3.37, allocations: 61.68 MB / 1.289 GB, free: 95.71 MB / 0.4948 GB