Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.949/1.949, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.000631, allocations: 8 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4833, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.6559, allocations: 92.24 MB / 424 MB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.6562, allocations: 83.95 kB / 424.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6798/1.336, allocations: 91.09 MB / 0.5031 GB, free: 89.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.139e-06/1.336, allocations: 0 / 0.5031 GB, free: 89.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000255/1.336, allocations: 88.36 kB / 0.5032 GB, free: 89.13 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.01664/1.353, allocations: 4.111 MB / 0.5072 GB, free: 86.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.353, allocations: 6.969 kB / 0.5072 GB, free: 86.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02701/1.38, allocations: 3.553 MB / 0.5107 GB, free: 85.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/1.398, allocations: 4.437 MB / 0.515 GB, free: 82.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.398, allocations: 322 kB / 0.5154 GB, free: 81.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003009/1.401, allocations: 435.2 kB / 0.5158 GB, free: 81.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03431/1.435, allocations: 10.95 MB / 0.5265 GB, free: 70.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00034/1.436, allocations: 43.64 kB / 0.5265 GB, free: 70.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002872/1.439, allocations: 194 kB / 0.5267 GB, free: 70.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002664/1.441, allocations: 1.25 MB / 0.5279 GB, free: 68.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03075/1.472, allocations: 10.47 MB / 0.5381 GB, free: 58.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08147/1.554, allocations: 37.72 MB / 0.575 GB, free: 19.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.568, allocations: 4.583 MB / 0.5794 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/1.57, allocations: 1.329 MB / 0.5807 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.57, allocations: 56.56 kB / 0.5808 GB, free: 13.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=242): time 8.696e-06/1.57, allocations: 0 / 0.5808 GB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=254): time 0.09436/1.665, allocations: 18.13 MB / 0.5985 GB, free: 11.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/1.665, allocations: 81.33 kB / 0.5986 GB, free: 11.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006499/1.671, allocations: 2.76 MB / 0.6013 GB, free: 8.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006423/1.672, allocations: 56.52 kB / 0.6013 GB, free: 8.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003239/1.675, allocations: 2.834 MB / 0.6041 GB, free: 5.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.677, allocations: 0.9135 MB / 0.605 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000878/1.678, allocations: 104 kB / 0.6051 GB, free: 4.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007582/1.679, allocations: 0.5462 MB / 0.6056 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007332/1.686, allocations: 2.291 MB / 0.6079 GB, free: 1.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.696, allocations: 5.254 MB / 0.613 GB, free: 10.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009441/1.706, allocations: 3.462 MB / 0.6164 GB, free: 7.391 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-05/1.706, allocations: 32 kB / 0.6164 GB, free: 7.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.3807/2.087, allocations: 8.198 MB / 0.6244 GB, free: 104.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/2.087, allocations: 49.5 kB / 0.6244 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002741/2.087, allocations: 101.8 kB / 0.6245 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008158/2.096, allocations: 0.9473 MB / 0.6255 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01158/2.107, allocations: 1.242 MB / 0.6267 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/2.123, allocations: 4.865 MB / 0.6314 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008568/2.132, allocations: 298.8 kB / 0.6317 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001971/2.134, allocations: 311.1 kB / 0.632 GB, free: 103.4 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.009051/2.143, allocations: 2.184 MB / 0.6341 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/2.144, allocations: 279.5 kB / 0.6344 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02052/2.164, allocations: 5.104 MB / 0.6394 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/2.165, allocations: 46.77 kB / 0.6394 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/2.165, allocations: 7.75 kB / 0.6395 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/2.165, allocations: 9.844 kB / 0.6395 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03453/2.199, allocations: 11.96 MB / 0.6511 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/2.199, allocations: 7.906 kB / 0.6512 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003537/2.203, allocations: 397.2 kB / 0.6515 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004491/2.207, allocations: 0.7731 MB / 0.6523 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006451/2.208, allocations: 57.03 kB / 0.6523 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00897/2.217, allocations: 4.139 MB / 0.6564 GB, free: 98.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/2.217, allocations: 16.47 kB / 0.6564 GB, free: 98.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/2.237, allocations: 7.593 MB / 0.6638 GB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00266/2.239, allocations: 0.6829 MB / 0.6645 GB, free: 95.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/2.24, allocations: 46.12 kB / 0.6645 GB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/2.243, allocations: 140.3 kB / 0.6647 GB, free: 95.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006463/2.244, allocations: 159.5 kB / 0.6648 GB, free: 95.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/2.244, allocations: 69.25 kB / 0.6649 GB, free: 95.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004533/2.249, allocations: 1.689 MB / 0.6665 GB, free: 95.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.249, allocations: 0 / 0.6665 GB, free: 95.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00681/2.256, allocations: 1.008 MB / 0.6675 GB, free: 94.94 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.0007381/2.256, allocations: 194.6 kB / 0.6677 GB, free: 94.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01302/2.269, allocations: 5.599 MB / 0.6732 GB, free: 93.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/2.269, allocations: 0 / 0.6732 GB, free: 93.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005218/2.275, allocations: 2.142 MB / 0.6753 GB, free: 92.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/2.278, allocations: 361.8 kB / 0.6756 GB, free: 92.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02758/2.305, allocations: 12.74 MB / 0.688 GB, free: 81.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007096/2.313, allocations: 3.529 MB / 0.6915 GB, free: 78.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/2.314, allocations: 264 kB / 0.6917 GB, free: 78.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.314, allocations: 0 / 0.6917 GB, free: 78.65 MB / 426.7 MB Notification: Performance of Templates: time 0.14/2.455, allocations: 73.24 MB / 0.7633 GB, free: 10.22 MB / 426.7 MB