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.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 1.881/1.881, allocations: 209.2 MB / 224.8 MB, free: 1.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 16 kB / 282.5 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09069, allocations: 48.71 MB / 331.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.287/0.3777, allocations: 60.38 MB / 391.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03801/0.4158, allocations: 13.97 MB / 405.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/0.4296, allocations: 295.3 kB / 405.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009931/0.4396, allocations: 3.087 MB / 408.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.031/0.4706, allocations: 8.739 MB / 417.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004399/0.475, allocations: 0.8113 MB / 418.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.03862/0.5137, allocations: 17.97 MB / 436.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.5245, allocations: 5.698 MB / 442.1 MB, free: 5.809 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.5276, allocations: 1.402 MB / 443.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/0.5316, allocations: 1.896 MB / 445.4 MB, free: 2.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009889/0.5326, allocations: 192 kB / 445.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.5358, allocations: 1.116 MB / 446.7 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003444/0.5393, allocations: 2.198 MB / 448.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.5412, allocations: 1.115 MB / 450 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.5526, allocations: 7.552 MB / 457.6 MB, free: 6.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.802e-06/0.5527, allocations: 0 / 457.6 MB, free: 6.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.809e-06/0.5527, allocations: 0 / 457.6 MB, free: 6.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.5529, allocations: 7.938 kB / 457.6 MB, free: 6.289 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01584/0.5688, allocations: 5.833 MB / 463.4 MB, free: 392 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5688, allocations: 8.031 kB / 463.4 MB, free: 384 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05447/0.6233, allocations: 8.11 MB / 471.6 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.6346, allocations: 4.291 MB / 475.8 MB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.635, allocations: 307.8 kB / 476.1 MB, free: 3.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.6364, allocations: 407.7 kB / 476.5 MB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03044/0.6668, allocations: 13.03 MB / 489.6 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002091/0.6671, allocations: 67.47 kB / 489.6 MB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008254/0.6679, allocations: 195.8 kB / 489.8 MB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004818/0.6728, allocations: 2.386 MB / 492.2 MB, free: 2.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.253/0.9258, allocations: 10.66 MB / 0.4911 GB, free: 122.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06766/0.9935, allocations: 49.71 MB / 0.5396 GB, free: 85.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/1.007, allocations: 4.44 MB / 0.544 GB, free: 81.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/1.02, allocations: 6.575 MB / 0.5504 GB, free: 74.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.02, allocations: 58 kB / 0.5504 GB, free: 74.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 6.824e-06/1.02, allocations: 0 / 0.5504 GB, free: 74.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=195): time 0.05611/1.076, allocations: 17.91 MB / 0.5679 GB, free: 56.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/1.077, allocations: 227.2 kB / 0.5682 GB, free: 56.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.087, allocations: 6.123 MB / 0.5741 GB, free: 50.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003501/1.088, allocations: 58.97 kB / 0.5742 GB, free: 50 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002669/1.09, allocations: 3.901 MB / 0.578 GB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000898/1.091, allocations: 0.7661 MB / 0.5787 GB, free: 45.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/1.092, allocations: 146.3 kB / 0.5789 GB, free: 45.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000387/1.092, allocations: 0.6204 MB / 0.5795 GB, free: 44.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/1.097, allocations: 2.384 MB / 0.5818 GB, free: 42.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/1.104, allocations: 6.877 MB / 0.5885 GB, free: 33.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006878/1.111, allocations: 3.958 MB / 0.5924 GB, free: 29.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/1.111, allocations: 44 kB / 0.5924 GB, free: 29.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.01969/1.131, allocations: 9.283 MB / 0.6015 GB, free: 19.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.131, allocations: 75.98 kB / 0.6016 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/1.131, allocations: 156 kB / 0.6017 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/1.133, allocations: 0.7652 MB / 0.6025 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006655/1.14, allocations: 1.661 MB / 0.6041 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008694/1.149, allocations: 6.585 MB / 0.6105 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006597/1.155, allocations: 391.2 kB / 0.6109 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009876/1.156, allocations: 440 kB / 0.6113 GB, free: 9.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (877): * Single equations (assignments): 870 * Array equations: 5 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004926/1.161, allocations: 2.684 MB / 0.6139 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00093/1.162, allocations: 489.6 kB / 0.6144 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006758/1.169, allocations: 3.285 MB / 0.6176 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.734e-05/1.169, allocations: 23.95 kB / 0.6176 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.169, allocations: 7.984 kB / 0.6176 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.169, allocations: 11.97 kB / 0.6177 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.19, allocations: 8.839 MB / 0.6263 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/1.19, allocations: 4 kB / 0.6263 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/1.192, allocations: 323.5 kB / 0.6266 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/1.194, allocations: 0.5058 MB / 0.6271 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/1.195, allocations: 33.17 kB / 0.6271 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009982/1.205, allocations: 5.895 MB / 0.6329 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.573e-06/1.205, allocations: 4 kB / 0.6329 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01255/1.217, allocations: 5.96 MB / 0.6387 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002729/1.22, allocations: 0.8266 MB / 0.6395 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.221, allocations: 45.12 kB / 0.6396 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/1.224, allocations: 103.9 kB / 0.6397 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/1.225, allocations: 109 kB / 0.6398 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/1.225, allocations: 57.31 kB / 0.6398 GB, free: 11.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00917/1.234, allocations: 3.952 MB / 0.6437 GB, free: 7.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.154e-06/1.234, allocations: 112 / 0.6437 GB, free: 7.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008064/1.242, allocations: 1.26 MB / 0.6449 GB, free: 6.652 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007804/1.243, allocations: 189.4 kB / 0.6451 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01331/1.256, allocations: 5.861 MB / 0.6508 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.18e-06/1.256, allocations: 0 / 0.6508 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2304/1.487, allocations: 1.772 MB / 0.6525 GB, free: 146.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.491, allocations: 0.604 MB / 0.6531 GB, free: 146.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.519, allocations: 14.48 MB / 0.6673 GB, free: 140.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009239/1.528, allocations: 4.24 MB / 0.6714 GB, free: 139.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/1.53, allocations: 379 kB / 0.6718 GB, free: 139.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-06/1.53, allocations: 0.9844 kB / 0.6718 GB, free: 139.2 MB / 442.7 MB Notification: Performance of Templates: time 0.1628/1.693, allocations: 118.8 MB / 0.7878 GB, free: 31.27 MB / 442.7 MB