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.Force.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.Force,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.Force") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.218e-05, allocations: 7.984 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3609, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5154, allocations: 101.4 MB / 466 MB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5157, allocations: 71.97 kB / 466 MB, free: 10.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7363/1.252, allocations: 128.9 MB / 0.581 GB, free: 102.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.252, allocations: 0 / 0.581 GB, free: 102.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003845/1.253, allocations: 125.6 kB / 0.5811 GB, free: 102.4 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02101/1.274, allocations: 6.563 MB / 0.5875 GB, free: 99.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.274, allocations: 7.781 kB / 0.5875 GB, free: 99.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03665/1.31, allocations: 7.114 MB / 0.5945 GB, free: 96.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/1.332, allocations: 7.372 MB / 0.6017 GB, free: 91.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005413/1.332, allocations: 498.2 kB / 0.6021 GB, free: 90.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/1.335, allocations: 0.6436 MB / 0.6028 GB, free: 90.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03789/1.373, allocations: 16.17 MB / 0.6186 GB, free: 72.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000314/1.373, allocations: 91.12 kB / 0.6186 GB, free: 72.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002045/1.375, allocations: 321.3 kB / 0.619 GB, free: 72.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002639/1.378, allocations: 1.543 MB / 0.6205 GB, free: 70.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/1.41, allocations: 13.15 MB / 0.6333 GB, free: 57.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3774/1.788, allocations: 72.51 MB / 0.7041 GB, free: 96.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02583/1.813, allocations: 7.433 MB / 0.7114 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006632/1.82, allocations: 3.815 MB / 0.7151 GB, free: 95.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01998/1.84, allocations: 9.651 MB / 0.7245 GB, free: 94.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/1.84, allocations: 66.69 kB / 0.7246 GB, free: 94.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 7.419e-06/1.84, allocations: 0 / 0.7246 GB, free: 94.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.09893/1.939, allocations: 27.64 MB / 0.7516 GB, free: 88.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/1.939, allocations: 241.5 kB / 0.7518 GB, free: 87.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/1.952, allocations: 6.007 MB / 0.7577 GB, free: 85.83 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000693/1.953, allocations: 70.3 kB / 0.7577 GB, free: 85.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003621/1.957, allocations: 4.451 MB / 0.7621 GB, free: 82.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.958, allocations: 1.197 MB / 0.7633 GB, free: 81.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/1.959, allocations: 175 kB / 0.7634 GB, free: 81.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007581/1.96, allocations: 0.6859 MB / 0.7641 GB, free: 80.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007588/1.968, allocations: 3.478 MB / 0.7675 GB, free: 79.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.978, allocations: 8.604 MB / 0.7759 GB, free: 71.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.989, allocations: 5.424 MB / 0.7812 GB, free: 69.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/1.989, allocations: 54.31 kB / 0.7812 GB, free: 69.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03049/2.019, allocations: 13.1 MB / 0.794 GB, free: 63.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/2.02, allocations: 87.12 kB / 0.7941 GB, free: 63.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/2.02, allocations: 180 kB / 0.7943 GB, free: 62.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005241/2.025, allocations: 1.68 MB / 0.7959 GB, free: 61.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009479/2.035, allocations: 2.108 MB / 0.798 GB, free: 59.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/2.051, allocations: 11.22 MB / 0.8089 GB, free: 49.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009431/2.061, allocations: 0.5266 MB / 0.8095 GB, free: 49.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/2.063, allocations: 0.5219 MB / 0.81 GB, free: 48.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (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 (1084): * Single equations (assignments): 1079 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002513/2.065, allocations: 0.7826 MB / 0.8107 GB, free: 47.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/2.067, allocations: 0.5822 MB / 0.8113 GB, free: 47.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/2.082, allocations: 6.739 MB / 0.8179 GB, free: 41.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.802e-05/2.082, allocations: 36 kB / 0.8179 GB, free: 41.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.791e-05/2.082, allocations: 9.5 kB / 0.8179 GB, free: 41.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.356e-05/2.082, allocations: 19.42 kB / 0.8179 GB, free: 41.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03692/2.119, allocations: 15.13 MB / 0.8327 GB, free: 27.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-05/2.119, allocations: 4 kB / 0.8327 GB, free: 27.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004071/2.123, allocations: 0.5932 MB / 0.8333 GB, free: 27.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00476/2.128, allocations: 1.397 MB / 0.8347 GB, free: 25.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007482/2.129, allocations: 52 kB / 0.8347 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/2.145, allocations: 10.42 MB / 0.8449 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/2.145, allocations: 7.938 kB / 0.8449 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/2.167, allocations: 11.82 MB / 0.8564 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/2.171, allocations: 1.157 MB / 0.8576 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002048/2.173, allocations: 60 kB / 0.8576 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004693/2.178, allocations: 207.7 kB / 0.8578 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/2.179, allocations: 197.9 kB / 0.858 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005896/2.18, allocations: 83.98 kB / 0.8581 GB, free: 1.457 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01144/2.191, allocations: 4.285 MB / 0.8623 GB, free: 13.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.348e-06/2.191, allocations: 0.5625 kB / 0.8623 GB, free: 13.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01147/2.203, allocations: 1.634 MB / 0.8639 GB, free: 11.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/2.204, allocations: 212 kB / 0.8641 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02007/2.224, allocations: 8.624 MB / 0.8725 GB, free: 2.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/2.224, allocations: 4 kB / 0.8725 GB, free: 2.727 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008722/2.233, allocations: 3.409 MB / 0.8758 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/2.238, allocations: 0.6955 MB / 0.8765 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3243/2.563, allocations: 13.75 MB / 0.8899 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0114/2.574, allocations: 4.935 MB / 0.8948 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002693/2.577, allocations: 467.4 kB / 0.8952 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.89e-06/2.577, allocations: 0 / 0.8952 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.2075/2.784, allocations: 144.8 MB / 1.037 GB, free: 29.55 MB / 0.4948 GB