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.Force2.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.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 222.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.753e-05, allocations: 0 / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08536, allocations: 48.71 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4467, allocations: 98.56 MB / 425.1 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.447, allocations: 78.23 kB / 425.2 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.595/2.042, allocations: 236.8 MB / 0.6464 GB, free: 27.52 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.399e-06/2.042, allocations: 1.125 kB / 0.6464 GB, free: 27.52 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0009004/2.043, allocations: 249.5 kB / 0.6467 GB, free: 27.52 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04478/2.088, allocations: 12.23 MB / 0.6586 GB, free: 25.71 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/2.088, allocations: 9.812 kB / 0.6586 GB, free: 25.71 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0695/2.157, allocations: 12.8 MB / 0.6711 GB, free: 24.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03927/2.197, allocations: 13.22 MB / 0.684 GB, free: 23.47 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001188/2.198, allocations: 0.9504 MB / 0.6849 GB, free: 23.44 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00567/2.204, allocations: 1.251 MB / 0.6862 GB, free: 23.43 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08358/2.287, allocations: 30.01 MB / 0.7155 GB, free: 17.36 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009478/2.288, allocations: 141.3 kB / 0.7156 GB, free: 17.35 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005524/2.294, allocations: 0.5862 MB / 0.7162 GB, free: 17.35 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005567/2.299, allocations: 2.856 MB / 0.719 GB, free: 17.31 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06665/2.366, allocations: 24.5 MB / 0.7429 GB, free: 13.32 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5855/2.952, allocations: 127.2 MB / 0.8671 GB, free: 18.11 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05218/3.004, allocations: 14.93 MB / 0.8817 GB, free: 17.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01332/3.017, allocations: 8.1 MB / 0.8896 GB, free: 17.27 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04377/3.061, allocations: 20.22 MB / 0.9093 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.173e-05/3.061, allocations: 105.2 kB / 0.9094 GB, free: 14.15 MB / 490.8 MB Notification: Performance of pre-optimization done (n=566): time 1.171e-05/3.061, allocations: 3.906 kB / 0.9094 GB, free: 14.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=650): time 0.2181/3.279, allocations: 60.95 MB / 0.9689 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002829/3.28, allocations: 381 kB / 0.9693 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05245/3.332, allocations: 10.53 MB / 0.9796 GB, free: 4.332 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002638/3.335, allocations: 125.7 kB / 0.9797 GB, free: 4.203 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01717/3.352, allocations: 7.875 MB / 0.9874 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00766/3.36, allocations: 2.38 MB / 0.9897 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004474/3.364, allocations: 312 kB / 0.99 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003289/3.368, allocations: 0.9585 MB / 0.991 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01977/3.387, allocations: 6.613 MB / 0.9974 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04007/3.428, allocations: 15.72 MB / 1.013 GB, free: 4.305 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0245/3.452, allocations: 9.964 MB / 1.022 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003049/3.452, allocations: 84 kB / 1.023 GB, free: 12.54 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.4466/3.899, allocations: 23.91 MB / 1.046 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003229/3.899, allocations: 134.8 kB / 1.046 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005101/3.9, allocations: 292.2 kB / 1.046 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/3.912, allocations: 3.271 MB / 1.05 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01841/3.93, allocations: 3.743 MB / 1.053 GB, free: 128.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03603/3.966, allocations: 22.45 MB / 1.075 GB, free: 122.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01698/3.983, allocations: 0.932 MB / 1.076 GB, free: 122.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003491/3.987, allocations: 0.8744 MB / 1.077 GB, free: 122.8 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1877): * Single equations (assignments): 1870 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005733/3.992, allocations: 1.264 MB / 1.078 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003221/3.996, allocations: 1.07 MB / 1.079 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03586/4.032, allocations: 14.64 MB / 1.093 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.965e-05/4.032, allocations: 65.41 kB / 1.094 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.371e-05/4.032, allocations: 20.97 kB / 1.094 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001434/4.032, allocations: 34.25 kB / 1.094 GB, free: 122.3 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07992/4.112, allocations: 32.4 MB / 1.125 GB, free: 116.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-05/4.112, allocations: 11.16 kB / 1.125 GB, free: 116.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008567/4.121, allocations: 1.305 MB / 1.126 GB, free: 116.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009846/4.13, allocations: 2.816 MB / 1.129 GB, free: 115.7 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00171/4.132, allocations: 124.1 kB / 1.129 GB, free: 115.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03548/4.168, allocations: 21.01 MB / 1.15 GB, free: 104.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/4.168, allocations: 18.91 kB / 1.15 GB, free: 104.6 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04785/4.216, allocations: 26.14 MB / 1.175 GB, free: 88.52 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007739/4.223, allocations: 2.185 MB / 1.178 GB, free: 86.52 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00424/4.228, allocations: 126.2 kB / 1.178 GB, free: 86.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009389/4.237, allocations: 453.2 kB / 1.178 GB, free: 86.12 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002187/4.239, allocations: 413.7 kB / 1.178 GB, free: 85.87 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001557/4.241, allocations: 171.6 kB / 1.179 GB, free: 85.71 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01887/4.26, allocations: 7.591 MB / 1.186 GB, free: 79.04 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.011e-06/4.26, allocations: 0 / 1.186 GB, free: 79.04 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0198/4.28, allocations: 3.075 MB / 1.189 GB, free: 75.97 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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 {(4,75.0%) 17,(4,75.0%) 17,(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.001872/4.282, allocations: 316.7 kB / 1.189 GB, free: 75.68 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.03129/4.313, allocations: 16.5 MB / 1.205 GB, free: 60.74 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/4.313, allocations: 7.141 kB / 1.205 GB, free: 60.74 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01511/4.328, allocations: 7.086 MB / 1.212 GB, free: 54.43 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00976/4.338, allocations: 1.342 MB / 1.214 GB, free: 53.31 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.377/4.715, allocations: 26.93 MB / 1.24 GB, free: 127.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0241/4.739, allocations: 8.782 MB / 1.249 GB, free: 126.9 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006067/4.745, allocations: 0.8291 MB / 1.249 GB, free: 126.9 MB / 0.5418 GB Notification: Performance of SimCode: time 1.929e-06/4.745, allocations: 0 / 1.249 GB, free: 126.9 MB / 0.5418 GB Notification: Performance of Templates: time 1.221/5.966, allocations: 368.5 MB / 1.609 GB, free: 158.7 MB / 0.573 GB