Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Universal.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,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.Universal") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.061e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4623, allocations: 89.44 MB / 409.4 MB, free: 6.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4626, allocations: 75.95 kB / 409.5 MB, free: 6.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5543/1.017, allocations: 92.45 MB / 0.4902 GB, free: 70.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.025e-06/1.017, allocations: 0 / 0.4902 GB, free: 70.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001791/1.017, allocations: 76 kB / 0.4903 GB, free: 70.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01286/1.03, allocations: 4.242 MB / 0.4944 GB, free: 65.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.03, allocations: 8.031 kB / 0.4944 GB, free: 65.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/1.049, allocations: 3.616 MB / 0.498 GB, free: 62.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/1.062, allocations: 4.442 MB / 0.5023 GB, free: 57.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/1.062, allocations: 144 kB / 0.5024 GB, free: 57.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/1.064, allocations: 259.9 kB / 0.5027 GB, free: 57.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01594/1.08, allocations: 8.171 MB / 0.5107 GB, free: 49.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/1.105, allocations: 10.7 MB / 0.5211 GB, free: 38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/1.105, allocations: 35.64 kB / 0.5212 GB, free: 37.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001884/1.107, allocations: 19.95 kB / 0.5212 GB, free: 37.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002054/1.109, allocations: 1.331 MB / 0.5225 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06435/1.173, allocations: 38.76 MB / 0.5603 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008771/1.182, allocations: 5.086 MB / 0.5653 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005458/1.188, allocations: 2.925 MB / 0.5681 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002574/1.19, allocations: 1.888 MB / 0.57 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.247e-05/1.19, allocations: 53.31 kB / 0.57 GB, free: 2.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=264): time 8.012e-06/1.19, allocations: 4 kB / 0.57 GB, free: 2.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=285): time 0.05087/1.241, allocations: 16.71 MB / 0.5864 GB, free: 1.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/1.241, allocations: 77.41 kB / 0.5864 GB, free: 1.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2458/1.487, allocations: 2.446 MB / 0.5888 GB, free: 98.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005248/1.488, allocations: 26.45 kB / 0.5888 GB, free: 98.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.49, allocations: 3.08 MB / 0.5919 GB, free: 97.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.491, allocations: 0.9957 MB / 0.5928 GB, free: 96.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/1.492, allocations: 3.312 kB / 0.5928 GB, free: 96.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005564/1.493, allocations: 0.5816 MB / 0.5934 GB, free: 96.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005655/1.498, allocations: 2.724 MB / 0.5961 GB, free: 96.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00725/1.506, allocations: 6.102 MB / 0.602 GB, free: 92.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007257/1.513, allocations: 4.098 MB / 0.606 GB, free: 92.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/1.513, allocations: 34.94 kB / 0.6061 GB, free: 92.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02182/1.535, allocations: 9.363 MB / 0.6152 GB, free: 91.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.535, allocations: 56.88 kB / 0.6152 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/1.535, allocations: 121.1 kB / 0.6154 GB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004689/1.54, allocations: 1.384 MB / 0.6167 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00632/1.546, allocations: 1.467 MB / 0.6181 GB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/1.557, allocations: 6.821 MB / 0.6248 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006395/1.564, allocations: 310.6 kB / 0.6251 GB, free: 88.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/1.565, allocations: 367.8 kB / 0.6255 GB, free: 88.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 754 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001871/1.567, allocations: 409.3 kB / 0.6258 GB, free: 87.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007782/1.568, allocations: 296.5 kB / 0.6261 GB, free: 87.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/1.586, allocations: 6.407 MB / 0.6324 GB, free: 85.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000185/1.586, allocations: 53.84 kB / 0.6324 GB, free: 85.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/1.587, allocations: 3.719 kB / 0.6324 GB, free: 85.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.872e-05/1.587, allocations: 10.92 kB / 0.6325 GB, free: 85.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0529/1.64, allocations: 12.81 MB / 0.645 GB, free: 79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.552e-05/1.64, allocations: 8 kB / 0.645 GB, free: 78.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005361/1.645, allocations: 467.6 kB / 0.6454 GB, free: 78.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008658/1.654, allocations: 1.2 MB / 0.6466 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009674/1.655, allocations: 23.19 kB / 0.6466 GB, free: 77.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/1.671, allocations: 6.148 MB / 0.6526 GB, free: 72.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/1.671, allocations: 11.94 kB / 0.6526 GB, free: 72.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/1.689, allocations: 10.27 MB / 0.6627 GB, free: 63.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/1.692, allocations: 0.8103 MB / 0.6634 GB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009498/1.693, allocations: 8 kB / 0.6635 GB, free: 62.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.696, allocations: 169.6 kB / 0.6636 GB, free: 62.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007217/1.696, allocations: 170.1 kB / 0.6638 GB, free: 62.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/1.697, allocations: 79.19 kB / 0.6639 GB, free: 62.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003215/1.7, allocations: 1.595 MB / 0.6654 GB, free: 60.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.211e-06/1.7, allocations: 0 / 0.6654 GB, free: 60.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006857/1.707, allocations: 0.9921 MB / 0.6664 GB, free: 59.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (220): * Single equations (assignments): 213 * Array equations: 6 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008264/1.708, allocations: 160.1 kB / 0.6665 GB, free: 59.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01158/1.719, allocations: 6.646 MB / 0.673 GB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.719, allocations: 8.125 kB / 0.673 GB, free: 53.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004604/1.724, allocations: 2.673 MB / 0.6756 GB, free: 51.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.726, allocations: 246.7 kB / 0.6759 GB, free: 50.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/1.748, allocations: 10.07 MB / 0.6857 GB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007064/1.756, allocations: 3.673 MB / 0.6893 GB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/1.757, allocations: 291.2 kB / 0.6896 GB, free: 38.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.864e-06/1.757, allocations: 0 / 0.6896 GB, free: 38.69 MB / 410.7 MB Notification: Performance of Templates: time 0.3693/2.127, allocations: 78.56 MB / 0.7663 GB, free: 89.36 MB / 426.7 MB