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.Force.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.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.197/2.197, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004318, allocations: 8 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2778, allocations: 54.88 MB / 369.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.1089/0.3867, allocations: 73.82 MB / 443 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05233/0.4391, allocations: 16.6 MB / 459.6 MB, free: 176 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02284/0.462, allocations: 371.2 kB / 460 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01924/0.4813, allocations: 3.783 MB / 463.7 MB, free: 12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04419/0.5255, allocations: 10.55 MB / 474.3 MB, free: 1.426 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.5304, allocations: 0.901 MB / 475.2 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.3157/0.8461, allocations: 18.41 MB / 493.6 MB, free: 2.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.8578, allocations: 7.357 MB / 0.4892 GB, free: 1.695 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.861, allocations: 1.631 MB / 0.4908 GB, free: 1.695 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.8647, allocations: 2.21 MB / 0.493 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.866, allocations: 228.1 kB / 0.4932 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.8691, allocations: 1.035 MB / 0.4942 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00321/0.8724, allocations: 2.571 MB / 0.4967 GB, free: 1.684 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.8742, allocations: 1.307 MB / 0.498 GB, free: 1.652 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.886, allocations: 8.732 MB / 0.5065 GB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.391e-06/0.886, allocations: 0 / 0.5065 GB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.811e-06/0.886, allocations: 0 / 0.5065 GB, free: 12.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003006/0.8863, allocations: 0 / 0.5065 GB, free: 12.75 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02002/0.9064, allocations: 7.04 MB / 0.5134 GB, free: 6.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9064, allocations: 8.031 kB / 0.5134 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05485/0.9613, allocations: 8.251 MB / 0.5215 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.9737, allocations: 4.779 MB / 0.5261 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004177/0.9741, allocations: 380.1 kB / 0.5265 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.9762, allocations: 0.4931 MB / 0.527 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03758/1.014, allocations: 15.88 MB / 0.5425 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/1.014, allocations: 67.97 kB / 0.5425 GB, free: 14.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/1.016, allocations: 238.9 kB / 0.5428 GB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005376/1.021, allocations: 2.775 MB / 0.5455 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0351/1.056, allocations: 13.37 MB / 0.5585 GB, free: 2.473 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1332/1.189, allocations: 60.76 MB / 0.6179 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03223/1.222, allocations: 7.705 MB / 0.6254 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/1.243, allocations: 9.687 MB / 0.6349 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/1.243, allocations: 62.8 kB / 0.6349 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 8.073e-06/1.244, allocations: 4 kB / 0.6349 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.3818/1.625, allocations: 33.96 MB / 0.6681 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/1.625, allocations: 245.5 kB / 0.6683 GB, free: 213.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/1.64, allocations: 7.095 MB / 0.6752 GB, free: 212.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007591/1.641, allocations: 69.58 kB / 0.6753 GB, free: 212.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003235/1.644, allocations: 4.426 MB / 0.6796 GB, free: 209.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/1.646, allocations: 1.183 MB / 0.6808 GB, free: 208.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008816/1.646, allocations: 175.4 kB / 0.681 GB, free: 208.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005535/1.647, allocations: 0.6961 MB / 0.6816 GB, free: 207.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008073/1.655, allocations: 3.647 MB / 0.6852 GB, free: 206.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.665, allocations: 8.79 MB / 0.6938 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.676, allocations: 5.529 MB / 0.6992 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/1.676, allocations: 50.44 kB / 0.6992 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03137/1.707, allocations: 13.48 MB / 0.7124 GB, free: 190.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/1.708, allocations: 81.72 kB / 0.7125 GB, free: 190.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002022/1.708, allocations: 180.1 kB / 0.7127 GB, free: 190 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005441/1.713, allocations: 1.795 MB / 0.7144 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008652/1.722, allocations: 2.106 MB / 0.7165 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.74, allocations: 12.19 MB / 0.7284 GB, free: 173.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008719/1.749, allocations: 0.5158 MB / 0.7289 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/1.75, allocations: 0.5255 MB / 0.7294 GB, free: 172.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * 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 (1079): * Single equations (assignments): 1072 * Array equations: 5 * 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.006559/1.757, allocations: 3.147 MB / 0.7325 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.758, allocations: 0.5823 MB / 0.733 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.774, allocations: 7.012 MB / 0.7399 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-05/1.774, allocations: 32 kB / 0.7399 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.774, allocations: 12 kB / 0.7399 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.908e-05/1.774, allocations: 11.95 kB / 0.7399 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03324/1.807, allocations: 15.53 MB / 0.7551 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.634e-05/1.807, allocations: 4.938 kB / 0.7551 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/1.811, allocations: 0.5616 MB / 0.7556 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004926/1.816, allocations: 1.507 MB / 0.7571 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000739/1.816, allocations: 61.47 kB / 0.7572 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/1.834, allocations: 11.39 MB / 0.7683 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.981e-06/1.834, allocations: 7.938 kB / 0.7683 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/1.855, allocations: 11.4 MB / 0.7794 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003543/1.858, allocations: 1.188 MB / 0.7806 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/1.86, allocations: 63.94 kB / 0.7807 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00414/1.864, allocations: 207.7 kB / 0.7809 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009538/1.865, allocations: 191.3 kB / 0.781 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003328/1.865, allocations: 87.98 kB / 0.7811 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008927/1.874, allocations: 4.575 MB / 0.7856 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.186e-06/1.874, allocations: 0 / 0.7856 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009788/1.884, allocations: 1.66 MB / 0.7872 GB, free: 112.9 MB / 0.5261 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.001044/1.885, allocations: 218.4 kB / 0.7874 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01593/1.901, allocations: 8.931 MB / 0.7961 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.743e-06/1.901, allocations: 8.5 kB / 0.7962 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00705/1.908, allocations: 3.567 MB / 0.7996 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.913, allocations: 0.6953 MB / 0.8003 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03319/1.946, allocations: 18.83 MB / 0.8187 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008633/1.954, allocations: 4.932 MB / 0.8235 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002543/1.957, allocations: 479.3 kB / 0.824 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.787e-06/1.957, allocations: 0 / 0.824 GB, free: 75.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.4702/2.427, allocations: 145.6 MB / 0.9662 GB, free: 128.8 MB / 0.5261 GB