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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.052/2.052, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004458/0.0004459, allocations: 19.92 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2875, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4348, allocations: 90.2 MB / 421.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.4352, allocations: 75.97 kB / 421.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.642/1.077, allocations: 94.22 MB / 0.5037 GB, free: 88.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.203e-06/1.077, allocations: 0 / 0.5037 GB, free: 88.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001751/1.077, allocations: 80.16 kB / 0.5038 GB, free: 88.33 MB / 394.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.01369/1.091, allocations: 4.392 MB / 0.508 GB, free: 85.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.091, allocations: 10.16 kB / 0.5081 GB, free: 85.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/1.111, allocations: 3.603 MB / 0.5116 GB, free: 83.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.124, allocations: 4.474 MB / 0.5159 GB, free: 80.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/1.124, allocations: 341 kB / 0.5163 GB, free: 80.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/1.127, allocations: 450.7 kB / 0.5167 GB, free: 80.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/1.156, allocations: 11.76 MB / 0.5282 GB, free: 67.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/1.156, allocations: 35.66 kB / 0.5282 GB, free: 67.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002036/1.158, allocations: 209.4 kB / 0.5284 GB, free: 67.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/1.16, allocations: 1.321 MB / 0.5297 GB, free: 66.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02645/1.187, allocations: 11.44 MB / 0.5409 GB, free: 54.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06404/1.251, allocations: 41.32 MB / 0.5812 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/1.265, allocations: 5.968 MB / 0.5871 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/1.267, allocations: 1.89 MB / 0.5889 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.267, allocations: 56.56 kB / 0.589 GB, free: 4.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=262): time 7.856e-06/1.267, allocations: 0 / 0.589 GB, free: 4.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=283): time 0.06729/1.334, allocations: 20.48 MB / 0.609 GB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/1.334, allocations: 81.41 kB / 0.609 GB, free: 15.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006789/1.341, allocations: 2.712 MB / 0.6117 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005745/1.342, allocations: 65.84 kB / 0.6117 GB, free: 12.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003221/1.345, allocations: 2.972 MB / 0.6146 GB, free: 9.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.347, allocations: 1.017 MB / 0.6156 GB, free: 8.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/1.347, allocations: 124 kB / 0.6158 GB, free: 8.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007017/1.348, allocations: 0.5669 MB / 0.6163 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007013/1.355, allocations: 2.834 MB / 0.6191 GB, free: 5.109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2568/1.612, allocations: 5.986 MB / 0.6249 GB, free: 104.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009355/1.621, allocations: 4.106 MB / 0.6289 GB, free: 104.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/1.622, allocations: 33.72 kB / 0.629 GB, free: 104.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02525/1.647, allocations: 9.944 MB / 0.6387 GB, free: 104.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.647, allocations: 51.59 kB / 0.6387 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/1.647, allocations: 109.5 kB / 0.6388 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004825/1.652, allocations: 1.387 MB / 0.6402 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006461/1.659, allocations: 1.385 MB / 0.6415 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.672, allocations: 7.41 MB / 0.6488 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/1.678, allocations: 410.2 kB / 0.6492 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/1.679, allocations: 342.8 kB / 0.6495 GB, free: 101.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 710 * 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.005656/1.685, allocations: 2.292 MB / 0.6517 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000689/1.686, allocations: 306.8 kB / 0.652 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.7, allocations: 6.614 MB / 0.6585 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.084e-05/1.7, allocations: 49.8 kB / 0.6585 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.7, allocations: 4.969 kB / 0.6585 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/1.701, allocations: 10.41 kB / 0.6585 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.732, allocations: 14.04 MB / 0.6723 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/1.732, allocations: 6.875 kB / 0.6723 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/1.735, allocations: 457.1 kB / 0.6727 GB, free: 93.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/1.74, allocations: 1.216 MB / 0.6739 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006186/1.74, allocations: 50 kB / 0.6739 GB, free: 93.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.751, allocations: 6.75 MB / 0.6805 GB, free: 89.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.751, allocations: 11.94 kB / 0.6805 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.769, allocations: 10.44 MB / 0.6907 GB, free: 80.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/1.772, allocations: 0.8227 MB / 0.6915 GB, free: 79.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.773, allocations: 48.81 kB / 0.6916 GB, free: 79.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.776, allocations: 203.6 kB / 0.6918 GB, free: 79.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007444/1.777, allocations: 167.3 kB / 0.6919 GB, free: 79.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/1.777, allocations: 75.06 kB / 0.692 GB, free: 79.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004218/1.781, allocations: 1.873 MB / 0.6938 GB, free: 77.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.37e-07/1.781, allocations: 0 / 0.6938 GB, free: 77.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006835/1.788, allocations: 1.137 MB / 0.695 GB, free: 76.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * 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.0008527/1.789, allocations: 202.2 kB / 0.6951 GB, free: 76.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01302/1.802, allocations: 6.921 MB / 0.7019 GB, free: 70.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.802, allocations: 0 / 0.7019 GB, free: 70.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00496/1.807, allocations: 2.768 MB / 0.7046 GB, free: 68.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.81, allocations: 357.5 kB / 0.7049 GB, free: 67.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.835, allocations: 13.89 MB / 0.7185 GB, free: 55.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007174/1.842, allocations: 3.681 MB / 0.7221 GB, free: 52.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.844, allocations: 290.9 kB / 0.7224 GB, free: 51.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/1.844, allocations: 0 / 0.7224 GB, free: 51.98 MB / 426.7 MB Notification: Performance of Templates: time 0.3666/2.211, allocations: 80.26 MB / 0.8008 GB, free: 112.7 MB / 442.7 MB