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.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.2 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007748/0.0007748, allocations: 12 kB / 282.6 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1067, allocations: 48.71 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4599, allocations: 94.09 MB / 425.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4602, allocations: 83.95 kB / 425.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7084/1.169, allocations: 130.7 MB / 0.5431 GB, free: 83.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.014e-06/1.169, allocations: 2.516 kB / 0.5431 GB, free: 83.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003551/1.169, allocations: 130.5 kB / 0.5433 GB, free: 83.77 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02255/1.192, allocations: 6.798 MB / 0.5499 GB, free: 79.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.192, allocations: 9.656 kB / 0.5499 GB, free: 79.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03635/1.228, allocations: 7.099 MB / 0.5569 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/1.248, allocations: 7.263 MB / 0.5639 GB, free: 69.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005591/1.249, allocations: 0.4973 MB / 0.5644 GB, free: 68.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002871/1.251, allocations: 0.6559 MB / 0.5651 GB, free: 67.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04028/1.292, allocations: 16.54 MB / 0.5812 GB, free: 50.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003538/1.292, allocations: 75.34 kB / 0.5813 GB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002465/1.295, allocations: 319.7 kB / 0.5816 GB, free: 49.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/1.297, allocations: 1.581 MB / 0.5831 GB, free: 48.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03432/1.332, allocations: 14.09 MB / 0.5969 GB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3789/1.71, allocations: 66.15 MB / 0.6615 GB, free: 50.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/1.734, allocations: 7.063 MB / 0.6684 GB, free: 49.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03197/1.766, allocations: 15.05 MB / 0.6831 GB, free: 47.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/1.766, allocations: 75.67 kB / 0.6832 GB, free: 47.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 7.596e-06/1.766, allocations: 0 / 0.6832 GB, free: 47.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=348): time 0.1031/1.869, allocations: 30.73 MB / 0.7132 GB, free: 39.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/1.869, allocations: 221.9 kB / 0.7134 GB, free: 38.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.88, allocations: 4.705 MB / 0.718 GB, free: 37.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007918/1.881, allocations: 81.2 kB / 0.7181 GB, free: 37.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003064/1.884, allocations: 4.23 MB / 0.7222 GB, free: 33.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001769/1.886, allocations: 1.277 MB / 0.7234 GB, free: 32.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009113/1.887, allocations: 161.4 kB / 0.7236 GB, free: 32.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005874/1.887, allocations: 0.656 MB / 0.7242 GB, free: 32.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00765/1.895, allocations: 3.614 MB / 0.7278 GB, free: 31.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/1.906, allocations: 8.072 MB / 0.7357 GB, free: 23.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.916, allocations: 5.302 MB / 0.7408 GB, free: 21.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/1.916, allocations: 44 kB / 0.7409 GB, free: 21.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03013/1.946, allocations: 12.86 MB / 0.7534 GB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/1.947, allocations: 72 kB / 0.7535 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/1.947, allocations: 152 kB / 0.7536 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005236/1.952, allocations: 1.681 MB / 0.7553 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008647/1.961, allocations: 1.926 MB / 0.7572 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.98, allocations: 11.67 MB / 0.7686 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008696/1.989, allocations: 0.4915 MB / 0.769 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/1.991, allocations: 478.3 kB / 0.7695 GB, free: 12.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (996): * Single equations (assignments): 991 * 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.009333/2, allocations: 3.079 MB / 0.7725 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/2.002, allocations: 0.5014 MB / 0.773 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/2.023, allocations: 7.463 MB / 0.7803 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/2.024, allocations: 40 kB / 0.7803 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/2.024, allocations: 8 kB / 0.7803 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.004e-05/2.024, allocations: 15.94 kB / 0.7803 GB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04789/2.072, allocations: 16.09 MB / 0.7961 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-05/2.072, allocations: 0 / 0.7961 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004467/2.076, allocations: 0.6046 MB / 0.7967 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/2.082, allocations: 1.411 MB / 0.798 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008454/2.082, allocations: 67.98 kB / 0.7981 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/2.104, allocations: 10.85 MB / 0.8087 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/2.104, allocations: 11.95 kB / 0.8087 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02887/2.133, allocations: 12.04 MB / 0.8205 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004016/2.137, allocations: 1.099 MB / 0.8215 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/2.138, allocations: 58.22 kB / 0.8216 GB, free: 8.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004331/2.143, allocations: 259.6 kB / 0.8218 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/2.144, allocations: 202 kB / 0.822 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005975/2.145, allocations: 87.98 kB / 0.8221 GB, free: 7.715 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008782/2.153, allocations: 3.317 MB / 0.8253 GB, free: 4.418 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.117e-06/2.154, allocations: 0 / 0.8253 GB, free: 4.418 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01066/2.164, allocations: 1.607 MB / 0.8269 GB, free: 2.816 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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.001261/2.165, allocations: 211.9 kB / 0.8271 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3444/2.51, allocations: 8.963 MB / 0.8359 GB, free: 149.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.372e-06/2.51, allocations: 4.281 kB / 0.8359 GB, free: 149.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00935/2.519, allocations: 3.783 MB / 0.8396 GB, free: 149 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/2.524, allocations: 0.6282 MB / 0.8402 GB, free: 149 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03818/2.562, allocations: 18.83 MB / 0.8586 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01412/2.576, allocations: 4.927 MB / 0.8634 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006148/2.582, allocations: 437.8 kB / 0.8638 GB, free: 141.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.158e-06/2.582, allocations: 4 kB / 0.8638 GB, free: 141.5 MB / 490.7 MB Notification: Performance of Templates: time 0.5002/3.082, allocations: 141.8 MB / 1.002 GB, free: 146.4 MB / 490.7 MB