Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002783/0.002788, allocations: 363.1 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.704/3.704, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003471/0.00347, allocations: 217.7 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.5279/0.5279, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006177/0.0006179, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09283, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.5636, allocations: 101.5 MB / 0.7792 GB, free: 24 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.564, allocations: 85.39 kB / 0.7793 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9024/1.466, allocations: 127.8 MB / 0.9041 GB, free: 87.13 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.347e-06/1.466, allocations: 1.625 kB / 0.9041 GB, free: 87.13 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004777/1.467, allocations: 130.5 kB / 0.9042 GB, free: 87.13 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.03045/1.497, allocations: 6.831 MB / 0.9109 GB, free: 84.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.497, allocations: 13.03 kB / 0.9109 GB, free: 84.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04328/1.541, allocations: 5.468 MB / 0.9163 GB, free: 83.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.561, allocations: 6.177 MB / 0.9223 GB, free: 83.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006545/1.561, allocations: 495.7 kB / 0.9228 GB, free: 83.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003651/1.565, allocations: 0.6509 MB / 0.9234 GB, free: 83.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04878/1.614, allocations: 16.14 MB / 0.9392 GB, free: 79.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005323/1.614, allocations: 91.27 kB / 0.9392 GB, free: 79.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003269/1.618, allocations: 326 kB / 0.9396 GB, free: 79.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003517/1.621, allocations: 1.55 MB / 0.9411 GB, free: 79.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04067/1.662, allocations: 13.13 MB / 0.9539 GB, free: 79.13 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1262/1.788, allocations: 72.4 MB / 1.025 GB, free: 26.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03107/1.819, allocations: 7.333 MB / 1.032 GB, free: 21.37 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007706/1.827, allocations: 3.858 MB / 1.036 GB, free: 17.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02341/1.851, allocations: 9.597 MB / 1.045 GB, free: 9.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/1.851, allocations: 64.5 kB / 1.045 GB, free: 9.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 6.432e-06/1.851, allocations: 0 / 1.045 GB, free: 9.766 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.5348/2.386, allocations: 31.91 MB / 1.076 GB, free: 97.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/2.386, allocations: 244.7 kB / 1.076 GB, free: 96.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01982/2.406, allocations: 6.803 MB / 1.083 GB, free: 96.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008313/2.406, allocations: 71.95 kB / 1.083 GB, free: 96.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005235/2.412, allocations: 4.695 MB / 1.088 GB, free: 95.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002089/2.414, allocations: 1.19 MB / 1.089 GB, free: 94.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/2.415, allocations: 180.2 kB / 1.089 GB, free: 94.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009609/2.416, allocations: 0.6788 MB / 1.09 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/2.427, allocations: 3.553 MB / 1.093 GB, free: 94.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/2.44, allocations: 8.718 MB / 1.102 GB, free: 87.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/2.452, allocations: 5.435 MB / 1.107 GB, free: 87.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002022/2.452, allocations: 53.47 kB / 1.107 GB, free: 87.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03873/2.491, allocations: 13.46 MB / 1.12 GB, free: 87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/2.491, allocations: 84.95 kB / 1.12 GB, free: 87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003141/2.492, allocations: 184.6 kB / 1.12 GB, free: 87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00713/2.499, allocations: 1.651 MB / 1.122 GB, free: 86.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01378/2.513, allocations: 2.109 MB / 1.124 GB, free: 86.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02973/2.543, allocations: 11.24 MB / 1.135 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01777/2.56, allocations: 0.5247 MB / 1.136 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003091/2.564, allocations: 0.52 MB / 1.136 GB, free: 80.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1084): * Single equations (assignments): 1079 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01327/2.577, allocations: 3.151 MB / 1.139 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002582/2.579, allocations: 0.5853 MB / 1.14 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03212/2.612, allocations: 6.745 MB / 1.146 GB, free: 76.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/2.612, allocations: 32.88 kB / 1.146 GB, free: 76.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-05/2.612, allocations: 9.938 kB / 1.146 GB, free: 76.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/2.612, allocations: 18.23 kB / 1.146 GB, free: 76.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05319/2.665, allocations: 15.13 MB / 1.161 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.858e-05/2.665, allocations: 9.031 kB / 1.161 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005905/2.671, allocations: 0.5922 MB / 1.162 GB, free: 70.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006306/2.678, allocations: 1.367 MB / 1.163 GB, free: 70.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007965/2.678, allocations: 61.86 kB / 1.163 GB, free: 70.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/2.699, allocations: 10.43 MB / 1.173 GB, free: 64.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/2.699, allocations: 6 kB / 1.173 GB, free: 64.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02755/2.727, allocations: 11.01 MB / 1.184 GB, free: 55.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004604/2.731, allocations: 1.16 MB / 1.185 GB, free: 54.81 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/2.734, allocations: 56 kB / 1.185 GB, free: 54.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006145/2.74, allocations: 202.3 kB / 1.185 GB, free: 54.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/2.742, allocations: 205.5 kB / 1.186 GB, free: 54.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008544/2.743, allocations: 80.55 kB / 1.186 GB, free: 54.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01746/2.76, allocations: 4.359 MB / 1.19 GB, free: 50.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.543e-06/2.76, allocations: 0 / 1.19 GB, free: 50.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01451/2.775, allocations: 1.631 MB / 1.192 GB, free: 49.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/2.776, allocations: 208.3 kB / 1.192 GB, free: 49.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02299/2.799, allocations: 8.746 MB / 1.2 GB, free: 41.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/2.799, allocations: 0 / 1.2 GB, free: 41.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01398/2.813, allocations: 3.453 MB / 1.204 GB, free: 38.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01233/2.826, allocations: 0.7481 MB / 1.204 GB, free: 37.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05561/2.881, allocations: 18.01 MB / 1.222 GB, free: 21.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01528/2.897, allocations: 4.925 MB / 1.227 GB, free: 17.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01697/2.914, allocations: 2.955 MB / 1.23 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/2.916, allocations: 400.2 kB / 1.23 GB, free: 15.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.874e-06/2.916, allocations: 0 / 1.23 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Templates: time 0.5904/3.507, allocations: 63.22 MB / 1.292 GB, free: 94.62 MB / 0.4949 GB