Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002882/0.002882, allocations: 362.5 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.762/3.762, 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.003658/0.003658, allocations: 233.1 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.5526/0.5526, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007551/0.0007555, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09935, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5941/0.6935, allocations: 103.9 MB / 0.7815 GB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.6938, allocations: 78.47 kB / 0.7816 GB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4097/1.104, allocations: 90.5 MB / 0.87 GB, free: 10.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.786e-06/1.104, allocations: 4 kB / 0.87 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002975/1.104, allocations: 80 kB / 0.8701 GB, free: 10.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.02297/1.127, allocations: 4.334 MB / 0.8743 GB, free: 6.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.127, allocations: 12.03 kB / 0.8743 GB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/1.156, allocations: 3.609 MB / 0.8778 GB, free: 2.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/1.168, allocations: 3.641 MB / 0.8814 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/1.169, allocations: 353.2 kB / 0.8817 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/1.172, allocations: 463.7 kB / 0.8822 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03305/1.205, allocations: 10.67 MB / 0.8926 GB, free: 2.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/1.205, allocations: 63.47 kB / 0.8927 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002314/1.208, allocations: 219.9 kB / 0.8929 GB, free: 2.062 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002504/1.21, allocations: 0.9916 MB / 0.8938 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3625/1.573, allocations: 8.611 MB / 0.9022 GB, free: 103.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06819/1.641, allocations: 46.85 MB / 0.948 GB, free: 75.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009558/1.65, allocations: 2.996 MB / 0.9509 GB, free: 74.37 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004007/1.655, allocations: 1.664 MB / 0.9525 GB, free: 73.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/1.655, allocations: 337.8 kB / 0.9529 GB, free: 73.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.655, allocations: 56.22 kB / 0.9529 GB, free: 73.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 6.131e-06/1.655, allocations: 0 / 0.9529 GB, free: 73.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.07683/1.732, allocations: 13.83 MB / 0.9664 GB, free: 67.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.732, allocations: 200.6 kB / 0.9666 GB, free: 67.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01273/1.745, allocations: 3.784 MB / 0.9703 GB, free: 66.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006001/1.746, allocations: 56.39 kB / 0.9704 GB, free: 66.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003949/1.75, allocations: 3.22 MB / 0.9735 GB, free: 63.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.751, allocations: 0.7451 MB / 0.9742 GB, free: 63.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009425/1.752, allocations: 116.5 kB / 0.9744 GB, free: 63.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006616/1.753, allocations: 0.5599 MB / 0.9749 GB, free: 62.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008499/1.761, allocations: 2.118 MB / 0.977 GB, free: 62.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/1.773, allocations: 5.797 MB / 0.9826 GB, free: 56.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.784, allocations: 3.414 MB / 0.986 GB, free: 55.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/1.785, allocations: 36.34 kB / 0.986 GB, free: 55.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02962/1.814, allocations: 7.868 MB / 0.9937 GB, free: 52.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.814, allocations: 60.84 kB / 0.9937 GB, free: 52.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003005/1.815, allocations: 129.8 kB / 0.9939 GB, free: 52.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/1.816, allocations: 392.1 kB / 0.9942 GB, free: 52.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/1.829, allocations: 1.422 MB / 0.9956 GB, free: 52.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006742/1.835, allocations: 2.998 MB / 0.9986 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/1.847, allocations: 353.9 kB / 0.9989 GB, free: 49.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002896/1.85, allocations: 370.9 kB / 0.9992 GB, free: 49.93 MB / 474.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.01159/1.861, allocations: 2.23 MB / 1.001 GB, free: 48.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003157/1.864, allocations: 344.3 kB / 1.002 GB, free: 48.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/1.886, allocations: 2.814 MB / 1.005 GB, free: 47.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.298e-05/1.886, allocations: 20.94 kB / 1.005 GB, free: 47.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.886, allocations: 7.953 kB / 1.005 GB, free: 47.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-05/1.886, allocations: 10.41 kB / 1.005 GB, free: 47.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04217/1.928, allocations: 7.641 MB / 1.012 GB, free: 40.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-05/1.929, allocations: 0 / 1.012 GB, free: 40.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004708/1.933, allocations: 350.9 kB / 1.012 GB, free: 40.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/1.935, allocations: 183.3 kB / 1.013 GB, free: 40.55 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005901/1.935, allocations: 43.98 kB / 1.013 GB, free: 40.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/1.941, allocations: 2.555 MB / 1.015 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.941, allocations: 4.031 kB / 1.015 GB, free: 38.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/1.961, allocations: 5.373 MB / 1.02 GB, free: 33.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002931/1.964, allocations: 0.6188 MB / 1.021 GB, free: 32.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/1.965, allocations: 39.19 kB / 1.021 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004561/1.97, allocations: 119.8 kB / 1.021 GB, free: 32.69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009291/1.971, allocations: 125.9 kB / 1.021 GB, free: 32.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/1.971, allocations: 56.72 kB / 1.021 GB, free: 32.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008263/1.979, allocations: 2.351 MB / 1.024 GB, free: 30.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.979, allocations: 0 / 1.024 GB, free: 30.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01094/1.99, allocations: 0.9944 MB / 1.024 GB, free: 29.66 MB / 474.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.001045/1.992, allocations: 158.5 kB / 1.025 GB, free: 29.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01777/2.009, allocations: 5.121 MB / 1.03 GB, free: 25.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.601e-05/2.009, allocations: 0 / 1.03 GB, free: 25.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006031/2.015, allocations: 1.634 MB / 1.031 GB, free: 23.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/2.022, allocations: 417 kB / 1.032 GB, free: 23.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03312/2.055, allocations: 11.21 MB / 1.043 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007637/2.063, allocations: 3.541 MB / 1.046 GB, free: 10.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009171/2.072, allocations: 1.943 MB / 1.048 GB, free: 9.066 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/2.074, allocations: 256.7 kB / 1.048 GB, free: 8.832 MB / 474.7 MB Notification: Performance of SimCode: time 2.916e-06/2.074, allocations: 0 / 1.048 GB, free: 8.832 MB / 474.7 MB Notification: Performance of Templates: time 0.4425/2.516, allocations: 32.54 MB / 1.08 GB, free: 102.5 MB / 490.7 MB