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.Joints.JointUPS2.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.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.187/2.187, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.794e-05, allocations: 4 kB / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3209, allocations: 54.86 MB / 364.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.5042, allocations: 102 MB / 466.6 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004212/0.5047, allocations: 73.38 kB / 466.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6622/1.167, allocations: 98.93 MB / 0.5523 GB, free: 107.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.921e-06/1.167, allocations: 0 / 0.5523 GB, free: 107.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002618/1.167, allocations: 84.75 kB / 0.5524 GB, free: 107.6 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.01757/1.185, allocations: 5.117 MB / 0.5574 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.185, allocations: 14.22 kB / 0.5574 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02553/1.21, allocations: 4.618 MB / 0.5619 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/1.229, allocations: 6.049 MB / 0.5678 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/1.229, allocations: 345.8 kB / 0.5681 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/1.232, allocations: 470 kB / 0.5686 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03248/1.264, allocations: 12.59 MB / 0.5809 GB, free: 99.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002608/1.264, allocations: 62.44 kB / 0.5809 GB, free: 99.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001525/1.266, allocations: 227.7 kB / 0.5812 GB, free: 99.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002384/1.268, allocations: 1.271 MB / 0.5824 GB, free: 98.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02822/1.297, allocations: 10.74 MB / 0.5929 GB, free: 95.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07046/1.367, allocations: 55.74 MB / 0.6473 GB, free: 40.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/1.387, allocations: 5.939 MB / 0.6531 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004913/1.392, allocations: 3.024 MB / 0.6561 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02347/1.415, allocations: 13.05 MB / 0.6688 GB, free: 18.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.415, allocations: 51.88 kB / 0.6689 GB, free: 18.08 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 6.241e-06/1.415, allocations: 7.875 kB / 0.6689 GB, free: 18.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1162/1.532, allocations: 30.55 MB / 0.6987 GB, free: 3.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.532, allocations: 205.9 kB / 0.6989 GB, free: 3.172 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2762/1.808, allocations: 3.818 MB / 0.7026 GB, free: 112.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006082/1.809, allocations: 62.39 kB / 0.7027 GB, free: 112.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/1.812, allocations: 3.331 MB / 0.7059 GB, free: 111.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.813, allocations: 0.9485 MB / 0.7069 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008305/1.814, allocations: 133.5 kB / 0.707 GB, free: 111.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006227/1.815, allocations: 0.5955 MB / 0.7076 GB, free: 111.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00717/1.822, allocations: 2.991 MB / 0.7105 GB, free: 111 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00984/1.832, allocations: 6.88 MB / 0.7172 GB, free: 106.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/1.842, allocations: 4.473 MB / 0.7216 GB, free: 106 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000251/1.842, allocations: 39.25 kB / 0.7216 GB, free: 106 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03469/1.877, allocations: 12.24 MB / 0.7336 GB, free: 103.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/1.877, allocations: 67.42 kB / 0.7336 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/1.877, allocations: 137.2 kB / 0.7338 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/1.89, allocations: 3.206 MB / 0.7369 GB, free: 102.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007416/1.897, allocations: 1.552 MB / 0.7384 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03085/1.928, allocations: 14.94 MB / 0.753 GB, free: 96.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007816/1.936, allocations: 477.2 kB / 0.7535 GB, free: 96.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.938, allocations: 403.7 kB / 0.7538 GB, free: 96.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001659/1.939, allocations: 0.616 MB / 0.7544 GB, free: 95.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.941, allocations: 407 kB / 0.7548 GB, free: 95.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02017/1.961, allocations: 7.357 MB / 0.762 GB, free: 92.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-05/1.961, allocations: 29.25 kB / 0.762 GB, free: 92.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.961, allocations: 10.88 kB / 0.7621 GB, free: 92.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-05/1.961, allocations: 17.92 kB / 0.7621 GB, free: 92.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0383/1.999, allocations: 14.97 MB / 0.7767 GB, free: 87.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/1.999, allocations: 0 / 0.7767 GB, free: 87.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/2.002, allocations: 385.9 kB / 0.7771 GB, free: 87.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/2.014, allocations: 2.866 MB / 0.7799 GB, free: 86.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005535/2.014, allocations: 40.56 kB / 0.7799 GB, free: 86.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/2.04, allocations: 13.26 MB / 0.7928 GB, free: 75.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.136e-06/2.04, allocations: 0 / 0.7928 GB, free: 75.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/2.065, allocations: 11.31 MB / 0.8039 GB, free: 65.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/2.068, allocations: 0.917 MB / 0.8048 GB, free: 64.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/2.069, allocations: 42.52 kB / 0.8048 GB, free: 64.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/2.073, allocations: 212.4 kB / 0.805 GB, free: 64.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009087/2.074, allocations: 147.7 kB / 0.8052 GB, free: 64.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003041/2.074, allocations: 64.62 kB / 0.8052 GB, free: 64.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006203/2.081, allocations: 2.664 MB / 0.8078 GB, free: 62.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.28e-06/2.081, allocations: 0 / 0.8078 GB, free: 62.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007944/2.089, allocations: 1.313 MB / 0.8091 GB, free: 60.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007919/2.089, allocations: 175.8 kB / 0.8093 GB, free: 60.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.016/2.105, allocations: 7.651 MB / 0.8168 GB, free: 53.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.937e-06/2.106, allocations: 0 / 0.8168 GB, free: 53.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006537/2.112, allocations: 3.037 MB / 0.8197 GB, free: 50.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/2.116, allocations: 457.5 kB / 0.8202 GB, free: 49.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/2.141, allocations: 10.31 MB / 0.8302 GB, free: 39.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007784/2.149, allocations: 3.776 MB / 0.8339 GB, free: 35.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/2.151, allocations: 327.4 kB / 0.8342 GB, free: 35.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.914e-06/2.151, allocations: 0 / 0.8342 GB, free: 35.16 MB / 474.7 MB Notification: Performance of Templates: time 0.4257/2.576, allocations: 87.81 MB / 0.92 GB, free: 106.1 MB / 490.7 MB