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.901/1.901, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.061e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1539, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4164/0.5703, allocations: 92.15 MB / 418.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.5706, allocations: 73.84 kB / 418.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4317/1.002, allocations: 90.7 MB / 0.4975 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.901e-06/1.002, allocations: 0 / 0.4975 GB, free: 11.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002079/1.003, allocations: 76 kB / 0.4976 GB, free: 11.61 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.013/1.016, allocations: 3.961 MB / 0.5015 GB, free: 7.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.016, allocations: 12.03 kB / 0.5015 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/1.035, allocations: 3.55 MB / 0.5049 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/1.05, allocations: 4.417 MB / 0.5093 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000517/1.05, allocations: 324.5 kB / 0.5096 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/1.053, allocations: 439.7 kB / 0.51 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03072/1.084, allocations: 10.82 MB / 0.5206 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/1.084, allocations: 31.7 kB / 0.5206 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/1.086, allocations: 199.8 kB / 0.5208 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/1.088, allocations: 1.251 MB / 0.522 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2635/1.352, allocations: 10.31 MB / 0.5321 GB, free: 94.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.065/1.417, allocations: 37.72 MB / 0.5689 GB, free: 79.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.428, allocations: 4.558 MB / 0.5734 GB, free: 77.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/1.432, allocations: 2.384 MB / 0.5757 GB, free: 76.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/1.433, allocations: 1.315 MB / 0.577 GB, free: 74.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.433, allocations: 55.03 kB / 0.577 GB, free: 74.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 7.746e-06/1.433, allocations: 0 / 0.577 GB, free: 74.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.04323/1.477, allocations: 14.58 MB / 0.5913 GB, free: 70.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.477, allocations: 76.47 kB / 0.5913 GB, free: 70.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/1.481, allocations: 2.446 MB / 0.5937 GB, free: 69.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/1.482, allocations: 57.3 kB / 0.5938 GB, free: 69.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.483, allocations: 2.829 MB / 0.5965 GB, free: 67.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.484, allocations: 0.9237 MB / 0.5974 GB, free: 66.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/1.485, allocations: 103.2 kB / 0.5975 GB, free: 66.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004165/1.485, allocations: 0.5519 MB / 0.5981 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004315/1.49, allocations: 2.251 MB / 0.6003 GB, free: 65.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00606/1.496, allocations: 5.188 MB / 0.6053 GB, free: 60.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006287/1.502, allocations: 3.458 MB / 0.6087 GB, free: 59.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.502, allocations: 32.41 kB / 0.6087 GB, free: 59.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0182/1.521, allocations: 8.126 MB / 0.6167 GB, free: 53.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.2e-05/1.521, allocations: 48 kB / 0.6167 GB, free: 53.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/1.521, allocations: 104 kB / 0.6168 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/1.524, allocations: 0.9454 MB / 0.6178 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005497/1.53, allocations: 1.235 MB / 0.619 GB, free: 51.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/1.538, allocations: 4.737 MB / 0.6236 GB, free: 47.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.543, allocations: 300 kB / 0.6239 GB, free: 46.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.544, allocations: 311 kB / 0.6242 GB, free: 46.7 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 () * 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.00169/1.546, allocations: 0.5061 MB / 0.6247 GB, free: 46.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/1.547, allocations: 276.3 kB / 0.6249 GB, free: 45.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.557, allocations: 5.067 MB / 0.6299 GB, free: 41.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-05/1.557, allocations: 44 kB / 0.6299 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.557, allocations: 8.875 kB / 0.6299 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/1.557, allocations: 7.266 kB / 0.6299 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02654/1.584, allocations: 11.94 MB / 0.6416 GB, free: 31.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/1.584, allocations: 11.5 kB / 0.6416 GB, free: 31.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.587, allocations: 404.9 kB / 0.642 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/1.59, allocations: 0.7762 MB / 0.6427 GB, free: 30.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004917/1.59, allocations: 55.33 kB / 0.6428 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/1.596, allocations: 4.01 MB / 0.6467 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/1.596, allocations: 15.94 kB / 0.6467 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.61, allocations: 8.385 MB / 0.6549 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.612, allocations: 0.6801 MB / 0.6556 GB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00081/1.613, allocations: 47.47 kB / 0.6556 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.615, allocations: 142 kB / 0.6558 GB, free: 18.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005217/1.616, allocations: 154.8 kB / 0.6559 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.616, allocations: 71.38 kB / 0.656 GB, free: 18.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003569/1.62, allocations: 1.665 MB / 0.6576 GB, free: 17.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.171e-06/1.62, allocations: 0 / 0.6576 GB, free: 17.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006201/1.626, allocations: 1.003 MB / 0.6586 GB, free: 16.14 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 () * 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.0007216/1.627, allocations: 199.5 kB / 0.6588 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01001/1.637, allocations: 5.539 MB / 0.6642 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.637, allocations: 0 / 0.6642 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003941/1.641, allocations: 2.124 MB / 0.6663 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.643, allocations: 348.8 kB / 0.6666 GB, free: 8.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.664, allocations: 9.136 MB / 0.6755 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008413/1.673, allocations: 3.52 MB / 0.6789 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.674, allocations: 263.4 kB / 0.6792 GB, free: 11.08 MB / 442.7 MB Notification: Performance of SimCode: time 2.077e-06/1.674, allocations: 0 / 0.6792 GB, free: 11.08 MB / 442.7 MB Notification: Performance of Templates: time 0.3577/2.032, allocations: 73.23 MB / 0.7507 GB, free: 87.15 MB / 442.7 MB