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.FrameTorques2.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.FrameTorques2,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.2_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.144e-05, allocations: 4 kB / 309.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3165, allocations: 54.85 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.4667, allocations: 99.57 MB / 464.1 MB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.467, allocations: 72.81 kB / 464.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9072/1.374, allocations: 170.1 MB / 0.6194 GB, free: 73.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.408e-06/1.374, allocations: 0 / 0.6194 GB, free: 73.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004756/1.375, allocations: 171.9 kB / 0.6196 GB, free: 72.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.02598/1.401, allocations: 8.254 MB / 0.6276 GB, free: 64.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.401, allocations: 12.03 kB / 0.6277 GB, free: 64.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06052/1.461, allocations: 12.09 MB / 0.6395 GB, free: 52.51 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03082/1.492, allocations: 10.94 MB / 0.6501 GB, free: 41.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007501/1.493, allocations: 0.6378 MB / 0.6508 GB, free: 40.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/1.497, allocations: 0.8514 MB / 0.6516 GB, free: 40 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05103/1.548, allocations: 19.84 MB / 0.671 GB, free: 18.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005597/1.549, allocations: 122.9 kB / 0.6711 GB, free: 18.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/1.552, allocations: 403.8 kB / 0.6715 GB, free: 18.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/1.555, allocations: 1.815 MB / 0.6733 GB, free: 16.29 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03991/1.595, allocations: 16.04 MB / 0.6889 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4176/2.013, allocations: 82.1 MB / 0.7691 GB, free: 32.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/2.039, allocations: 8.067 MB / 0.777 GB, free: 31.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006781/2.046, allocations: 4.081 MB / 0.781 GB, free: 31.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008751/2.047, allocations: 0.6636 MB / 0.7816 GB, free: 31.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/2.047, allocations: 75 kB / 0.7817 GB, free: 31.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=311): time 9.323e-06/2.047, allocations: 0 / 0.7817 GB, free: 31.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=335): time 0.09362/2.141, allocations: 26.25 MB / 0.8073 GB, free: 23.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/2.141, allocations: 303.4 kB / 0.8076 GB, free: 23.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/2.156, allocations: 6.795 MB / 0.8142 GB, free: 21.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006677/2.157, allocations: 76.95 kB / 0.8143 GB, free: 21.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004268/2.161, allocations: 5.543 MB / 0.8197 GB, free: 16.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/2.163, allocations: 1.269 MB / 0.821 GB, free: 15.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/2.164, allocations: 192.7 kB / 0.8211 GB, free: 15.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001033/2.166, allocations: 0.7195 MB / 0.8218 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007713/2.173, allocations: 3.435 MB / 0.8252 GB, free: 13.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/2.184, allocations: 9.108 MB / 0.8341 GB, free: 5.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.195, allocations: 5.538 MB / 0.8395 GB, free: 3.461 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001762/2.195, allocations: 56.09 kB / 0.8396 GB, free: 3.461 MB / 474.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.03209/2.228, allocations: 12.88 MB / 0.8521 GB, free: 9.164 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000195/2.228, allocations: 94.81 kB / 0.8522 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003348/2.228, allocations: 200 kB / 0.8524 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/2.232, allocations: 1.056 MB / 0.8534 GB, free: 7.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/2.243, allocations: 2.248 MB / 0.8556 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/2.261, allocations: 11.27 MB / 0.8666 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/2.272, allocations: 0.522 MB / 0.8672 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00218/2.274, allocations: 0.5699 MB / 0.8677 GB, free: 10.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003091/2.277, allocations: 0.8534 MB / 0.8685 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001969/2.279, allocations: 0.6788 MB / 0.8692 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/2.295, allocations: 5.949 MB / 0.875 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/2.295, allocations: 39.95 kB / 0.8751 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.558e-05/2.295, allocations: 8 kB / 0.8751 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/2.295, allocations: 17.67 kB / 0.8751 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07363/2.369, allocations: 15.3 MB / 0.89 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-05/2.369, allocations: 4 kB / 0.89 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004337/2.373, allocations: 0.5636 MB / 0.8906 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/2.376, allocations: 0.7002 MB / 0.8913 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007141/2.377, allocations: 59.42 kB / 0.8913 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3253/2.702, allocations: 10.1 MB / 0.9012 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/2.702, allocations: 5.438 kB / 0.9012 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/2.724, allocations: 10.07 MB / 0.911 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004672/2.729, allocations: 1.193 MB / 0.9122 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002235/2.731, allocations: 57.94 kB / 0.9122 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005279/2.736, allocations: 198.4 kB / 0.9124 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/2.737, allocations: 196.5 kB / 0.9126 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005442/2.738, allocations: 88.72 kB / 0.9127 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01301/2.751, allocations: 4.847 MB / 0.9174 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.086e-06/2.751, allocations: 0 / 0.9174 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01254/2.764, allocations: 1.862 MB / 0.9193 GB, free: 119.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.001069/2.765, allocations: 215.3 kB / 0.9195 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01761/2.782, allocations: 8.841 MB / 0.9281 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.76e-06/2.782, allocations: 0 / 0.9281 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006143/2.788, allocations: 3.186 MB / 0.9312 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006567/2.795, allocations: 0.9278 MB / 0.9321 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/2.835, allocations: 15.95 MB / 0.9477 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/2.85, allocations: 6.123 MB / 0.9537 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002927/2.853, allocations: 0.5108 MB / 0.9542 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.865e-06/2.853, allocations: 0 / 0.9542 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.6982/3.551, allocations: 244.7 MB / 1.193 GB, free: 73.12 MB / 0.5105 GB