Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.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.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002727/0.002727, allocations: 347.2 kB / 15.93 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.669/3.669, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.00358/0.00358, allocations: 226.1 kB / 397.9 MB, free: 4.891 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.4714/0.4714, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006622, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09224, allocations: 48.7 MB / 0.6067 GB, free: 4.629 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5149, allocations: 94.09 MB / 0.6986 GB, free: 18.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5153, allocations: 75.97 kB / 0.6987 GB, free: 18.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8648/1.38, allocations: 129.9 MB / 0.8255 GB, free: 79.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.38, allocations: 0 / 0.8255 GB, free: 79.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000419/1.381, allocations: 129 kB / 0.8256 GB, free: 79.11 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0286/1.409, allocations: 6.612 MB / 0.8321 GB, free: 74.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.409, allocations: 10.53 kB / 0.8321 GB, free: 74.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04915/1.458, allocations: 5.458 MB / 0.8374 GB, free: 71.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02021/1.479, allocations: 6.03 MB / 0.8433 GB, free: 67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/1.479, allocations: 0.4948 MB / 0.8438 GB, free: 66.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/1.483, allocations: 0.6531 MB / 0.8445 GB, free: 65.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04854/1.531, allocations: 16.41 MB / 0.8605 GB, free: 48.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004458/1.532, allocations: 75.25 kB / 0.8605 GB, free: 48.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003425/1.535, allocations: 314.8 kB / 0.8608 GB, free: 48.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003345/1.538, allocations: 1.576 MB / 0.8624 GB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04442/1.583, allocations: 13.89 MB / 0.876 GB, free: 32.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4491/2.032, allocations: 66.06 MB / 0.9405 GB, free: 47.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02924/2.061, allocations: 6.907 MB / 0.9472 GB, free: 46.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009501/2.071, allocations: 4.229 MB / 0.9513 GB, free: 46.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04005/2.111, allocations: 14.95 MB / 0.9659 GB, free: 45.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.078e-05/2.111, allocations: 63.81 kB / 0.966 GB, free: 45.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 8.136e-06/2.111, allocations: 2.531 kB / 0.966 GB, free: 45.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=348): time 0.1349/2.246, allocations: 30.7 MB / 0.996 GB, free: 35.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/2.246, allocations: 219.8 kB / 0.9962 GB, free: 35.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/2.258, allocations: 5.292 MB / 1.001 GB, free: 33.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009376/2.259, allocations: 79.2 kB / 1.001 GB, free: 33.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004069/2.263, allocations: 4.391 MB / 1.006 GB, free: 30.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002205/2.265, allocations: 1.273 MB / 1.007 GB, free: 29.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/2.267, allocations: 162.3 kB / 1.007 GB, free: 29.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005927/2.267, allocations: 0.6481 MB / 1.008 GB, free: 28.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/2.277, allocations: 3.617 MB / 1.011 GB, free: 27.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/2.29, allocations: 8.1 MB / 1.019 GB, free: 20.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/2.304, allocations: 5.308 MB / 1.024 GB, free: 16.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002107/2.305, allocations: 47.12 kB / 1.024 GB, free: 15.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03817/2.343, allocations: 13.01 MB / 1.037 GB, free: 5.418 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/2.343, allocations: 72 kB / 1.037 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/2.343, allocations: 156 kB / 1.037 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007009/2.35, allocations: 1.629 MB / 1.039 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01423/2.365, allocations: 1.93 MB / 1.041 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02649/2.391, allocations: 11.52 MB / 1.052 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009956/2.401, allocations: 495.2 kB / 1.053 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.403, allocations: 481 kB / 1.053 GB, free: 7.73 MB / 442.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.009403/2.413, allocations: 3.079 MB / 1.056 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/2.415, allocations: 0.4975 MB / 1.057 GB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/2.439, allocations: 7.42 MB / 1.064 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.05e-05/2.44, allocations: 36 kB / 1.064 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.891e-05/2.44, allocations: 15.38 kB / 1.064 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/2.44, allocations: 15.94 kB / 1.064 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05467/2.494, allocations: 16.04 MB / 1.079 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.043e-05/2.494, allocations: 1.312 kB / 1.079 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006587/2.501, allocations: 0.6007 MB / 1.08 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007059/2.508, allocations: 1.384 MB / 1.081 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.509, allocations: 59.98 kB / 1.081 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02404/2.533, allocations: 10.55 MB / 1.092 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.533, allocations: 4 kB / 1.092 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03513/2.568, allocations: 11.9 MB / 1.103 GB, free: 4.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004571/2.573, allocations: 1.1 MB / 1.104 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001858/2.575, allocations: 57.17 kB / 1.105 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005787/2.581, allocations: 251.6 kB / 1.105 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/2.582, allocations: 202 kB / 1.105 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00063/2.583, allocations: 92.84 kB / 1.105 GB, free: 2.867 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.3838/2.967, allocations: 3.312 MB / 1.108 GB, free: 140.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.32e-07/2.967, allocations: 0.7656 kB / 1.108 GB, free: 140.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01136/2.978, allocations: 1.61 MB / 1.11 GB, free: 140.4 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.001399/2.98, allocations: 208.9 kB / 1.11 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02468/3.004, allocations: 8.964 MB / 1.119 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/3.004, allocations: 0 / 1.119 GB, free: 140 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01228/3.017, allocations: 3.779 MB / 1.122 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008602/3.025, allocations: 0.6698 MB / 1.123 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04644/3.072, allocations: 18.13 MB / 1.141 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/3.085, allocations: 4.927 MB / 1.146 GB, free: 132.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01327/3.098, allocations: 2.647 MB / 1.148 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003602/3.102, allocations: 375 kB / 1.149 GB, free: 132.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.665e-06/3.102, allocations: 5.625 kB / 1.149 GB, free: 132.1 MB / 490.7 MB Notification: Performance of Templates: time 0.2134/3.315, allocations: 61.69 MB / 1.209 GB, free: 99.76 MB / 490.7 MB