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.Force.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.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.882/1.882, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/3.003e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5351, allocations: 94.61 MB / 421.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.5354, allocations: 79.95 kB / 421.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7327/1.268, allocations: 128.7 MB / 0.537 GB, free: 73.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.096e-06/1.268, allocations: 0 / 0.537 GB, free: 73.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004209/1.269, allocations: 129.1 kB / 0.5372 GB, free: 73.41 MB / 426.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.0223/1.291, allocations: 6.551 MB / 0.5435 GB, free: 70.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.291, allocations: 9.406 kB / 0.5436 GB, free: 70.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03722/1.328, allocations: 7.114 MB / 0.5505 GB, free: 70.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/1.35, allocations: 7.391 MB / 0.5577 GB, free: 69.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005711/1.351, allocations: 492.1 kB / 0.5582 GB, free: 69.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/1.354, allocations: 0.6397 MB / 0.5588 GB, free: 69.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04092/1.395, allocations: 16.15 MB / 0.5746 GB, free: 65.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003771/1.395, allocations: 99.77 kB / 0.5747 GB, free: 65.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/1.397, allocations: 312.2 kB / 0.575 GB, free: 65.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002744/1.4, allocations: 1.546 MB / 0.5765 GB, free: 65.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03424/1.434, allocations: 13.13 MB / 0.5893 GB, free: 65.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09169/1.526, allocations: 72.47 MB / 0.6601 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02598/1.552, allocations: 7.428 MB / 0.6673 GB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/1.563, allocations: 4.042 MB / 0.6713 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02282/1.586, allocations: 9.651 MB / 0.6807 GB, free: 6.168 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.968e-05/1.586, allocations: 71.61 kB / 0.6808 GB, free: 6.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.368e-06/1.586, allocations: 0 / 0.6808 GB, free: 6.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.3872/1.973, allocations: 27.62 MB / 0.7078 GB, free: 80.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/1.973, allocations: 244.2 kB / 0.708 GB, free: 79.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01718/1.99, allocations: 6.018 MB / 0.7139 GB, free: 79.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009582/1.991, allocations: 73.03 kB / 0.7139 GB, free: 79.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00525/1.997, allocations: 4.443 MB / 0.7183 GB, free: 77.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002445/1.999, allocations: 1.191 MB / 0.7194 GB, free: 76.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/2.001, allocations: 174.9 kB / 0.7196 GB, free: 76.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009819/2.002, allocations: 0.69 MB / 0.7203 GB, free: 76.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01255/2.014, allocations: 3.48 MB / 0.7237 GB, free: 76.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01665/2.031, allocations: 8.602 MB / 0.7321 GB, free: 69.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01681/2.048, allocations: 5.423 MB / 0.7374 GB, free: 69.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002574/2.048, allocations: 50.16 kB / 0.7374 GB, free: 69.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03948/2.088, allocations: 13.1 MB / 0.7502 GB, free: 67.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/2.088, allocations: 85 kB / 0.7503 GB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/2.088, allocations: 184.9 kB / 0.7505 GB, free: 67.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/2.094, allocations: 1.676 MB / 0.7521 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009975/2.104, allocations: 2.112 MB / 0.7542 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/2.121, allocations: 11.21 MB / 0.7651 GB, free: 60.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009838/2.131, allocations: 0.521 MB / 0.7656 GB, free: 60.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/2.133, allocations: 0.5298 MB / 0.7661 GB, free: 60.67 MB / 442.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.002644/2.136, allocations: 0.7769 MB / 0.7669 GB, free: 60.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/2.137, allocations: 0.5875 MB / 0.7675 GB, free: 59.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/2.154, allocations: 6.74 MB / 0.7741 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/2.154, allocations: 36.12 kB / 0.7741 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/2.154, allocations: 12.83 kB / 0.7741 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.424e-05/2.154, allocations: 15.38 kB / 0.7741 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03789/2.192, allocations: 15.13 MB / 0.7889 GB, free: 48.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/2.192, allocations: 11.08 kB / 0.7889 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003906/2.196, allocations: 0.5861 MB / 0.7895 GB, free: 48.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004688/2.201, allocations: 1.406 MB / 0.7909 GB, free: 47.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007053/2.201, allocations: 55.23 kB / 0.7909 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/2.218, allocations: 10.41 MB / 0.8011 GB, free: 37.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.517e-06/2.218, allocations: 7.141 kB / 0.8011 GB, free: 37.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/2.239, allocations: 11.83 MB / 0.8126 GB, free: 27.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/2.243, allocations: 1.155 MB / 0.8138 GB, free: 26.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002002/2.245, allocations: 59.42 kB / 0.8138 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004692/2.25, allocations: 209.4 kB / 0.814 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/2.251, allocations: 193.8 kB / 0.8142 GB, free: 26.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003924/2.251, allocations: 83.33 kB / 0.8143 GB, free: 25.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009935/2.261, allocations: 4.294 MB / 0.8185 GB, free: 22.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.261, allocations: 4 kB / 0.8185 GB, free: 22.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01092/2.272, allocations: 1.631 MB / 0.8201 GB, free: 20.54 MB / 442.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.001034/2.273, allocations: 204.1 kB / 0.8203 GB, free: 20.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01674/2.29, allocations: 8.633 MB / 0.8287 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.471e-06/2.29, allocations: 0 / 0.8287 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007335/2.298, allocations: 3.411 MB / 0.832 GB, free: 9.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/2.303, allocations: 0.6924 MB / 0.8327 GB, free: 8.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03676/2.34, allocations: 13.85 MB / 0.8462 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2773/2.617, allocations: 5.157 MB / 0.8513 GB, free: 86.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/2.62, allocations: 467.6 kB / 0.8517 GB, free: 86.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.136e-06/2.62, allocations: 0.9062 kB / 0.8517 GB, free: 86.16 MB / 458.7 MB Notification: Performance of Templates: time 0.2085/2.828, allocations: 144.7 MB / 0.993 GB, free: 9.082 MB / 458.7 MB