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.155/2.155, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 16 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.4349, allocations: 105.5 MB / 474.7 MB, free: 1.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4352, allocations: 79.97 kB / 474.8 MB, free: 1.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298/1.733, allocations: 236.9 MB / 0.695 GB, free: 41.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.184e-06/1.733, allocations: 0 / 0.695 GB, free: 41.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007075/1.734, allocations: 253.4 kB / 0.6952 GB, free: 41.15 MB / 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.04408/1.778, allocations: 13.24 MB / 0.7082 GB, free: 36.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.778, allocations: 13.7 kB / 0.7082 GB, free: 36.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06468/1.843, allocations: 12.79 MB / 0.7207 GB, free: 35.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05084/1.894, allocations: 13.28 MB / 0.7336 GB, free: 33.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001812/1.896, allocations: 0.9443 MB / 0.7346 GB, free: 33.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008422/1.904, allocations: 1.255 MB / 0.7358 GB, free: 33.81 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09541/1.999, allocations: 30.28 MB / 0.7653 GB, free: 10.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007136/2, allocations: 146.6 kB / 0.7655 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004525/2.005, allocations: 0.584 MB / 0.7661 GB, free: 9.625 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004795/2.01, allocations: 2.853 MB / 0.7688 GB, free: 7.227 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07347/2.083, allocations: 24.88 MB / 0.7931 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5402/2.623, allocations: 127.3 MB / 0.9175 GB, free: 33.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04972/2.673, allocations: 15.04 MB / 0.9321 GB, free: 33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03912/2.712, allocations: 20.21 MB / 0.9519 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/2.712, allocations: 94.28 kB / 0.952 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.067e-05/2.712, allocations: 0 / 0.952 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.2201/2.933, allocations: 69.66 MB / 1.02 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/2.933, allocations: 376.3 kB / 1.02 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3517/3.285, allocations: 10.63 MB / 1.031 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00143/3.286, allocations: 128.4 kB / 1.031 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.006922/3.293, allocations: 7.882 MB / 1.039 GB, free: 122.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003453/3.297, allocations: 2.384 MB / 1.041 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002451/3.299, allocations: 309.8 kB / 1.041 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001558/3.301, allocations: 0.9639 MB / 1.042 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01511/3.316, allocations: 6.754 MB / 1.049 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01979/3.336, allocations: 15.03 MB / 1.063 GB, free: 110 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.019/3.355, allocations: 9.875 MB / 1.073 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002728/3.355, allocations: 82.53 kB / 1.073 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.05642/3.411, allocations: 24.17 MB / 1.097 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/3.412, allocations: 128.4 kB / 1.097 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004009/3.412, allocations: 289.2 kB / 1.097 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/3.423, allocations: 3.285 MB / 1.1 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01695/3.44, allocations: 3.738 MB / 1.104 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03518/3.475, allocations: 23.13 MB / 1.127 GB, free: 92.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01662/3.492, allocations: 0.9326 MB / 1.127 GB, free: 92.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003375/3.495, allocations: 0.8727 MB / 1.128 GB, free: 91.96 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 () * 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.01508/3.51, allocations: 5.664 MB / 1.134 GB, free: 89.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002812/3.513, allocations: 1.063 MB / 1.135 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03457/3.548, allocations: 14.79 MB / 1.149 GB, free: 82.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.25e-05/3.548, allocations: 67.05 kB / 1.149 GB, free: 82.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.522e-05/3.548, allocations: 20 kB / 1.149 GB, free: 82.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001424/3.548, allocations: 30.28 kB / 1.149 GB, free: 82.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0759/3.624, allocations: 32.55 MB / 1.181 GB, free: 56.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.797e-05/3.624, allocations: 8 kB / 1.181 GB, free: 56.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008365/3.632, allocations: 1.31 MB / 1.183 GB, free: 55.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009399/3.642, allocations: 2.824 MB / 1.185 GB, free: 53.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0016/3.643, allocations: 128.7 kB / 1.185 GB, free: 53.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03461/3.678, allocations: 21.66 MB / 1.207 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.58e-05/3.678, allocations: 19.88 kB / 1.207 GB, free: 34.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3951/4.073, allocations: 26.38 MB / 1.232 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007691/4.081, allocations: 2.184 MB / 1.234 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003995/4.085, allocations: 122.5 kB / 1.235 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008978/4.094, allocations: 456.8 kB / 1.235 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002121/4.096, allocations: 418 kB / 1.235 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001403/4.098, allocations: 172.8 kB / 1.236 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0187/4.116, allocations: 7.7 MB / 1.243 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.171e-06/4.116, allocations: 0 / 1.243 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01942/4.136, allocations: 3.086 MB / 1.246 GB, free: 105.4 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 () * 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.001923/4.138, allocations: 304.9 kB / 1.246 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03231/4.17, allocations: 16.76 MB / 1.263 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/4.17, allocations: 3.969 kB / 1.263 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01499/4.185, allocations: 7.199 MB / 1.27 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009919/4.195, allocations: 1.329 MB / 1.271 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07182/4.267, allocations: 36.23 MB / 1.306 GB, free: 88.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01962/4.287, allocations: 8.778 MB / 1.315 GB, free: 86.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00507/4.292, allocations: 0.8354 MB / 1.316 GB, free: 86.28 MB / 0.5417 GB Notification: Performance of SimCode: time 1.849e-06/4.292, allocations: 3.469 kB / 1.316 GB, free: 86.28 MB / 0.5417 GB Notification: Performance of Templates: time 1.214/5.506, allocations: 368.9 MB / 1.676 GB, free: 150.7 MB / 0.5886 GB