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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.054/2.054, allocations: 209.4 MB / 217.3 MB, free: 4.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.796e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2635, allocations: 48.7 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.4102, allocations: 97.9 MB / 417.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4105, allocations: 71.97 kB / 418 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308/1.719, allocations: 230.8 MB / 0.6336 GB, free: 29.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.872e-06/1.719, allocations: 0 / 0.6336 GB, free: 29.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007252/1.72, allocations: 253.4 kB / 0.6338 GB, free: 29.27 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: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04049/1.76, allocations: 12.23 MB / 0.6458 GB, free: 24.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.76, allocations: 7.125 kB / 0.6458 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06691/1.827, allocations: 12.79 MB / 0.6583 GB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03731/1.864, allocations: 13.21 MB / 0.6712 GB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007299/1.865, allocations: 415.1 kB / 0.6716 GB, free: 22.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005015/1.87, allocations: 0.7319 MB / 0.6723 GB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03814/1.908, allocations: 17.43 MB / 0.6893 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0592/1.968, allocations: 25.76 MB / 0.7145 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008412/1.969, allocations: 141.4 kB / 0.7146 GB, free: 12.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004682/1.973, allocations: 71.95 kB / 0.7147 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005893/1.979, allocations: 2.855 MB / 0.7175 GB, free: 9.895 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4834/2.463, allocations: 120.8 MB / 0.8355 GB, free: 36.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/2.479, allocations: 10.93 MB / 0.8462 GB, free: 35.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01182/2.491, allocations: 7.67 MB / 0.8536 GB, free: 35.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/2.493, allocations: 1.096 MB / 0.8547 GB, free: 34.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.447e-05/2.493, allocations: 97.56 kB / 0.8548 GB, free: 34.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=552): time 1.27e-05/2.493, allocations: 2.031 kB / 0.8548 GB, free: 34.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=640): time 0.1717/2.665, allocations: 62.79 MB / 0.9161 GB, free: 14.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002607/2.665, allocations: 384.4 kB / 0.9165 GB, free: 13.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02026/2.685, allocations: 7.916 MB / 0.9242 GB, free: 9.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001479/2.687, allocations: 25.7 kB / 0.9242 GB, free: 9.543 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008662/2.695, allocations: 8.225 MB / 0.9323 GB, free: 2.383 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004153/2.7, allocations: 2.281 MB / 0.9345 GB, free: 328 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/2.702, allocations: 0 / 0.9345 GB, free: 328 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.003449/2.705, allocations: 1.048 MB / 0.9355 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01591/2.721, allocations: 6.419 MB / 0.9418 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3275/3.049, allocations: 14.9 MB / 0.9564 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01944/3.068, allocations: 9.656 MB / 0.9658 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005794/3.069, allocations: 85.88 kB / 0.9659 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.05636/3.125, allocations: 22.31 MB / 0.9876 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004112/3.126, allocations: 135.4 kB / 0.9878 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004847/3.126, allocations: 297.7 kB / 0.9881 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/3.137, allocations: 3.307 MB / 0.9913 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01756/3.155, allocations: 3.848 MB / 0.995 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03592/3.191, allocations: 21.25 MB / 1.016 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01643/3.208, allocations: 0.646 MB / 1.016 GB, free: 95.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003921/3.211, allocations: 0.8976 MB / 1.017 GB, free: 95.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1935): * Single equations (assignments): 1928 * 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%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006335/3.218, allocations: 0.8895 MB / 1.018 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003366/3.221, allocations: 0.8938 MB / 1.019 GB, free: 94.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03344/3.255, allocations: 13.83 MB / 1.033 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/3.255, allocations: 72.12 kB / 1.033 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.884e-05/3.255, allocations: 19 kB / 1.033 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001402/3.255, allocations: 32.86 kB / 1.033 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07209/3.327, allocations: 28.85 MB / 1.061 GB, free: 78.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.418e-05/3.327, allocations: 8 kB / 1.061 GB, free: 78.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008335/3.336, allocations: 1.252 MB / 1.062 GB, free: 77.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009594/3.345, allocations: 2.79 MB / 1.065 GB, free: 75.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001593/3.347, allocations: 26.91 kB / 1.065 GB, free: 75.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03099/3.378, allocations: 19.66 MB / 1.084 GB, free: 58.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/3.378, allocations: 11.94 kB / 1.084 GB, free: 58.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04519/3.423, allocations: 23.42 MB / 1.107 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006627/3.43, allocations: 1.93 MB / 1.109 GB, free: 35.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003459/3.433, allocations: 11.95 kB / 1.109 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008142/3.442, allocations: 358.9 kB / 1.109 GB, free: 35.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/3.444, allocations: 397.5 kB / 1.11 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001458/3.445, allocations: 171.6 kB / 1.11 GB, free: 35.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01334/3.459, allocations: 5.358 MB / 1.115 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.28e-06/3.459, allocations: 0 / 1.115 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02009/3.479, allocations: 2.651 MB / 1.118 GB, free: 27.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (553): * Single equations (assignments): 546 * 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%) 18,(4,75.0%) 18,(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.001821/3.481, allocations: 195.6 kB / 1.118 GB, free: 27.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3353/3.816, allocations: 16.33 MB / 1.134 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/3.816, allocations: 3.312 kB / 1.134 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0149/3.831, allocations: 6.852 MB / 1.14 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007736/3.839, allocations: 0.9578 MB / 1.141 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06695/3.906, allocations: 26.24 MB / 1.167 GB, free: 99.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02286/3.929, allocations: 8.805 MB / 1.176 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006109/3.935, allocations: 0.7567 MB / 1.176 GB, free: 98.46 MB / 0.4948 GB Notification: Performance of SimCode: time 3.642e-06/3.935, allocations: 0 / 1.176 GB, free: 98.46 MB / 0.4948 GB Notification: Performance of Templates: time 1.251/5.186, allocations: 357.5 MB / 1.525 GB, free: 149.9 MB / 0.5417 GB