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.033/2.033, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.809e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.08935, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4822, allocations: 90.1 MB / 416.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4824, allocations: 76.95 kB / 416.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3717/0.8542, allocations: 94.32 MB / 0.4991 GB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.417e-06/0.8542, allocations: 8 kB / 0.4991 GB, free: 10.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002169/0.8544, allocations: 83.92 kB / 0.4991 GB, free: 9.988 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01501/0.8695, allocations: 4.239 MB / 0.5033 GB, free: 5.688 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.8695, allocations: 8.031 kB / 0.5033 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02055/0.8901, allocations: 3.616 MB / 0.5068 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/0.9054, allocations: 4.455 MB / 0.5112 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/0.906, allocations: 336.8 kB / 0.5115 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.9085, allocations: 443.8 kB / 0.5119 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/0.9414, allocations: 11.64 MB / 0.5233 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.9416, allocations: 31.75 kB / 0.5233 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001981/0.9436, allocations: 203.8 kB / 0.5235 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2404/1.184, allocations: 1.328 MB / 0.5248 GB, free: 92.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/1.212, allocations: 11.21 MB / 0.5358 GB, free: 92.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06986/1.282, allocations: 41.35 MB / 0.5761 GB, free: 74.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/1.297, allocations: 5.917 MB / 0.5819 GB, free: 71.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/1.302, allocations: 2.971 MB / 0.5848 GB, free: 70.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.304, allocations: 1.885 MB / 0.5867 GB, free: 68.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.304, allocations: 59.81 kB / 0.5867 GB, free: 68.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.847e-06/1.304, allocations: 0 / 0.5867 GB, free: 68.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.05555/1.36, allocations: 16.62 MB / 0.6029 GB, free: 64.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.36, allocations: 79.97 kB / 0.603 GB, free: 63.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005146/1.365, allocations: 2.662 MB / 0.6056 GB, free: 62.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/1.366, allocations: 64.8 kB / 0.6057 GB, free: 62.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00186/1.367, allocations: 2.971 MB / 0.6086 GB, free: 60.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.369, allocations: 1.02 MB / 0.6096 GB, free: 59.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/1.369, allocations: 116 kB / 0.6097 GB, free: 59.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004242/1.37, allocations: 0.5613 MB / 0.6102 GB, free: 58.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005287/1.375, allocations: 2.763 MB / 0.6129 GB, free: 56.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007287/1.382, allocations: 5.917 MB / 0.6187 GB, free: 49.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007158/1.39, allocations: 4.068 MB / 0.6227 GB, free: 45.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-05/1.39, allocations: 32 kB / 0.6227 GB, free: 45.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02241/1.412, allocations: 9.79 MB / 0.6323 GB, free: 37.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.412, allocations: 55 kB / 0.6323 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/1.412, allocations: 116.2 kB / 0.6324 GB, free: 37.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004791/1.417, allocations: 1.379 MB / 0.6338 GB, free: 36.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/1.424, allocations: 1.387 MB / 0.6351 GB, free: 35.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.435, allocations: 7.183 MB / 0.6422 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005998/1.441, allocations: 407 kB / 0.6425 GB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.443, allocations: 343.7 kB / 0.6429 GB, free: 28.34 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 () * 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.001922/1.445, allocations: 0.5286 MB / 0.6434 GB, free: 27.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007567/1.446, allocations: 304.1 kB / 0.6437 GB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.46, allocations: 6.579 MB / 0.6501 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.236e-05/1.461, allocations: 47.94 kB / 0.6502 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.461, allocations: 4 kB / 0.6502 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-05/1.461, allocations: 11.67 kB / 0.6502 GB, free: 22.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03218/1.493, allocations: 14.01 MB / 0.6638 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/1.493, allocations: 4 kB / 0.6639 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002868/1.496, allocations: 455.4 kB / 0.6643 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/1.501, allocations: 1.218 MB / 0.6655 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006232/1.501, allocations: 51.83 kB / 0.6655 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.512, allocations: 6.525 MB / 0.6719 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.512, allocations: 8 kB / 0.6719 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/1.535, allocations: 10.37 MB / 0.682 GB, free: 6.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002823/1.537, allocations: 0.8212 MB / 0.6828 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/1.538, allocations: 52 kB / 0.6829 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/1.541, allocations: 207.5 kB / 0.6831 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009379/1.542, allocations: 161.7 kB / 0.6832 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005079/1.543, allocations: 72 kB / 0.6833 GB, free: 5.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004919/1.548, allocations: 1.816 MB / 0.6851 GB, free: 3.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.214e-06/1.548, allocations: 0 / 0.6851 GB, free: 3.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007395/1.555, allocations: 1.136 MB / 0.6862 GB, free: 2.273 MB / 442.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 () * 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.0009737/1.556, allocations: 198.1 kB / 0.6864 GB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2549/1.811, allocations: 6.813 MB / 0.693 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.811, allocations: 7.25 kB / 0.693 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005209/1.817, allocations: 2.731 MB / 0.6957 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.819, allocations: 363.2 kB / 0.6961 GB, free: 103.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.843, allocations: 10.17 MB / 0.706 GB, free: 101.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007453/1.85, allocations: 3.687 MB / 0.7096 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.852, allocations: 286.9 kB / 0.7099 GB, free: 100.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.975e-06/1.852, allocations: 0 / 0.7099 GB, free: 100.5 MB / 442.7 MB Notification: Performance of Templates: time 0.115/1.967, allocations: 80.26 MB / 0.7882 GB, free: 61.09 MB / 442.7 MB