Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadModel(ModelicaTest): time 1.833/1.833, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005907/0.000591, allocations: 12 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3899, allocations: 48.7 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.5616, allocations: 94.71 MB / 426.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.562, allocations: 83.95 kB / 426.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8719/1.434, allocations: 129.4 MB / 0.543 GB, free: 54.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.434, allocations: 0 / 0.543 GB, free: 54.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004247/1.434, allocations: 132 kB / 0.5431 GB, free: 53.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02927/1.464, allocations: 7.07 MB / 0.55 GB, free: 46.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.464, allocations: 8.031 kB / 0.55 GB, free: 46.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05139/1.515, allocations: 7.117 MB / 0.557 GB, free: 39.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02648/1.542, allocations: 7.406 MB / 0.5642 GB, free: 32.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006548/1.542, allocations: 0.4892 MB / 0.5647 GB, free: 31.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00353/1.546, allocations: 0.6365 MB / 0.5653 GB, free: 30.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0554/1.601, allocations: 16.33 MB / 0.5813 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005889/1.602, allocations: 91.17 kB / 0.5813 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003796/1.606, allocations: 319.8 kB / 0.5816 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004744/1.611, allocations: 1.545 MB / 0.5832 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05478/1.665, allocations: 13.34 MB / 0.5962 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4511/2.117, allocations: 72.44 MB / 0.6669 GB, free: 34.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03395/2.151, allocations: 7.48 MB / 0.6742 GB, free: 33.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/2.177, allocations: 9.662 MB / 0.6837 GB, free: 32.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/2.177, allocations: 58.38 kB / 0.6837 GB, free: 32.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=273): time 6.933e-06/2.177, allocations: 0 / 0.6837 GB, free: 32.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=315): time 0.149/2.326, allocations: 32.73 MB / 0.7157 GB, free: 24.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/2.326, allocations: 236.7 kB / 0.7159 GB, free: 24.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01772/2.344, allocations: 6.808 MB / 0.7226 GB, free: 21.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/2.345, allocations: 69.05 kB / 0.7226 GB, free: 21.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004578/2.349, allocations: 4.444 MB / 0.727 GB, free: 18.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0021/2.352, allocations: 1.193 MB / 0.7281 GB, free: 17.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/2.353, allocations: 176.5 kB / 0.7283 GB, free: 17.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007982/2.354, allocations: 0.6871 MB / 0.729 GB, free: 16.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009519/2.364, allocations: 3.548 MB / 0.7324 GB, free: 15.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01328/2.377, allocations: 8.719 MB / 0.7409 GB, free: 7.504 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/2.39, allocations: 5.439 MB / 0.7463 GB, free: 3.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002247/2.39, allocations: 52 kB / 0.7463 GB, free: 3.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.04461/2.435, allocations: 13.42 MB / 0.7594 GB, free: 9.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000181/2.435, allocations: 80 kB / 0.7595 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003912/2.435, allocations: 180 kB / 0.7597 GB, free: 8.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008907/2.444, allocations: 1.648 MB / 0.7613 GB, free: 7.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02151/2.466, allocations: 2.112 MB / 0.7633 GB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0668/2.533, allocations: 11.57 MB / 0.7746 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/2.545, allocations: 0.5252 MB / 0.7751 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00249/2.547, allocations: 0.5232 MB / 0.7757 GB, free: 10.56 MB / 458.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 () * 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.01072/2.558, allocations: 3.15 MB / 0.7787 GB, free: 7.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/2.56, allocations: 0.5934 MB / 0.7793 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02368/2.584, allocations: 6.753 MB / 0.7859 GB, free: 1.531 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.339e-05/2.584, allocations: 32 kB / 0.7859 GB, free: 1.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.451e-05/2.584, allocations: 12 kB / 0.7859 GB, free: 1.488 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.447e-05/2.584, allocations: 11.95 kB / 0.786 GB, free: 1.477 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05048/2.635, allocations: 15.13 MB / 0.8007 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.273e-05/2.635, allocations: 7.953 kB / 0.8007 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006047/2.641, allocations: 0.5928 MB / 0.8013 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006751/2.648, allocations: 1.365 MB / 0.8027 GB, free: 348 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007814/2.649, allocations: 56 kB / 0.8027 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3725/3.021, allocations: 10.73 MB / 0.8132 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/3.021, allocations: 5.672 kB / 0.8132 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03039/3.051, allocations: 11.02 MB / 0.8239 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004432/3.056, allocations: 1.157 MB / 0.8251 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002225/3.058, allocations: 58.09 kB / 0.8251 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005677/3.064, allocations: 203.6 kB / 0.8253 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009558/3.065, allocations: 199.2 kB / 0.8255 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/3.065, allocations: 80.38 kB / 0.8256 GB, free: 117.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01075/3.076, allocations: 4.363 MB / 0.8299 GB, free: 117.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/3.076, allocations: 3.25 kB / 0.8299 GB, free: 117.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01073/3.087, allocations: 1.623 MB / 0.8314 GB, free: 117.7 MB / 474.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 () * 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.001217/3.088, allocations: 209 kB / 0.8316 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02088/3.109, allocations: 8.737 MB / 0.8402 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-06/3.109, allocations: 0 / 0.8402 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01054/3.12, allocations: 3.461 MB / 0.8436 GB, free: 115 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006997/3.127, allocations: 0.6982 MB / 0.8442 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/3.175, allocations: 18.73 MB / 0.8625 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/3.187, allocations: 4.928 MB / 0.8673 GB, free: 103.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/3.191, allocations: 467.3 kB / 0.8678 GB, free: 103.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/3.191, allocations: 0 / 0.8678 GB, free: 103.9 MB / 474.7 MB Notification: Performance of Templates: time 0.6241/3.815, allocations: 144.7 MB / 1.009 GB, free: 117.5 MB / 474.7 MB