Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002659/0.002659, allocations: 347.4 kB / 15.94 MB, free: 6.199 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.67/3.67, 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.003593/0.003593, allocations: 218.1 kB / 397.9 MB, free: 4.98 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.4901/0.4901, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005059, allocations: 15.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09287, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5258, allocations: 96.11 MB / 0.7006 GB, free: 16.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5262, allocations: 85.03 kB / 0.7007 GB, free: 16.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045/1.571, allocations: 137.2 MB / 0.8347 GB, free: 75.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.817e-06/1.571, allocations: 0 / 0.8347 GB, free: 75.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006427/1.572, allocations: 136.4 kB / 0.8348 GB, free: 75.41 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.04245/1.614, allocations: 7.042 MB / 0.8417 GB, free: 69.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/1.614, allocations: 11.97 kB / 0.8417 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04376/1.658, allocations: 5.538 MB / 0.8471 GB, free: 64.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/1.678, allocations: 6.326 MB / 0.8533 GB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007355/1.679, allocations: 0.5137 MB / 0.8538 GB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004184/1.683, allocations: 0.687 MB / 0.8545 GB, free: 56.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06924/1.752, allocations: 17.11 MB / 0.8712 GB, free: 38.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005979/1.753, allocations: 83.28 kB / 0.8712 GB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004109/1.757, allocations: 331.8 kB / 0.8716 GB, free: 37.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003977/1.761, allocations: 1.624 MB / 0.8731 GB, free: 36.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0504/1.812, allocations: 14.18 MB / 0.887 GB, free: 21.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4674/2.279, allocations: 72.13 MB / 0.9574 GB, free: 36.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03039/2.309, allocations: 7.056 MB / 0.9643 GB, free: 35.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009387/2.319, allocations: 3.982 MB / 0.9682 GB, free: 35.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02566/2.345, allocations: 9.414 MB / 0.9774 GB, free: 34.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/2.345, allocations: 69.22 kB / 0.9775 GB, free: 34.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=297): time 7.334e-06/2.345, allocations: 0 / 0.9775 GB, free: 34.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.145/2.49, allocations: 32.1 MB / 1.009 GB, free: 25.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/2.49, allocations: 243.1 kB / 1.009 GB, free: 25.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01651/2.506, allocations: 6.663 MB / 1.016 GB, free: 22.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009766/2.508, allocations: 78.55 kB / 1.016 GB, free: 22.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004656/2.512, allocations: 4.803 MB / 1.02 GB, free: 19.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002249/2.514, allocations: 1.267 MB / 1.022 GB, free: 18.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/2.516, allocations: 182.5 kB / 1.022 GB, free: 18.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000688/2.517, allocations: 0.6768 MB / 1.022 GB, free: 17.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009891/2.527, allocations: 3.735 MB / 1.026 GB, free: 16.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.54, allocations: 8.796 MB / 1.035 GB, free: 8.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/2.553, allocations: 5.598 MB / 1.04 GB, free: 4.555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001909/2.553, allocations: 52 kB / 1.04 GB, free: 4.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.04217/2.595, allocations: 13.79 MB / 1.054 GB, free: 9.125 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/2.596, allocations: 80 kB / 1.054 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003794/2.596, allocations: 179.6 kB / 1.054 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007668/2.604, allocations: 1.668 MB / 1.055 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01499/2.619, allocations: 2.117 MB / 1.058 GB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/2.644, allocations: 11.41 MB / 1.069 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01813/2.662, allocations: 0.5155 MB / 1.069 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003602/2.665, allocations: 0.521 MB / 1.07 GB, free: 10.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1089): * Single equations (assignments): 1084 * 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.01495/2.68, allocations: 3.273 MB / 1.073 GB, free: 7.797 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002199/2.683, allocations: 0.5861 MB / 1.073 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/2.709, allocations: 7.485 MB / 1.081 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.69e-05/2.709, allocations: 36 kB / 1.081 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-05/2.709, allocations: 9.688 kB / 1.081 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.941e-05/2.709, allocations: 22.09 kB / 1.081 GB, free: 1.066 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05671/2.766, allocations: 16.02 MB / 1.097 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.534e-05/2.766, allocations: 9.156 kB / 1.097 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006911/2.773, allocations: 0.624 MB / 1.097 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3399/3.113, allocations: 1.391 MB / 1.098 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/3.114, allocations: 62.94 kB / 1.099 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02446/3.138, allocations: 10.61 MB / 1.109 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/3.138, allocations: 9.344 kB / 1.109 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03308/3.171, allocations: 11.85 MB / 1.12 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00495/3.176, allocations: 1.2 MB / 1.122 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002649/3.179, allocations: 62.69 kB / 1.122 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007497/3.186, allocations: 223.4 kB / 1.122 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/3.188, allocations: 200.2 kB / 1.122 GB, free: 116.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005123/3.188, allocations: 93.88 kB / 1.122 GB, free: 116.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01252/3.201, allocations: 4.284 MB / 1.126 GB, free: 116 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/3.201, allocations: 1.188 kB / 1.126 GB, free: 116 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0129/3.214, allocations: 1.699 MB / 1.128 GB, free: 116 MB / 474.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 (279): * Single equations (assignments): 274 * 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.001482/3.215, allocations: 213.9 kB / 1.128 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02242/3.238, allocations: 9.176 MB / 1.137 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/3.238, allocations: 5.938 kB / 1.137 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01037/3.248, allocations: 3.701 MB / 1.141 GB, free: 112.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009465/3.258, allocations: 0.7639 MB / 1.142 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05645/3.314, allocations: 19.01 MB / 1.16 GB, free: 103.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01812/3.333, allocations: 5.179 MB / 1.165 GB, free: 101.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02141/3.354, allocations: 2.971 MB / 1.168 GB, free: 101.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005057/3.359, allocations: 414.5 kB / 1.169 GB, free: 101.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.144e-06/3.359, allocations: 0 / 1.169 GB, free: 101.2 MB / 474.7 MB Notification: Performance of Templates: time 0.2141/3.573, allocations: 64.89 MB / 1.232 GB, free: 50.27 MB / 474.7 MB