Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.3 MB / 224.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08811, allocations: 48.72 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4423, allocations: 97.07 MB / 428.4 MB, free: 4.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4426, allocations: 83.95 kB / 428.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5723/1.015, allocations: 91.05 MB / 0.5073 GB, free: 90.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.448e-06/1.015, allocations: 1 kB / 0.5073 GB, free: 90.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00024/1.015, allocations: 86.25 kB / 0.5074 GB, free: 90.33 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.01374/1.029, allocations: 4.397 MB / 0.5117 GB, free: 88.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.029, allocations: 10.69 kB / 0.5117 GB, free: 88.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02405/1.053, allocations: 4.433 MB / 0.516 GB, free: 88.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/1.067, allocations: 4.735 MB / 0.5207 GB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/1.068, allocations: 357.1 kB / 0.521 GB, free: 87.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/1.07, allocations: 461.2 kB / 0.5214 GB, free: 87.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/1.092, allocations: 10.67 MB / 0.5319 GB, free: 82.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/1.093, allocations: 61.25 kB / 0.5319 GB, free: 82.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/1.094, allocations: 224.8 kB / 0.5321 GB, free: 82.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/1.096, allocations: 0.9972 MB / 0.5331 GB, free: 82.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/1.116, allocations: 8.651 MB / 0.5416 GB, free: 79.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05495/1.171, allocations: 46.88 MB / 0.5873 GB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007236/1.178, allocations: 3.015 MB / 0.5903 GB, free: 37.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004915/1.179, allocations: 338.9 kB / 0.5906 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.179, allocations: 55.69 kB / 0.5906 GB, free: 37.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.911e-06/1.179, allocations: 0 / 0.5906 GB, free: 37.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.03782/1.217, allocations: 13.89 MB / 0.6042 GB, free: 23.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/1.217, allocations: 205.2 kB / 0.6044 GB, free: 23.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006329/1.223, allocations: 3.39 MB / 0.6077 GB, free: 19.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003678/1.223, allocations: 61.06 kB / 0.6078 GB, free: 19.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.226, allocations: 3.147 MB / 0.6108 GB, free: 16.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008885/1.227, allocations: 0.743 MB / 0.6116 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/1.227, allocations: 124 kB / 0.6117 GB, free: 15.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003622/1.227, allocations: 0.5551 MB / 0.6122 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004634/1.232, allocations: 2.124 MB / 0.6143 GB, free: 12.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/1.239, allocations: 5.775 MB / 0.6199 GB, free: 5.383 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/1.245, allocations: 3.411 MB / 0.6233 GB, free: 1.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.841e-05/1.245, allocations: 40 kB / 0.6233 GB, free: 1.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02057/1.266, allocations: 7.758 MB / 0.6309 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.266, allocations: 60 kB / 0.631 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/1.266, allocations: 128 kB / 0.6311 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/1.268, allocations: 393.3 kB / 0.6314 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006758/1.274, allocations: 1.427 MB / 0.6328 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005328/1.28, allocations: 3.06 MB / 0.6358 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006078/1.286, allocations: 347.5 kB / 0.6362 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/1.287, allocations: 372 kB / 0.6365 GB, free: 4.277 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.006038/1.293, allocations: 2.231 MB / 0.6387 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008669/1.294, allocations: 339.6 kB / 0.639 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2607/1.555, allocations: 2.806 MB / 0.6418 GB, free: 94.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.255e-05/1.555, allocations: 22.91 kB / 0.6418 GB, free: 94.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/1.555, allocations: 3.484 kB / 0.6418 GB, free: 94.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-05/1.555, allocations: 10.19 kB / 0.6418 GB, free: 94.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.576, allocations: 7.639 MB / 0.6493 GB, free: 93.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.576, allocations: 1.734 kB / 0.6493 GB, free: 93.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.579, allocations: 349.6 kB / 0.6496 GB, free: 93.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007915/1.579, allocations: 188.6 kB / 0.6498 GB, free: 93.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003396/1.58, allocations: 38.61 kB / 0.6498 GB, free: 93.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/1.583, allocations: 2.605 MB / 0.6523 GB, free: 92.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.839e-06/1.584, allocations: 1.531 kB / 0.6523 GB, free: 92.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.595, allocations: 5.45 MB / 0.6577 GB, free: 92.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.597, allocations: 0.6372 MB / 0.6583 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005562/1.598, allocations: 30.12 kB / 0.6583 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.6, allocations: 120.1 kB / 0.6584 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004316/1.6, allocations: 126.8 kB / 0.6586 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.6, allocations: 54.52 kB / 0.6586 GB, free: 91.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004832/1.605, allocations: 2.366 MB / 0.6609 GB, free: 91.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.273e-06/1.605, allocations: 1.156 kB / 0.6609 GB, free: 91.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006569/1.612, allocations: 0.9926 MB / 0.6619 GB, free: 91.77 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.0005621/1.612, allocations: 174.3 kB / 0.6621 GB, free: 91.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01085/1.623, allocations: 5.091 MB / 0.667 GB, free: 90.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.407e-06/1.623, allocations: 0 / 0.667 GB, free: 90.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.627, allocations: 1.647 MB / 0.6686 GB, free: 90.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.629, allocations: 393.4 kB / 0.669 GB, free: 90 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/1.651, allocations: 11.69 MB / 0.6804 GB, free: 84.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006207/1.657, allocations: 3.546 MB / 0.6839 GB, free: 82.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.658, allocations: 305.4 kB / 0.6842 GB, free: 82.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.64e-06/1.658, allocations: 0 / 0.6842 GB, free: 82.7 MB / 426.7 MB Notification: Performance of Templates: time 0.1073/1.766, allocations: 75.83 MB / 0.7582 GB, free: 29.86 MB / 426.7 MB