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.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.212/2.212, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 54.86 MB / 369.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0807/0.3597, allocations: 60.42 MB / 429.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03502/0.3948, allocations: 13.99 MB / 443.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01181/0.4066, allocations: 303.2 kB / 443.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009668/0.4163, allocations: 3.084 MB / 447 MB, free: 12.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02941/0.4458, allocations: 8.739 MB / 455.7 MB, free: 3.832 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.45, allocations: 0.7802 MB / 456.5 MB, free: 3.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03871/0.4888, allocations: 17.98 MB / 474.5 MB, free: 1.047 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2879/0.7767, allocations: 5.7 MB / 480.2 MB, free: 18.55 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.78, allocations: 1.406 MB / 481.6 MB, free: 18.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.7834, allocations: 1.897 MB / 483.5 MB, free: 18.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009177/0.7843, allocations: 190.6 kB / 483.7 MB, free: 18.54 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002852/0.7872, allocations: 1.115 MB / 484.8 MB, free: 18.54 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.7901, allocations: 2.191 MB / 487 MB, free: 18.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.7917, allocations: 1.123 MB / 488.1 MB, free: 18.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009372/0.8011, allocations: 7.556 MB / 495.6 MB, free: 17.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8012, allocations: 4 kB / 495.7 MB, free: 17.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.93e-06/0.8012, allocations: 0 / 495.7 MB, free: 17.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002739/0.8015, allocations: 0 / 495.7 MB, free: 17.66 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.01524/0.8167, allocations: 5.823 MB / 0.4897 GB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.8168, allocations: 8.781 kB / 0.4897 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05319/0.87, allocations: 8.1 MB / 0.4976 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.8805, allocations: 4.293 MB / 0.5018 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.8809, allocations: 308.9 kB / 0.5021 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.8824, allocations: 423 kB / 0.5025 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.909, allocations: 13.04 MB / 0.5153 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/0.9092, allocations: 58.7 kB / 0.5153 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.9104, allocations: 196 kB / 0.5155 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004522/0.9149, allocations: 2.385 MB / 0.5178 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.9436, allocations: 10.67 MB / 0.5283 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08187/1.026, allocations: 49.74 MB / 0.5768 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/1.041, allocations: 4.433 MB / 0.5812 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01575/1.057, allocations: 6.57 MB / 0.5876 GB, free: 4.652 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/1.057, allocations: 53.5 kB / 0.5876 GB, free: 4.602 MB / 458.7 MB Notification: Performance of pre-optimization done (n=183): time 7.085e-06/1.057, allocations: 0 / 0.5876 GB, free: 4.602 MB / 458.7 MB Notification: Performance of matching and sorting (n=195): time 0.09065/1.148, allocations: 17.91 MB / 0.6051 GB, free: 3.934 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/1.148, allocations: 225.6 kB / 0.6053 GB, free: 3.668 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/1.162, allocations: 6.125 MB / 0.6113 GB, free: 13.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004013/1.162, allocations: 60.28 kB / 0.6114 GB, free: 13.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004401/1.167, allocations: 3.906 MB / 0.6152 GB, free: 9.625 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/1.168, allocations: 0.7659 MB / 0.6159 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006497/1.169, allocations: 144 kB / 0.6161 GB, free: 8.727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006474/1.169, allocations: 0.6126 MB / 0.6167 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005863/1.175, allocations: 2.384 MB / 0.619 GB, free: 5.719 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.186, allocations: 6.88 MB / 0.6257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008722/1.195, allocations: 3.96 MB / 0.6296 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001415/1.195, allocations: 44 kB / 0.6296 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02405/1.219, allocations: 9.285 MB / 0.6387 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.22, allocations: 73.72 kB / 0.6388 GB, free: 440 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002421/1.22, allocations: 164 kB / 0.6389 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/1.223, allocations: 0.7545 MB / 0.6397 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007342/1.23, allocations: 1.666 MB / 0.6413 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.242, allocations: 6.569 MB / 0.6477 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007084/1.249, allocations: 387.5 kB / 0.6481 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001367/1.25, allocations: 446.7 kB / 0.6485 GB, free: 6.434 MB / 0.5105 GB 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.006563/1.257, allocations: 2.691 MB / 0.6511 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.258, allocations: 493.6 kB / 0.6516 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2741/1.532, allocations: 3.273 MB / 0.6548 GB, free: 193 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.549e-05/1.532, allocations: 22.72 kB / 0.6548 GB, free: 193 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/1.532, allocations: 12.88 kB / 0.6548 GB, free: 193 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-05/1.532, allocations: 9.922 kB / 0.6548 GB, free: 193 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/1.555, allocations: 8.838 MB / 0.6635 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/1.555, allocations: 5.078 kB / 0.6635 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.557, allocations: 327.1 kB / 0.6638 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/1.559, allocations: 0.4915 MB / 0.6643 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/1.56, allocations: 41.17 kB / 0.6643 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007829/1.568, allocations: 5.898 MB / 0.6701 GB, free: 187 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.761e-06/1.568, allocations: 5.438 kB / 0.6701 GB, free: 187 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.579, allocations: 5.949 MB / 0.6759 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/1.582, allocations: 0.8306 MB / 0.6767 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.583, allocations: 34.44 kB / 0.6767 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/1.586, allocations: 105.2 kB / 0.6768 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000515/1.587, allocations: 107.8 kB / 0.6769 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.587, allocations: 57.62 kB / 0.677 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008186/1.595, allocations: 3.952 MB / 0.6808 GB, free: 183 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.288e-06/1.595, allocations: 0 / 0.6808 GB, free: 183 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007895/1.603, allocations: 1.254 MB / 0.6821 GB, free: 182.9 MB / 0.5105 GB 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.0007128/1.604, allocations: 189.9 kB / 0.6822 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.616, allocations: 5.862 MB / 0.688 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.616, allocations: 3.688 kB / 0.688 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00543/1.621, allocations: 1.78 MB / 0.6897 GB, free: 179.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006484/1.628, allocations: 0.5993 MB / 0.6903 GB, free: 179.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04253/1.67, allocations: 14.48 MB / 0.7044 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/1.683, allocations: 4.248 MB / 0.7086 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/1.686, allocations: 377.8 kB / 0.7089 GB, free: 163 MB / 0.5105 GB Notification: Performance of SimCode: time 2.967e-06/1.686, allocations: 0 / 0.7089 GB, free: 163 MB / 0.5105 GB Notification: Performance of Templates: time 0.1805/1.866, allocations: 118.9 MB / 0.8251 GB, free: 44.46 MB / 0.5105 GB