Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.182/2.182, allocations: 234.9 MB / 250.5 MB, free: 9.449 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 19.98 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.5251, allocations: 103.9 MB / 473.2 MB, free: 2.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5254, allocations: 83.95 kB / 473.2 MB, free: 2.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5766/1.102, allocations: 91.03 MB / 0.551 GB, free: 20.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.166e-06/1.102, allocations: 0 / 0.551 GB, free: 20.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001911/1.102, allocations: 84 kB / 0.5511 GB, free: 20.86 MB / 394.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.01214/1.114, allocations: 4.385 MB / 0.5554 GB, free: 16.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.115, allocations: 15.97 kB / 0.5554 GB, free: 16.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02216/1.137, allocations: 4.432 MB / 0.5597 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/1.15, allocations: 4.749 MB / 0.5644 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/1.15, allocations: 353.2 kB / 0.5647 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/1.152, allocations: 467.8 kB / 0.5652 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/1.176, allocations: 10.68 MB / 0.5756 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002278/1.176, allocations: 67.34 kB / 0.5757 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/1.178, allocations: 219.9 kB / 0.5759 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001907/1.18, allocations: 0.9877 MB / 0.5768 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/1.202, allocations: 8.652 MB / 0.5853 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0691/1.271, allocations: 46.89 MB / 0.6311 GB, free: 268 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008239/1.279, allocations: 3.005 MB / 0.634 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/1.28, allocations: 340.2 kB / 0.6343 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/1.28, allocations: 47.78 kB / 0.6344 GB, free: 12.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 6.511e-06/1.28, allocations: 4 kB / 0.6344 GB, free: 12.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=194): time 0.3086/1.589, allocations: 13.88 MB / 0.6479 GB, free: 113.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.589, allocations: 202.1 kB / 0.6481 GB, free: 113 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007048/1.596, allocations: 3.381 MB / 0.6514 GB, free: 112.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/1.596, allocations: 52.67 kB / 0.6515 GB, free: 112.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.598, allocations: 3.145 MB / 0.6546 GB, free: 111.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/1.599, allocations: 0.74 MB / 0.6553 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/1.599, allocations: 124.1 kB / 0.6554 GB, free: 111.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003676/1.6, allocations: 0.5573 MB / 0.6559 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004881/1.605, allocations: 2.122 MB / 0.658 GB, free: 111.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006316/1.611, allocations: 5.77 MB / 0.6636 GB, free: 106.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/1.618, allocations: 3.414 MB / 0.667 GB, free: 106.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/1.618, allocations: 39.12 kB / 0.667 GB, free: 106.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0182/1.636, allocations: 7.772 MB / 0.6746 GB, free: 105.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.637, allocations: 60.81 kB / 0.6747 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/1.637, allocations: 130.9 kB / 0.6748 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.638, allocations: 382.1 kB / 0.6752 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006055/1.644, allocations: 1.424 MB / 0.6765 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/1.648, allocations: 3.05 MB / 0.6795 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/1.654, allocations: 352.6 kB / 0.6799 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.656, allocations: 371.4 kB / 0.6802 GB, free: 104.2 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.00504/1.661, allocations: 2.227 MB / 0.6824 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/1.661, allocations: 344.5 kB / 0.6827 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006955/1.668, allocations: 2.808 MB / 0.6855 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-05/1.668, allocations: 25.09 kB / 0.6855 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.669, allocations: 3.844 kB / 0.6855 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/1.669, allocations: 7.734 kB / 0.6855 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.688, allocations: 7.653 MB / 0.693 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.688, allocations: 0 / 0.693 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.691, allocations: 346.2 kB / 0.6933 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00077/1.691, allocations: 184.9 kB / 0.6935 GB, free: 99.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/1.692, allocations: 38.42 kB / 0.6935 GB, free: 99.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/1.695, allocations: 2.607 MB / 0.6961 GB, free: 98.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.002e-06/1.695, allocations: 3.906 kB / 0.6961 GB, free: 98.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.706, allocations: 5.447 MB / 0.7014 GB, free: 95.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.708, allocations: 0.6286 MB / 0.702 GB, free: 95.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009295/1.709, allocations: 28.36 kB / 0.702 GB, free: 95.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.711, allocations: 121.9 kB / 0.7021 GB, free: 95.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005027/1.712, allocations: 127.4 kB / 0.7023 GB, free: 95.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/1.712, allocations: 58.3 kB / 0.7023 GB, free: 95.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005145/1.717, allocations: 2.349 MB / 0.7046 GB, free: 94.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.179e-06/1.717, allocations: 3.172 kB / 0.7046 GB, free: 94.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006918/1.724, allocations: 0.9965 MB / 0.7056 GB, free: 94.43 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.0006176/1.725, allocations: 165 kB / 0.7057 GB, free: 94.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.735, allocations: 5.105 MB / 0.7107 GB, free: 92.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.479e-06/1.735, allocations: 0 / 0.7107 GB, free: 92.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003421/1.739, allocations: 1.644 MB / 0.7123 GB, free: 91.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.741, allocations: 392 kB / 0.7127 GB, free: 91.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/1.763, allocations: 11.67 MB / 0.7241 GB, free: 82.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006484/1.77, allocations: 3.536 MB / 0.7276 GB, free: 79.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.771, allocations: 307.8 kB / 0.7278 GB, free: 79.14 MB / 474.7 MB Notification: Performance of SimCode: time 1.942e-06/1.771, allocations: 0 / 0.7278 GB, free: 79.14 MB / 474.7 MB Notification: Performance of Templates: time 0.1044/1.876, allocations: 75.85 MB / 0.8019 GB, free: 11.7 MB / 474.7 MB