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.Force2.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.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.124/2.124, allocations: 209.2 MB / 225.4 MB, free: 0.6875 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004871, allocations: 12 kB / 283.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1117, allocations: 48.71 MB / 331.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.5768, allocations: 98.64 MB / 430.5 MB, free: 2.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/0.5773, allocations: 87.89 kB / 430.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.985/2.562, allocations: 238.1 MB / 0.6529 GB, free: 27.76 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.295e-06/2.562, allocations: 4.5 kB / 0.6529 GB, free: 27.76 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0009911/2.563, allocations: 252 kB / 0.6532 GB, free: 27.76 MB / 426.8 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.06566/2.629, allocations: 13.24 MB / 0.6661 GB, free: 24.18 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/2.629, allocations: 9.781 kB / 0.6661 GB, free: 24.18 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09643/2.726, allocations: 12.78 MB / 0.6786 GB, free: 23.32 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05046/2.776, allocations: 13.28 MB / 0.6916 GB, free: 21.94 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/2.778, allocations: 0.9403 MB / 0.6925 GB, free: 21.91 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008045/2.786, allocations: 1.249 MB / 0.6937 GB, free: 21.9 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1067/2.893, allocations: 30.34 MB / 0.7233 GB, free: 15.84 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001141/2.894, allocations: 143.6 kB / 0.7235 GB, free: 15.83 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007275/2.901, allocations: 0.587 MB / 0.724 GB, free: 15.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006966/2.908, allocations: 2.852 MB / 0.7268 GB, free: 15.79 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08474/2.993, allocations: 24.87 MB / 0.7511 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6878/3.681, allocations: 127.3 MB / 0.8754 GB, free: 16.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0697/3.751, allocations: 15.05 MB / 0.8901 GB, free: 16.11 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05606/3.807, allocations: 20.21 MB / 0.9098 GB, free: 12.87 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/3.807, allocations: 99.39 kB / 0.9099 GB, free: 12.83 MB / 490.8 MB Notification: Performance of pre-optimization done (n=566): time 9.889e-06/3.807, allocations: 7.812 kB / 0.9099 GB, free: 12.83 MB / 490.8 MB Notification: Performance of matching and sorting (n=650): time 0.3496/4.156, allocations: 71.21 MB / 0.9795 GB, free: 8.477 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002939/4.157, allocations: 380.9 kB / 0.9799 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03982/4.197, allocations: 12.05 MB / 0.9916 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002322/4.199, allocations: 128.6 kB / 0.9917 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01036/4.209, allocations: 7.879 MB / 0.9994 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.005262/4.215, allocations: 2.383 MB / 1.002 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002985/4.218, allocations: 304 kB / 1.002 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001481/4.219, allocations: 0.9652 MB / 1.003 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0324/4.252, allocations: 7.439 MB / 1.01 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4067/4.658, allocations: 15.08 MB / 1.025 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02749/4.686, allocations: 9.868 MB / 1.035 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005607/4.687, allocations: 84.44 kB / 1.035 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07431/4.761, allocations: 24.08 MB / 1.058 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002981/4.761, allocations: 128.7 kB / 1.058 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004952/4.762, allocations: 289.5 kB / 1.059 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/4.776, allocations: 3.226 MB / 1.062 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02576/4.802, allocations: 3.743 MB / 1.065 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04464/4.846, allocations: 23.1 MB / 1.088 GB, free: 95.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02093/4.867, allocations: 0.9172 MB / 1.089 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00462/4.872, allocations: 0.8774 MB / 1.09 GB, free: 94.97 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.01967/4.892, allocations: 5.662 MB / 1.095 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003771/4.895, allocations: 1.065 MB / 1.096 GB, free: 92.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04738/4.943, allocations: 14.7 MB / 1.111 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/4.943, allocations: 70.45 kB / 1.111 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001118/4.943, allocations: 15.06 kB / 1.111 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001945/4.943, allocations: 35.92 kB / 1.111 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.102/5.045, allocations: 32.43 MB / 1.142 GB, free: 69.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001135/5.046, allocations: 8 kB / 1.142 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01334/5.059, allocations: 1.306 MB / 1.144 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01292/5.072, allocations: 2.757 MB / 1.146 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002233/5.074, allocations: 129.7 kB / 1.147 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04463/5.119, allocations: 21.64 MB / 1.168 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/5.119, allocations: 19.94 kB / 1.168 GB, free: 47.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4696/5.588, allocations: 24.23 MB / 1.191 GB, free: 95.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01081/5.599, allocations: 2.186 MB / 1.194 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005895/5.605, allocations: 125.5 kB / 1.194 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01291/5.618, allocations: 435.3 kB / 1.194 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003086/5.621, allocations: 412.6 kB / 1.194 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001925/5.623, allocations: 172.6 kB / 1.195 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02524/5.649, allocations: 7.712 MB / 1.202 GB, free: 95.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.52e-07/5.649, allocations: 2.875 kB / 1.202 GB, free: 95.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0243/5.673, allocations: 3.077 MB / 1.205 GB, free: 95.15 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.002604/5.676, allocations: 311 kB / 1.205 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04133/5.717, allocations: 16.75 MB / 1.222 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/5.717, allocations: 0 / 1.222 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0263/5.743, allocations: 7.184 MB / 1.229 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01364/5.757, allocations: 1.334 MB / 1.23 GB, free: 93.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08948/5.847, allocations: 36.3 MB / 1.266 GB, free: 81.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02441/5.871, allocations: 8.768 MB / 1.274 GB, free: 80.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007275/5.878, allocations: 0.8373 MB / 1.275 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/5.878, allocations: 3.062 kB / 1.275 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of Templates: time 1.506/7.384, allocations: 368.5 MB / 1.635 GB, free: 124.9 MB / 0.5418 GB