Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 234.9 MB / 251.1 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006115/0.0006116, allocations: 15.98 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3641, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5562, allocations: 105.4 MB / 475.2 MB, free: 1.137 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5566, allocations: 87.95 kB / 475.3 MB, free: 1.051 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.576/2.132, allocations: 238.5 MB / 0.6971 GB, free: 41.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.317e-06/2.133, allocations: 0 / 0.6971 GB, free: 41.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008207/2.133, allocations: 252.8 kB / 0.6973 GB, free: 41.57 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.0542/2.188, allocations: 13.23 MB / 0.7102 GB, free: 36.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/2.188, allocations: 8.875 kB / 0.7102 GB, free: 36.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09168/2.279, allocations: 12.79 MB / 0.7227 GB, free: 35.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04554/2.325, allocations: 13.29 MB / 0.7357 GB, free: 34.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/2.326, allocations: 0.9433 MB / 0.7366 GB, free: 34.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006959/2.333, allocations: 1.255 MB / 0.7379 GB, free: 34.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09413/2.427, allocations: 30.37 MB / 0.7675 GB, free: 9.516 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007524/2.428, allocations: 153.7 kB / 0.7677 GB, free: 9.383 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004672/2.433, allocations: 0.5772 MB / 0.7682 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005883/2.439, allocations: 2.856 MB / 0.771 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08223/2.521, allocations: 24.89 MB / 0.7953 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6179/3.139, allocations: 127.3 MB / 0.9196 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09407/3.233, allocations: 15.04 MB / 0.9343 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05353/3.287, allocations: 20.23 MB / 0.9541 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.741e-05/3.287, allocations: 96.97 kB / 0.9541 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.061e-05/3.287, allocations: 0 / 0.9541 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.3171/3.604, allocations: 71.21 MB / 1.024 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002701/3.604, allocations: 382.4 kB / 1.024 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4741/4.078, allocations: 12.26 MB / 1.036 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001965/4.08, allocations: 124 kB / 1.036 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009677/4.09, allocations: 7.885 MB / 1.044 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004971/4.095, allocations: 2.387 MB / 1.046 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003285/4.099, allocations: 307.9 kB / 1.046 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001675/4.1, allocations: 0.9666 MB / 1.047 GB, free: 122 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01907/4.119, allocations: 6.75 MB / 1.054 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02468/4.144, allocations: 15.08 MB / 1.069 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/4.168, allocations: 9.874 MB / 1.078 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004361/4.169, allocations: 83.78 kB / 1.078 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07085/4.239, allocations: 24.08 MB / 1.102 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/4.24, allocations: 132.3 kB / 1.102 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005408/4.24, allocations: 290.2 kB / 1.102 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01414/4.254, allocations: 3.214 MB / 1.106 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02598/4.28, allocations: 3.744 MB / 1.109 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04508/4.326, allocations: 23.1 MB / 1.132 GB, free: 93.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02062/4.346, allocations: 0.923 MB / 1.133 GB, free: 93.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004278/4.351, allocations: 0.8737 MB / 1.133 GB, free: 93.11 MB / 0.5417 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 () * Number of clocked 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.01827/4.369, allocations: 5.671 MB / 1.139 GB, free: 90.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003773/4.373, allocations: 1.057 MB / 1.14 GB, free: 89.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04591/4.419, allocations: 14.71 MB / 1.154 GB, free: 81.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/4.419, allocations: 64 kB / 1.154 GB, free: 81.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.721e-05/4.419, allocations: 22.67 kB / 1.155 GB, free: 81.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001773/4.419, allocations: 28.41 kB / 1.155 GB, free: 81.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0983/4.517, allocations: 32.44 MB / 1.186 GB, free: 55.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001027/4.518, allocations: 12 kB / 1.186 GB, free: 55.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01328/4.531, allocations: 1.31 MB / 1.188 GB, free: 54.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01289/4.544, allocations: 2.755 MB / 1.19 GB, free: 52.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00222/4.546, allocations: 127.5 kB / 1.19 GB, free: 52.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04441/4.591, allocations: 21.64 MB / 1.211 GB, free: 32.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/4.591, allocations: 19.88 kB / 1.211 GB, free: 32.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4724/5.063, allocations: 22.77 MB / 1.234 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009939/5.073, allocations: 2.178 MB / 1.236 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006068/5.079, allocations: 121.8 kB / 1.236 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01265/5.092, allocations: 441.6 kB / 1.236 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002741/5.095, allocations: 413.9 kB / 1.237 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001792/5.096, allocations: 167.2 kB / 1.237 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02282/5.119, allocations: 7.705 MB / 1.244 GB, free: 106 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.12e-07/5.119, allocations: 5.219 kB / 1.244 GB, free: 106 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02337/5.143, allocations: 3.083 MB / 1.247 GB, free: 106 MB / 0.5417 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 () * Number of clocked 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.002795/5.146, allocations: 306.8 kB / 1.248 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04266/5.188, allocations: 16.75 MB / 1.264 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/5.188, allocations: 3.312 kB / 1.264 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02048/5.209, allocations: 7.18 MB / 1.271 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01257/5.221, allocations: 1.332 MB / 1.272 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09058/5.312, allocations: 36.33 MB / 1.308 GB, free: 89.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02473/5.337, allocations: 8.777 MB / 1.316 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007186/5.344, allocations: 0.8352 MB / 1.317 GB, free: 87.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.563e-06/5.344, allocations: 0 / 1.317 GB, free: 87.09 MB / 0.5417 GB Notification: Performance of Templates: time 1.615/6.959, allocations: 368.9 MB / 1.678 GB, free: 152.3 MB / 0.5886 GB