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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.206/2.206, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.575e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.4309, allocations: 100.1 MB / 458.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4312, allocations: 79.95 kB / 458.2 MB, free: 10.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.624/1.055, allocations: 112.1 MB / 0.557 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.139e-06/1.055, allocations: 0 / 0.557 GB, free: 10.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003054/1.056, allocations: 112 kB / 0.5571 GB, free: 10.55 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.01683/1.072, allocations: 5.46 MB / 0.5624 GB, free: 5.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.072, allocations: 8.031 kB / 0.5624 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03664/1.109, allocations: 6.954 MB / 0.5692 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/1.131, allocations: 6.86 MB / 0.5759 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/1.132, allocations: 176 kB / 0.5761 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/1.134, allocations: 324.4 kB / 0.5764 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0184/1.153, allocations: 7.453 MB / 0.5837 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02938/1.182, allocations: 11.74 MB / 0.5951 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000332/1.182, allocations: 83.17 kB / 0.5952 GB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/1.184, allocations: 40 kB / 0.5952 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/1.187, allocations: 1.243 MB / 0.5965 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3719/1.559, allocations: 57.39 MB / 0.6525 GB, free: 53.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/1.564, allocations: 3.446 MB / 0.6559 GB, free: 53.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.567, allocations: 2.101 MB / 0.6579 GB, free: 53.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/1.567, allocations: 38.59 kB / 0.658 GB, free: 53.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.567, allocations: 57.56 kB / 0.658 GB, free: 53.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 7.09e-06/1.567, allocations: 0 / 0.658 GB, free: 53.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=198): time 0.04142/1.608, allocations: 17.52 MB / 0.6751 GB, free: 48.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/1.609, allocations: 229.6 kB / 0.6753 GB, free: 48.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008435/1.617, allocations: 4.124 MB / 0.6794 GB, free: 48.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000366/1.617, allocations: 25.7 kB / 0.6794 GB, free: 48.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.62, allocations: 4.109 MB / 0.6834 GB, free: 45.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009428/1.621, allocations: 0.7653 MB / 0.6841 GB, free: 45.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006946/1.622, allocations: 0 / 0.6841 GB, free: 45.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005582/1.623, allocations: 0.6297 MB / 0.6848 GB, free: 45.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/1.627, allocations: 2.19 MB / 0.6869 GB, free: 45.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006967/1.634, allocations: 6.86 MB / 0.6936 GB, free: 38.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007064/1.641, allocations: 3.864 MB / 0.6974 GB, free: 37.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.641, allocations: 47.12 kB / 0.6974 GB, free: 37.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0194/1.661, allocations: 8.243 MB / 0.7055 GB, free: 35.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.661, allocations: 80.25 kB / 0.7055 GB, free: 35.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/1.661, allocations: 167.1 kB / 0.7057 GB, free: 35.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/1.663, allocations: 0.6179 MB / 0.7063 GB, free: 35.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00702/1.67, allocations: 1.714 MB / 0.708 GB, free: 35.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/1.677, allocations: 5.53 MB / 0.7134 GB, free: 31.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00742/1.685, allocations: 252.3 kB / 0.7136 GB, free: 31.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/1.686, allocations: 466.3 kB / 0.7141 GB, free: 31.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (925): * Single equations (assignments): 920 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002006/1.688, allocations: 0.5193 MB / 0.7146 GB, free: 30.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009871/1.689, allocations: 435.4 kB / 0.715 GB, free: 30.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006397/1.696, allocations: 2.915 MB / 0.7178 GB, free: 29.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/1.696, allocations: 20.66 kB / 0.7179 GB, free: 29.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.696, allocations: 6.25 kB / 0.7179 GB, free: 29.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/1.696, allocations: 10.55 kB / 0.7179 GB, free: 29.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0187/1.715, allocations: 7.545 MB / 0.7252 GB, free: 24.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/1.715, allocations: 0 / 0.7252 GB, free: 24.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.717, allocations: 300.6 kB / 0.7255 GB, free: 24.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/1.718, allocations: 358.9 kB / 0.7259 GB, free: 24.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/1.718, allocations: 8 kB / 0.7259 GB, free: 24.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005924/1.724, allocations: 4.837 MB / 0.7306 GB, free: 19.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.586e-06/1.724, allocations: 11.91 kB / 0.7306 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009479/1.734, allocations: 5.686 MB / 0.7362 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.736, allocations: 0.7049 MB / 0.7369 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.737, allocations: 4 kB / 0.7369 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.74, allocations: 73.48 kB / 0.7369 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/1.741, allocations: 113.9 kB / 0.737 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.741, allocations: 56.11 kB / 0.7371 GB, free: 13.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006398/1.747, allocations: 2.785 MB / 0.7398 GB, free: 11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.145e-06/1.747, allocations: 0 / 0.7398 GB, free: 11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00878/1.756, allocations: 1.057 MB / 0.7408 GB, free: 9.949 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * 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.0006386/1.757, allocations: 145.2 kB / 0.741 GB, free: 9.812 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00969/1.766, allocations: 5.405 MB / 0.7463 GB, free: 4.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.24e-06/1.766, allocations: 7.469 kB / 0.7463 GB, free: 4.938 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002786/1.769, allocations: 1.674 MB / 0.7479 GB, free: 3.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/1.773, allocations: 487.8 kB / 0.7484 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/1.799, allocations: 10.12 MB / 0.7582 GB, free: 10.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/1.809, allocations: 4.248 MB / 0.7624 GB, free: 6.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.811, allocations: 349 kB / 0.7627 GB, free: 6.594 MB / 474.7 MB Notification: Performance of SimCode: time 2.004e-06/1.811, allocations: 0 / 0.7627 GB, free: 6.594 MB / 474.7 MB Notification: Performance of Templates: time 0.5227/2.333, allocations: 114.4 MB / 0.8744 GB, free: 120.7 MB / 0.5105 GB