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.Force2.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.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.2_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.953e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 54.85 MB / 364.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.4826, allocations: 105.4 MB / 469.9 MB, free: 7.066 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4829, allocations: 79.64 kB / 470 MB, free: 6.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09/1.572, allocations: 237.2 MB / 0.6906 GB, free: 312 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.267e-06/1.572, allocations: 0 / 0.6906 GB, free: 312 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006909/1.573, allocations: 244 kB / 0.6908 GB, free: 68 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.04382/1.617, allocations: 12.25 MB / 0.7028 GB, free: 3.715 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.617, allocations: 12.03 kB / 0.7028 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3733/1.99, allocations: 12.79 MB / 0.7153 GB, free: 44.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03947/2.03, allocations: 13.23 MB / 0.7282 GB, free: 43.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001146/2.031, allocations: 0.9461 MB / 0.7291 GB, free: 43.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005456/2.037, allocations: 1.257 MB / 0.7303 GB, free: 43.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08084/2.118, allocations: 30.03 MB / 0.7597 GB, free: 37.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008555/2.118, allocations: 148.3 kB / 0.7598 GB, free: 37.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004999/2.123, allocations: 0.5834 MB / 0.7604 GB, free: 37.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005419/2.129, allocations: 2.857 MB / 0.7632 GB, free: 37.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06685/2.196, allocations: 24.52 MB / 0.7871 GB, free: 34.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5571/2.753, allocations: 127.3 MB / 0.9114 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05518/2.808, allocations: 14.91 MB / 0.926 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/2.821, allocations: 8.099 MB / 0.9339 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04231/2.864, allocations: 20.22 MB / 0.9536 GB, free: 83.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/2.864, allocations: 94.22 kB / 0.9537 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.169e-05/2.864, allocations: 1.219 kB / 0.9537 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.2162/3.08, allocations: 60.84 MB / 1.013 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/3.08, allocations: 377.6 kB / 1.014 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02366/3.104, allocations: 10.52 MB / 1.024 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/3.105, allocations: 125.2 kB / 1.024 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00592/3.111, allocations: 7.881 MB / 1.032 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003138/3.114, allocations: 2.387 MB / 1.034 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/3.117, allocations: 310.7 kB / 1.034 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001321/3.118, allocations: 0.9588 MB / 1.035 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01348/3.131, allocations: 6.607 MB / 1.042 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01821/3.15, allocations: 14.88 MB / 1.056 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/3.168, allocations: 9.82 MB / 1.066 GB, free: 21.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000244/3.168, allocations: 84 kB / 1.066 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.0542/3.222, allocations: 23.89 MB / 1.089 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/3.223, allocations: 128 kB / 1.089 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003612/3.223, allocations: 288 kB / 1.09 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/3.235, allocations: 3.33 MB / 1.093 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02056/3.255, allocations: 3.742 MB / 1.096 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4107/3.666, allocations: 22.51 MB / 1.118 GB, free: 89.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01693/3.683, allocations: 0.9263 MB / 1.119 GB, free: 89.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00377/3.687, allocations: 0.875 MB / 1.12 GB, free: 89.3 MB / 0.5417 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 () * 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.005691/3.692, allocations: 1.272 MB / 1.121 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003307/3.696, allocations: 1.065 MB / 1.122 GB, free: 89.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03587/3.732, allocations: 14.63 MB / 1.137 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.751e-05/3.732, allocations: 63.31 kB / 1.137 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-05/3.732, allocations: 21.22 kB / 1.137 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/3.732, allocations: 32.95 kB / 1.137 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08212/3.814, allocations: 32.42 MB / 1.169 GB, free: 85.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-05/3.814, allocations: 13.47 kB / 1.169 GB, free: 85.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009625/3.824, allocations: 1.303 MB / 1.17 GB, free: 85.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01038/3.834, allocations: 2.813 MB / 1.173 GB, free: 84.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001533/3.836, allocations: 124.9 kB / 1.173 GB, free: 84.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03535/3.871, allocations: 21 MB / 1.193 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/3.871, allocations: 21.03 kB / 1.193 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0477/3.919, allocations: 26.14 MB / 1.219 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007633/3.927, allocations: 2.187 MB / 1.221 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004031/3.931, allocations: 122.7 kB / 1.221 GB, free: 59.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00895/3.94, allocations: 452.8 kB / 1.221 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002076/3.942, allocations: 415.2 kB / 1.222 GB, free: 59.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001394/3.943, allocations: 169.2 kB / 1.222 GB, free: 59.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01886/3.962, allocations: 7.589 MB / 1.229 GB, free: 57.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.256e-06/3.962, allocations: 0 / 1.229 GB, free: 57.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01924/3.982, allocations: 3.081 MB / 1.232 GB, free: 56.88 MB / 0.5417 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 () * 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.001837/3.983, allocations: 305.9 kB / 1.233 GB, free: 56.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03167/4.015, allocations: 16.51 MB / 1.249 GB, free: 43.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/4.015, allocations: 0 / 1.249 GB, free: 43.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01507/4.03, allocations: 7.091 MB / 1.256 GB, free: 37.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00978/4.04, allocations: 1.337 MB / 1.257 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06397/4.104, allocations: 26.92 MB / 1.283 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0229/4.127, allocations: 8.783 MB / 1.292 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00584/4.133, allocations: 0.8274 MB / 1.293 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of SimCode: time 2.852e-06/4.133, allocations: 0 / 1.293 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of Templates: time 1.194/5.327, allocations: 369.1 MB / 1.653 GB, free: 51.73 MB / 0.573 GB