Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 12 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3597, allocations: 54.87 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.5449, allocations: 101.5 MB / 471.3 MB, free: 5.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.5452, allocations: 83.95 kB / 471.4 MB, free: 5.008 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8126/1.358, allocations: 129.6 MB / 0.5869 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.358, allocations: 0 / 0.5869 GB, free: 300 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000594/1.359, allocations: 131.9 kB / 0.587 GB, free: 168 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.03285/1.391, allocations: 7.074 MB / 0.5939 GB, free: 9.004 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/1.391, allocations: 8.031 kB / 0.594 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05399/1.445, allocations: 7.112 MB / 0.6009 GB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0284/1.474, allocations: 7.406 MB / 0.6081 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007535/1.475, allocations: 493 kB / 0.6086 GB, free: 9.883 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003724/1.478, allocations: 0.6558 MB / 0.6092 GB, free: 9.227 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05429/1.533, allocations: 16.35 MB / 0.6252 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005198/1.533, allocations: 95.19 kB / 0.6253 GB, free: 7.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003396/1.537, allocations: 311.8 kB / 0.6256 GB, free: 7.016 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004125/1.541, allocations: 1.545 MB / 0.6271 GB, free: 5.465 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04542/1.586, allocations: 13.34 MB / 0.6401 GB, free: 8.082 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4443/2.031, allocations: 72.51 MB / 0.7109 GB, free: 37.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0312/2.062, allocations: 7.461 MB / 0.7182 GB, free: 36.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02393/2.086, allocations: 9.674 MB / 0.7277 GB, free: 34.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/2.086, allocations: 66.12 kB / 0.7277 GB, free: 34.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 6.963e-06/2.086, allocations: 0 / 0.7277 GB, free: 34.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.1382/2.224, allocations: 32.72 MB / 0.7597 GB, free: 24.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/2.225, allocations: 245.8 kB / 0.7599 GB, free: 24.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01538/2.24, allocations: 6.8 MB / 0.7666 GB, free: 22.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008765/2.241, allocations: 75.45 kB / 0.7666 GB, free: 22.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003956/2.245, allocations: 4.454 MB / 0.771 GB, free: 18.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001947/2.247, allocations: 1.188 MB / 0.7721 GB, free: 17.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/2.248, allocations: 174.8 kB / 0.7723 GB, free: 17.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001513/2.25, allocations: 0.6865 MB / 0.773 GB, free: 17.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.26, allocations: 3.548 MB / 0.7765 GB, free: 16.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01297/2.273, allocations: 8.715 MB / 0.785 GB, free: 6.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/2.286, allocations: 5.438 MB / 0.7903 GB, free: 1.734 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000222/2.287, allocations: 52 kB / 0.7903 GB, free: 1.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.04305/2.33, allocations: 13.36 MB / 0.8034 GB, free: 7.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000165/2.33, allocations: 84 kB / 0.8035 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003538/2.33, allocations: 183.2 kB / 0.8036 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007594/2.338, allocations: 1.648 MB / 0.8052 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.352, allocations: 2.111 MB / 0.8073 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02542/2.378, allocations: 11.54 MB / 0.8186 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.389, allocations: 0.5266 MB / 0.8191 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002381/2.392, allocations: 0.5197 MB / 0.8196 GB, free: 8.637 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (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 (1084): * Single equations (assignments): 1079 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01045/2.402, allocations: 3.154 MB / 0.8227 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002342/2.404, allocations: 0.5823 MB / 0.8232 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0239/2.428, allocations: 6.773 MB / 0.8299 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.101e-05/2.428, allocations: 32 kB / 0.8299 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-05/2.428, allocations: 8 kB / 0.8299 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.632e-05/2.429, allocations: 14.62 kB / 0.8299 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05202/2.481, allocations: 15.14 MB / 0.8447 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/2.481, allocations: 4 kB / 0.8447 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006128/2.487, allocations: 0.5972 MB / 0.8453 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3604/2.847, allocations: 1.356 MB / 0.8466 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/2.848, allocations: 58.28 kB / 0.8467 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02498/2.873, allocations: 10.73 MB / 0.8571 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/2.873, allocations: 7.219 kB / 0.8571 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03061/2.904, allocations: 11.02 MB / 0.8679 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004927/2.909, allocations: 1.148 MB / 0.869 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002792/2.912, allocations: 64.42 kB / 0.8691 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006239/2.918, allocations: 207.2 kB / 0.8693 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001341/2.92, allocations: 195.1 kB / 0.8695 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008681/2.921, allocations: 83.23 kB / 0.8695 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01258/2.933, allocations: 4.36 MB / 0.8738 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.024e-06/2.933, allocations: 0 / 0.8738 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0113/2.945, allocations: 1.631 MB / 0.8754 GB, free: 119.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001353/2.946, allocations: 205.2 kB / 0.8756 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01997/2.966, allocations: 8.746 MB / 0.8841 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/2.966, allocations: 0 / 0.8841 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009469/2.975, allocations: 3.453 MB / 0.8875 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006247/2.982, allocations: 0.7048 MB / 0.8882 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/3.026, allocations: 18.75 MB / 0.9065 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01182/3.038, allocations: 4.933 MB / 0.9113 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003399/3.041, allocations: 467 kB / 0.9118 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.552e-06/3.041, allocations: 0 / 0.9118 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.6333/3.674, allocations: 144.8 MB / 1.053 GB, free: 120.1 MB / 0.5105 GB