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.Force2.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.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.1_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 1.889/1.889, allocations: 209.3 MB / 224.9 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.0004341, allocations: 12 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2826, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.4295, allocations: 98.65 MB / 429.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4298, allocations: 79.95 kB / 430 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371/1.801, allocations: 236.5 MB / 0.6509 GB, free: 29.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.367e-06/1.801, allocations: 0 / 0.6509 GB, free: 29.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007351/1.802, allocations: 250.3 kB / 0.6511 GB, free: 29.71 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04377/1.846, allocations: 13.23 MB / 0.664 GB, free: 24.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.846, allocations: 10.72 kB / 0.664 GB, free: 24.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06416/1.91, allocations: 12.79 MB / 0.6765 GB, free: 23.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03551/1.946, allocations: 13.28 MB / 0.6895 GB, free: 22.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/1.947, allocations: 0.9383 MB / 0.6904 GB, free: 22.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005111/1.952, allocations: 1.247 MB / 0.6916 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07695/2.029, allocations: 30.25 MB / 0.7212 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007778/2.03, allocations: 144.5 kB / 0.7213 GB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004844/2.035, allocations: 0.5771 MB / 0.7219 GB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005029/2.04, allocations: 2.859 MB / 0.7247 GB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06265/2.102, allocations: 24.86 MB / 0.7489 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5117/2.614, allocations: 127.2 MB / 0.8731 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05126/2.665, allocations: 15.06 MB / 0.8878 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04247/2.708, allocations: 20.21 MB / 0.9076 GB, free: 24.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.197e-05/2.708, allocations: 101.7 kB / 0.9077 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=566): time 1.202e-05/2.708, allocations: 0 / 0.9077 GB, free: 24.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=650): time 0.2269/2.935, allocations: 69.64 MB / 0.9757 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002867/2.935, allocations: 380.9 kB / 0.9761 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03092/2.966, allocations: 10.74 MB / 0.9865 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001519/2.968, allocations: 129.7 kB / 0.9867 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.009253/2.977, allocations: 7.866 MB / 0.9943 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004246/2.981, allocations: 2.388 MB / 0.9967 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002611/2.984, allocations: 312 kB / 0.997 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002051/2.986, allocations: 0.9571 MB / 0.9979 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0388/3.025, allocations: 7.955 MB / 1.006 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3279/3.353, allocations: 15.03 MB / 1.02 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/3.373, allocations: 9.865 MB / 1.03 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003094/3.374, allocations: 83.22 kB / 1.03 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.05622/3.43, allocations: 24.18 MB / 1.054 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/3.43, allocations: 129.5 kB / 1.054 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004199/3.431, allocations: 288.3 kB / 1.054 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/3.441, allocations: 3.285 MB / 1.057 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01666/3.458, allocations: 3.74 MB / 1.061 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0583/3.516, allocations: 23.12 MB / 1.084 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03187/3.548, allocations: 0.9315 MB / 1.084 GB, free: 95.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005115/3.553, allocations: 0.8736 MB / 1.085 GB, free: 95.69 MB / 0.5105 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.05135/3.605, allocations: 5.669 MB / 1.091 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005199/3.61, allocations: 1.065 MB / 1.092 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04741/3.657, allocations: 14.8 MB / 1.106 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.121e-05/3.657, allocations: 69.58 kB / 1.106 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.201e-05/3.657, allocations: 20.22 kB / 1.106 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001263/3.658, allocations: 29.02 kB / 1.106 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08194/3.74, allocations: 32.54 MB / 1.138 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-05/3.74, allocations: 12 kB / 1.138 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008397/3.748, allocations: 1.31 MB / 1.139 GB, free: 67.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009323/3.757, allocations: 2.822 MB / 1.142 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00148/3.759, allocations: 126.9 kB / 1.142 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03376/3.793, allocations: 21.65 MB / 1.164 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/3.793, allocations: 19.88 kB / 1.164 GB, free: 46.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4113/4.204, allocations: 26.39 MB / 1.189 GB, free: 95.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007641/4.212, allocations: 2.182 MB / 1.191 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004018/4.216, allocations: 122 kB / 1.192 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008918/4.225, allocations: 454.4 kB / 1.192 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/4.227, allocations: 414.8 kB / 1.192 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00135/4.228, allocations: 171.6 kB / 1.193 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01994/4.248, allocations: 7.711 MB / 1.2 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.235e-06/4.248, allocations: 0 / 1.2 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01912/4.267, allocations: 3.08 MB / 1.203 GB, free: 95.12 MB / 0.5105 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.001831/4.269, allocations: 308.6 kB / 1.203 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03277/4.302, allocations: 16.77 MB / 1.22 GB, free: 94.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/4.302, allocations: 3.688 kB / 1.22 GB, free: 94.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01518/4.317, allocations: 7.194 MB / 1.227 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009406/4.327, allocations: 1.333 MB / 1.228 GB, free: 93.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07451/4.401, allocations: 36.21 MB / 1.263 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02189/4.423, allocations: 8.783 MB / 1.272 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005698/4.429, allocations: 0.8265 MB / 1.273 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of SimCode: time 2.016e-06/4.429, allocations: 0 / 1.273 GB, free: 78.08 MB / 0.5105 GB Notification: Performance of Templates: time 1.154/5.583, allocations: 368.5 MB / 1.633 GB, free: 102.3 MB / 0.5261 GB