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.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2864, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.426, allocations: 92.26 MB / 423.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4263, allocations: 75.97 kB / 423.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7146/1.141, allocations: 90.59 MB / 0.5021 GB, free: 89.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.596e-06/1.141, allocations: 7.812 kB / 0.5021 GB, free: 89.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001711/1.141, allocations: 81.06 kB / 0.5022 GB, free: 89.29 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01221/1.153, allocations: 4.108 MB / 0.5062 GB, free: 86.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.153, allocations: 7.656 kB / 0.5062 GB, free: 86.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/1.173, allocations: 3.545 MB / 0.5097 GB, free: 85.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/1.186, allocations: 4.437 MB / 0.514 GB, free: 82.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/1.187, allocations: 329.2 kB / 0.5144 GB, free: 82.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/1.189, allocations: 431.5 kB / 0.5148 GB, free: 82.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/1.216, allocations: 10.93 MB / 0.5254 GB, free: 70.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/1.217, allocations: 27.72 kB / 0.5255 GB, free: 70.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/1.219, allocations: 194.3 kB / 0.5256 GB, free: 70.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/1.221, allocations: 1.262 MB / 0.5269 GB, free: 69.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/1.244, allocations: 10.47 MB / 0.5371 GB, free: 58.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06113/1.305, allocations: 37.72 MB / 0.5739 GB, free: 20.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.316, allocations: 4.587 MB / 0.5784 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.317, allocations: 1.317 MB / 0.5797 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.317, allocations: 56.45 kB / 0.5798 GB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=242): time 7.616e-06/1.317, allocations: 4 kB / 0.5798 GB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=254): time 0.0522/1.369, allocations: 17.91 MB / 0.5973 GB, free: 11.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/1.37, allocations: 77.36 kB / 0.5973 GB, free: 11.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/1.375, allocations: 2.466 MB / 0.5997 GB, free: 9.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000478/1.376, allocations: 65.14 kB / 0.5998 GB, free: 9.238 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002951/1.379, allocations: 2.827 MB / 0.6026 GB, free: 6.406 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.38, allocations: 0.9178 MB / 0.6035 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006812/1.381, allocations: 107.3 kB / 0.6036 GB, free: 5.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008834/1.382, allocations: 0.5423 MB / 0.6041 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006288/1.388, allocations: 2.294 MB / 0.6063 GB, free: 2.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008702/1.397, allocations: 5.231 MB / 0.6114 GB, free: 11.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007457/1.405, allocations: 3.462 MB / 0.6148 GB, free: 8.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-05/1.405, allocations: 28 kB / 0.6148 GB, free: 8.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02132/1.426, allocations: 8.205 MB / 0.6229 GB, free: 152 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-05/1.426, allocations: 48 kB / 0.6229 GB, free: 104 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001497/1.426, allocations: 104.1 kB / 0.623 GB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003946/1.677, allocations: 0.9423 MB / 0.6239 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005625/1.683, allocations: 1.238 MB / 0.6251 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009012/1.692, allocations: 4.866 MB / 0.6299 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005382/1.697, allocations: 299.3 kB / 0.6302 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.698, allocations: 316 kB / 0.6305 GB, free: 105.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (661): * Single equations (assignments): 654 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005755/1.704, allocations: 2.179 MB / 0.6326 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006169/1.705, allocations: 281.5 kB / 0.6329 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/1.717, allocations: 5.105 MB / 0.6378 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-05/1.717, allocations: 46.27 kB / 0.6379 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/1.717, allocations: 3.844 kB / 0.6379 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.885e-05/1.717, allocations: 7.172 kB / 0.6379 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/1.745, allocations: 11.98 MB / 0.6496 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-05/1.745, allocations: 11.34 kB / 0.6496 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/1.748, allocations: 401.2 kB / 0.65 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/1.751, allocations: 0.7762 MB / 0.6508 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005097/1.751, allocations: 49.45 kB / 0.6508 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/1.759, allocations: 4.129 MB / 0.6548 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.759, allocations: 19.38 kB / 0.6549 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.773, allocations: 8.444 MB / 0.6631 GB, free: 97.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.775, allocations: 0.6806 MB / 0.6638 GB, free: 96.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/1.776, allocations: 51.11 kB / 0.6638 GB, free: 96.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.778, allocations: 140 kB / 0.6639 GB, free: 96.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/1.779, allocations: 150.3 kB / 0.6641 GB, free: 96.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/1.779, allocations: 76.34 kB / 0.6642 GB, free: 96.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003785/1.783, allocations: 1.686 MB / 0.6658 GB, free: 96.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.305e-06/1.783, allocations: 0 / 0.6658 GB, free: 96.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006371/1.789, allocations: 1.009 MB / 0.6668 GB, free: 96.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007836/1.79, allocations: 192.8 kB / 0.667 GB, free: 95.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/1.801, allocations: 5.603 MB / 0.6724 GB, free: 94.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.801, allocations: 0 / 0.6724 GB, free: 94.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004141/1.805, allocations: 2.141 MB / 0.6745 GB, free: 93.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.808, allocations: 349.4 kB / 0.6749 GB, free: 93.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.831, allocations: 12.71 MB / 0.6873 GB, free: 82.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00729/1.838, allocations: 3.519 MB / 0.6907 GB, free: 79.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.84, allocations: 262.3 kB / 0.691 GB, free: 79.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.116e-06/1.84, allocations: 4 kB / 0.691 GB, free: 79.16 MB / 426.7 MB Notification: Performance of Templates: time 0.1035/1.943, allocations: 73.23 MB / 0.7625 GB, free: 10.62 MB / 426.7 MB