Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.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.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.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadModel(ModelicaTest): time 2.029/2.029, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004506, allocations: 12 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 48.71 MB / 331.8 MB, free: 8.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5487, allocations: 95.26 MB / 427.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5491, allocations: 83.94 kB / 427.1 MB, free: 5.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6982/1.247, allocations: 99.49 MB / 0.5143 GB, free: 90.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.247, allocations: 0 / 0.5143 GB, free: 90.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003339/1.248, allocations: 89.12 kB / 0.5144 GB, free: 90.96 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02321/1.271, allocations: 5.456 MB / 0.5197 GB, free: 88.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/1.271, allocations: 10.25 kB / 0.5197 GB, free: 88.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03384/1.305, allocations: 4.601 MB / 0.5242 GB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.326, allocations: 6.087 MB / 0.5302 GB, free: 87.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004842/1.327, allocations: 346.8 kB / 0.5305 GB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/1.33, allocations: 467 kB / 0.5309 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04025/1.37, allocations: 12.74 MB / 0.5434 GB, free: 81.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003262/1.37, allocations: 65.97 kB / 0.5434 GB, free: 81.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002323/1.373, allocations: 227.4 kB / 0.5436 GB, free: 81.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00306/1.376, allocations: 1.256 MB / 0.5449 GB, free: 81.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03415/1.41, allocations: 10.94 MB / 0.5556 GB, free: 75.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08428/1.494, allocations: 55.73 MB / 0.61 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02535/1.52, allocations: 5.955 MB / 0.6158 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02986/1.55, allocations: 13.07 MB / 0.6286 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/1.55, allocations: 51.88 kB / 0.6286 GB, free: 15.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 5.23e-06/1.55, allocations: 3.938 kB / 0.6286 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.5775/2.127, allocations: 36.5 MB / 0.6643 GB, free: 95.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.128, allocations: 209.8 kB / 0.6645 GB, free: 95.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/2.138, allocations: 4.366 MB / 0.6687 GB, free: 94.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008113/2.139, allocations: 64.59 kB / 0.6688 GB, free: 94.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/2.142, allocations: 3.326 MB / 0.672 GB, free: 92.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001769/2.144, allocations: 0.9468 MB / 0.673 GB, free: 91.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009885/2.145, allocations: 135.6 kB / 0.6731 GB, free: 91.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000464/2.145, allocations: 0.5973 MB / 0.6737 GB, free: 91.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007853/2.153, allocations: 3.069 MB / 0.6767 GB, free: 90.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/2.164, allocations: 6.993 MB / 0.6835 GB, free: 83.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/2.174, allocations: 4.525 MB / 0.6879 GB, free: 82.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/2.174, allocations: 38.47 kB / 0.6879 GB, free: 82.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03991/2.214, allocations: 12.39 MB / 0.7 GB, free: 78.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/2.215, allocations: 61.25 kB / 0.7001 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002044/2.215, allocations: 137.7 kB / 0.7002 GB, free: 78.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/2.231, allocations: 3.2 MB / 0.7034 GB, free: 77.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009821/2.241, allocations: 1.552 MB / 0.7049 GB, free: 77.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0371/2.278, allocations: 15.54 MB / 0.7201 GB, free: 71.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00948/2.288, allocations: 473.2 kB / 0.7205 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/2.29, allocations: 405.8 kB / 0.7209 GB, free: 70.32 MB / 426.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 () * Number of clocked 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.0074/2.297, allocations: 2.343 MB / 0.7232 GB, free: 68.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/2.298, allocations: 402.8 kB / 0.7236 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02629/2.325, allocations: 7.396 MB / 0.7308 GB, free: 62.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/2.325, allocations: 29.02 kB / 0.7308 GB, free: 62.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/2.325, allocations: 8 kB / 0.7308 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-05/2.325, allocations: 16.7 kB / 0.7308 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04829/2.373, allocations: 14.98 MB / 0.7455 GB, free: 50.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/2.373, allocations: 7.844 kB / 0.7455 GB, free: 50.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003768/2.377, allocations: 383.4 kB / 0.7458 GB, free: 49.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01575/2.393, allocations: 2.86 MB / 0.7486 GB, free: 46.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007258/2.394, allocations: 44.84 kB / 0.7487 GB, free: 46.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03273/2.427, allocations: 13.85 MB / 0.7622 GB, free: 32.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.427, allocations: 0 / 0.7622 GB, free: 32.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03305/2.46, allocations: 11.3 MB / 0.7732 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003667/2.463, allocations: 0.9174 MB / 0.7741 GB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/2.465, allocations: 40 kB / 0.7742 GB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/2.47, allocations: 199.2 kB / 0.7744 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/2.471, allocations: 149.8 kB / 0.7745 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/2.472, allocations: 60.7 kB / 0.7746 GB, free: 20.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007653/2.479, allocations: 2.735 MB / 0.7772 GB, free: 17.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.479, allocations: 0 / 0.7772 GB, free: 17.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009179/2.489, allocations: 1.313 MB / 0.7785 GB, free: 16.05 MB / 426.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 () * Number of clocked 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.001088/2.49, allocations: 183.6 kB / 0.7787 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01952/2.509, allocations: 7.761 MB / 0.7863 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.509, allocations: 0 / 0.7863 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007962/2.517, allocations: 3.07 MB / 0.7893 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/2.522, allocations: 472.2 kB / 0.7897 GB, free: 4.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3407/2.862, allocations: 14.11 MB / 0.8035 GB, free: 104.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009782/2.872, allocations: 3.768 MB / 0.8072 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002423/2.875, allocations: 332.4 kB / 0.8075 GB, free: 103.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/2.875, allocations: 0 / 0.8075 GB, free: 103.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1749/3.05, allocations: 87.81 MB / 0.8932 GB, free: 63.26 MB / 442.7 MB