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/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.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 2.065/2.065, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.142e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.416, allocations: 91.5 MB / 411.5 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4163, allocations: 71.97 kB / 411.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5829/0.9992, allocations: 88.91 MB / 0.4888 GB, free: 71.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.321e-06/0.9992, allocations: 4 kB / 0.4888 GB, free: 71.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.9994, allocations: 82.66 kB / 0.4888 GB, free: 71.74 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: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01144/1.011, allocations: 3.96 MB / 0.4927 GB, free: 67.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/1.011, allocations: 8.031 kB / 0.4927 GB, free: 67.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/1.029, allocations: 3.555 MB / 0.4962 GB, free: 64.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/1.042, allocations: 4.413 MB / 0.5005 GB, free: 59.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/1.042, allocations: 140 kB / 0.5006 GB, free: 59.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001975/1.044, allocations: 244 kB / 0.5009 GB, free: 59.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01476/1.059, allocations: 7.682 MB / 0.5084 GB, free: 51.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/1.082, allocations: 10.02 MB / 0.5182 GB, free: 41.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/1.082, allocations: 39.64 kB / 0.5182 GB, free: 41.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/1.084, allocations: 19.95 kB / 0.5182 GB, free: 41.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002015/1.086, allocations: 1.25 MB / 0.5194 GB, free: 39.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06397/1.15, allocations: 35.13 MB / 0.5537 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/1.163, allocations: 4.365 MB / 0.558 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008596/1.171, allocations: 2.331 MB / 0.5603 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003053/1.174, allocations: 1.323 MB / 0.5616 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.174, allocations: 64.52 kB / 0.5616 GB, free: 11.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 1.392e-05/1.174, allocations: 0 / 0.5616 GB, free: 11.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.07792/1.252, allocations: 15.71 MB / 0.577 GB, free: 11.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/1.253, allocations: 77.39 kB / 0.577 GB, free: 11.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005188/1.258, allocations: 2.307 MB / 0.5793 GB, free: 9.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000434/1.258, allocations: 25.7 kB / 0.5793 GB, free: 9.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003059/1.261, allocations: 2.944 MB / 0.5822 GB, free: 6.383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.263, allocations: 0.8977 MB / 0.5831 GB, free: 5.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/1.263, allocations: 3.938 kB / 0.5831 GB, free: 5.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007404/1.264, allocations: 0.5626 MB / 0.5836 GB, free: 4.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/1.269, allocations: 2.229 MB / 0.5858 GB, free: 2.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2888/1.558, allocations: 5.411 MB / 0.5911 GB, free: 95.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007291/1.566, allocations: 3.503 MB / 0.5945 GB, free: 95.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/1.566, allocations: 32.44 kB / 0.5945 GB, free: 95.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01951/1.585, allocations: 7.793 MB / 0.6021 GB, free: 94.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.585, allocations: 55.44 kB / 0.6022 GB, free: 94.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.586, allocations: 110.2 kB / 0.6023 GB, free: 94.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003693/1.589, allocations: 0.959 MB / 0.6032 GB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005427/1.595, allocations: 1.324 MB / 0.6045 GB, free: 94.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/1.602, allocations: 4.543 MB / 0.609 GB, free: 93.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/1.608, allocations: 206.8 kB / 0.6092 GB, free: 93.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/1.609, allocations: 334.6 kB / 0.6095 GB, free: 93.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * 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 (708): * Single equations (assignments): 701 * 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 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00137/1.611, allocations: 393.6 kB / 0.6099 GB, free: 92.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/1.611, allocations: 278.3 kB / 0.6101 GB, free: 92.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.622, allocations: 4.939 MB / 0.615 GB, free: 92.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.532e-05/1.622, allocations: 46.67 kB / 0.615 GB, free: 92.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/1.622, allocations: 3.594 kB / 0.615 GB, free: 92.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/1.622, allocations: 16.83 kB / 0.615 GB, free: 92.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02425/1.647, allocations: 10.82 MB / 0.6256 GB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/1.647, allocations: 10.47 kB / 0.6256 GB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.649, allocations: 400.5 kB / 0.626 GB, free: 89.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/1.652, allocations: 0.7675 MB / 0.6267 GB, free: 89.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004762/1.653, allocations: 24.64 kB / 0.6267 GB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006176/1.659, allocations: 3.849 MB / 0.6305 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-05/1.659, allocations: 29.41 kB / 0.6305 GB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.673, allocations: 8.314 MB / 0.6387 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.675, allocations: 0.6769 MB / 0.6393 GB, free: 83.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000564/1.676, allocations: 15.8 kB / 0.6393 GB, free: 83.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.677, allocations: 113.4 kB / 0.6394 GB, free: 83.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004622/1.678, allocations: 152.6 kB / 0.6396 GB, free: 83.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.678, allocations: 80.98 kB / 0.6397 GB, free: 83.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002685/1.681, allocations: 1.506 MB / 0.6411 GB, free: 81.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.096e-06/1.681, allocations: 4 kB / 0.6411 GB, free: 81.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006303/1.687, allocations: 0.8777 MB / 0.642 GB, free: 80.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (198): * Single equations (assignments): 191 * 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.000607/1.688, allocations: 159.2 kB / 0.6421 GB, free: 80.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009611/1.697, allocations: 5.425 MB / 0.6474 GB, free: 75.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.697, allocations: 5 kB / 0.6474 GB, free: 75.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.701, allocations: 2.072 MB / 0.6495 GB, free: 73.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.703, allocations: 238.2 kB / 0.6497 GB, free: 73.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/1.724, allocations: 9.094 MB / 0.6586 GB, free: 65.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007427/1.732, allocations: 3.512 MB / 0.662 GB, free: 62.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.733, allocations: 261.5 kB / 0.6623 GB, free: 62.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.015e-06/1.733, allocations: 2.953 kB / 0.6623 GB, free: 62.52 MB / 410.7 MB Notification: Performance of Templates: time 0.1038/1.837, allocations: 71.96 MB / 0.7325 GB, free: 10.49 MB / 426.7 MB