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.23/2.23, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 8 kB / 314.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2736, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.4259, allocations: 101.5 MB / 470.8 MB, free: 5.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4262, allocations: 83.95 kB / 470.9 MB, free: 4.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6706/1.097, allocations: 128.8 MB / 0.5856 GB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.097, allocations: 0 / 0.5856 GB, free: 1.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000399/1.097, allocations: 132 kB / 0.5857 GB, free: 0.9609 MB / 410.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.02364/1.121, allocations: 7.073 MB / 0.5926 GB, free: 9.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.121, allocations: 8.031 kB / 0.5926 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03846/1.159, allocations: 7.112 MB / 0.5996 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02361/1.183, allocations: 7.418 MB / 0.6068 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007567/1.184, allocations: 0.4893 MB / 0.6073 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/1.187, allocations: 0.6442 MB / 0.6079 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04494/1.232, allocations: 16.29 MB / 0.6238 GB, free: 8.262 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004248/1.232, allocations: 95.2 kB / 0.6239 GB, free: 8.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002539/1.235, allocations: 319.8 kB / 0.6242 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00319/1.238, allocations: 1.541 MB / 0.6257 GB, free: 6.309 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03732/1.275, allocations: 13.34 MB / 0.6387 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3733/1.649, allocations: 72.51 MB / 0.7095 GB, free: 38.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/1.674, allocations: 7.48 MB / 0.7169 GB, free: 37.55 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01982/1.694, allocations: 9.68 MB / 0.7263 GB, free: 35.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/1.694, allocations: 58.28 kB / 0.7264 GB, free: 35.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 7.865e-06/1.694, allocations: 0 / 0.7264 GB, free: 35.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.1011/1.795, allocations: 31.93 MB / 0.7575 GB, free: 25.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/1.796, allocations: 246.1 kB / 0.7578 GB, free: 25.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.807, allocations: 6.073 MB / 0.7637 GB, free: 23.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000644/1.808, allocations: 74.75 kB / 0.7638 GB, free: 23.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.811, allocations: 4.453 MB / 0.7681 GB, free: 20.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.813, allocations: 1.182 MB / 0.7693 GB, free: 19.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008504/1.813, allocations: 181.5 kB / 0.7695 GB, free: 19.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005413/1.814, allocations: 0.6863 MB / 0.7701 GB, free: 18.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00765/1.822, allocations: 3.55 MB / 0.7736 GB, free: 17.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/1.832, allocations: 8.682 MB / 0.7821 GB, free: 9.141 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009884/1.842, allocations: 5.44 MB / 0.7874 GB, free: 4.641 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.842, allocations: 52 kB / 0.7874 GB, free: 4.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03219/1.874, allocations: 13.27 MB / 0.8004 GB, free: 9.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/1.874, allocations: 84 kB / 0.8005 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002649/1.875, allocations: 180 kB / 0.8006 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/1.88, allocations: 1.684 MB / 0.8023 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009292/1.89, allocations: 2.114 MB / 0.8044 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/1.912, allocations: 11.64 MB / 0.8157 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009191/1.921, allocations: 0.5276 MB / 0.8162 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/1.923, allocations: 0.5266 MB / 0.8168 GB, free: 11.42 MB / 0.4948 GB 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 () * Number of clocked 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.008332/1.931, allocations: 3.147 MB / 0.8198 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/1.933, allocations: 0.5822 MB / 0.8204 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.95, allocations: 6.791 MB / 0.827 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-05/1.95, allocations: 35.94 kB / 0.8271 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/1.95, allocations: 8 kB / 0.8271 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/1.95, allocations: 25.66 kB / 0.8271 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3251/2.275, allocations: 15.25 MB / 0.842 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/2.275, allocations: 5.562 kB / 0.842 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004206/2.279, allocations: 0.5897 MB / 0.8426 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005194/2.285, allocations: 1.403 MB / 0.8439 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006629/2.285, allocations: 55.27 kB / 0.844 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/2.303, allocations: 10.74 MB / 0.8545 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/2.303, allocations: 12.23 kB / 0.8545 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/2.326, allocations: 11.9 MB / 0.8661 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/2.33, allocations: 1.15 MB / 0.8672 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/2.331, allocations: 60.14 kB / 0.8673 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004539/2.336, allocations: 215.3 kB / 0.8675 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009158/2.337, allocations: 188.3 kB / 0.8677 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000357/2.337, allocations: 87.69 kB / 0.8678 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009782/2.347, allocations: 4.353 MB / 0.872 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.18e-06/2.347, allocations: 0 / 0.872 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01035/2.357, allocations: 1.632 MB / 0.8736 GB, free: 104.6 MB / 0.4948 GB 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 () * Number of clocked 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.0009756/2.358, allocations: 214.8 kB / 0.8738 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0164/2.375, allocations: 8.749 MB / 0.8824 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.654e-06/2.375, allocations: 0 / 0.8824 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007287/2.382, allocations: 3.454 MB / 0.8857 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004976/2.387, allocations: 0.6981 MB / 0.8864 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/2.422, allocations: 18.69 MB / 0.9047 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009948/2.432, allocations: 4.936 MB / 0.9095 GB, free: 90.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/2.435, allocations: 469.3 kB / 0.9099 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of SimCode: time 2.52e-06/2.435, allocations: 4 kB / 0.9099 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.5771/3.012, allocations: 144.8 MB / 1.051 GB, free: 124.3 MB / 0.5105 GB