Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005333/0.005338, 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.611/3.611, 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.005146/0.005146, 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.5746/0.5746, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005045, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.0882, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5099, allocations: 97.07 MB / 0.7015 GB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5102, allocations: 87.95 kB / 0.7016 GB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6894/1.2, allocations: 90.5 MB / 0.79 GB, free: 87.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.947e-06/1.2, allocations: 1.062 kB / 0.79 GB, free: 87.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000333/1.2, allocations: 89.84 kB / 0.7901 GB, free: 87.7 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01823/1.218, allocations: 4.347 MB / 0.7943 GB, free: 85.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.218, allocations: 8.781 kB / 0.7943 GB, free: 85.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02786/1.246, allocations: 3.618 MB / 0.7979 GB, free: 85.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/1.259, allocations: 3.629 MB / 0.8014 GB, free: 84.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/1.26, allocations: 352.7 kB / 0.8017 GB, free: 84.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002846/1.263, allocations: 461.5 kB / 0.8022 GB, free: 84.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/1.294, allocations: 10.68 MB / 0.8126 GB, free: 80.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/1.294, allocations: 53.86 kB / 0.8127 GB, free: 80.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/1.297, allocations: 226.1 kB / 0.8129 GB, free: 80.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/1.299, allocations: 0.9903 MB / 0.8138 GB, free: 79.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02544/1.325, allocations: 8.616 MB / 0.8223 GB, free: 77.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06824/1.393, allocations: 46.84 MB / 0.868 GB, free: 38.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009375/1.403, allocations: 3.011 MB / 0.8709 GB, free: 35.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/1.406, allocations: 1.646 MB / 0.8725 GB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/1.407, allocations: 344.8 kB / 0.8729 GB, free: 33.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/1.407, allocations: 53.89 kB / 0.8729 GB, free: 33.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.981e-06/1.407, allocations: 0 / 0.8729 GB, free: 33.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.05268/1.46, allocations: 13.84 MB / 0.8864 GB, free: 19.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/1.46, allocations: 197.2 kB / 0.8866 GB, free: 18.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/1.468, allocations: 3.806 MB / 0.8904 GB, free: 15.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005328/1.468, allocations: 56.52 kB / 0.8904 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00299/1.471, allocations: 3.208 MB / 0.8935 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.473, allocations: 0.7398 MB / 0.8943 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/1.473, allocations: 120 kB / 0.8944 GB, free: 11.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004192/1.474, allocations: 0.5658 MB / 0.8949 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006013/1.48, allocations: 2.116 MB / 0.897 GB, free: 8.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009098/1.489, allocations: 5.795 MB / 0.9027 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009713/1.499, allocations: 3.417 MB / 0.906 GB, free: 13.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.499, allocations: 36 kB / 0.906 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.026/1.525, allocations: 7.872 MB / 0.9137 GB, free: 5.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.525, allocations: 64.03 kB / 0.9138 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/1.526, allocations: 135.9 kB / 0.9139 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.527, allocations: 380.7 kB / 0.9143 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009829/1.537, allocations: 1.428 MB / 0.9157 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/1.543, allocations: 3.002 MB / 0.9186 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3505/1.894, allocations: 345 kB / 0.9189 GB, free: 91.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/1.895, allocations: 366.1 kB / 0.9193 GB, free: 91.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (744): * Single equations (assignments): 740 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00705/1.903, allocations: 2.228 MB / 0.9214 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009242/1.904, allocations: 346.8 kB / 0.9218 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009714/1.913, allocations: 2.813 MB / 0.9245 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.19e-05/1.913, allocations: 22.22 kB / 0.9245 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.913, allocations: 3.469 kB / 0.9246 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/1.913, allocations: 10.88 kB / 0.9246 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.94, allocations: 7.644 MB / 0.932 GB, free: 90.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/1.94, allocations: 1.906 kB / 0.932 GB, free: 90.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00368/1.944, allocations: 348.8 kB / 0.9324 GB, free: 90.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009641/1.945, allocations: 187.1 kB / 0.9325 GB, free: 90.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/1.945, allocations: 38.75 kB / 0.9326 GB, free: 90.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004279/1.949, allocations: 2.556 MB / 0.9351 GB, free: 89.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.949, allocations: 8.281 kB / 0.9351 GB, free: 89.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.963, allocations: 5.377 MB / 0.9403 GB, free: 88.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.966, allocations: 0.6327 MB / 0.9409 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007328/1.966, allocations: 29.69 kB / 0.941 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/1.969, allocations: 125.2 kB / 0.9411 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004879/1.97, allocations: 129.4 kB / 0.9412 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.97, allocations: 55.11 kB / 0.9413 GB, free: 88.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006248/1.976, allocations: 2.364 MB / 0.9436 GB, free: 88.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.484e-06/1.976, allocations: 1.625 kB / 0.9436 GB, free: 88.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007583/1.984, allocations: 0.9905 MB / 0.9446 GB, free: 88.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007048/1.985, allocations: 166.1 kB / 0.9447 GB, free: 88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01319/1.998, allocations: 5.105 MB / 0.9497 GB, free: 86.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.998, allocations: 0 / 0.9497 GB, free: 86.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004085/2.002, allocations: 1.642 MB / 0.9513 GB, free: 86.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/2.006, allocations: 421.5 kB / 0.9517 GB, free: 85.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02617/2.032, allocations: 11.22 MB / 0.9627 GB, free: 80.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009109/2.041, allocations: 3.543 MB / 0.9661 GB, free: 78.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009201/2.05, allocations: 1.943 MB / 0.968 GB, free: 78.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.052, allocations: 253.8 kB / 0.9683 GB, free: 78.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/2.052, allocations: 0 / 0.9683 GB, free: 78.84 MB / 426.7 MB Notification: Performance of Templates: time 0.09752/2.15, allocations: 32.55 MB / 1 GB, free: 66.34 MB / 426.7 MB