Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003954/0.00396, allocations: 347 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.492/3.492, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003428/0.003428, allocations: 218.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4843/0.4843, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007064/0.0007067, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1109, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.512, allocations: 92.24 MB / 0.6968 GB, free: 20.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5124, allocations: 83.95 kB / 0.6969 GB, free: 20.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7173/1.23, allocations: 90.02 MB / 0.7848 GB, free: 87.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.23, allocations: 0 / 0.7848 GB, free: 87.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001964/1.23, allocations: 81.12 kB / 0.7849 GB, free: 87.37 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.01769/1.248, allocations: 4.055 MB / 0.7888 GB, free: 85.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.248, allocations: 12.06 kB / 0.7889 GB, free: 85.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0384/1.286, allocations: 3.514 MB / 0.7923 GB, free: 85.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/1.3, allocations: 3.328 MB / 0.7955 GB, free: 84.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/1.301, allocations: 325.6 kB / 0.7958 GB, free: 84.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003521/1.305, allocations: 423.2 kB / 0.7962 GB, free: 84.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04657/1.351, allocations: 10.86 MB / 0.8069 GB, free: 83.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003448/1.352, allocations: 33.91 kB / 0.8069 GB, free: 83.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002962/1.355, allocations: 191.5 kB / 0.8071 GB, free: 83.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003972/1.359, allocations: 1.257 MB / 0.8083 GB, free: 82.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03981/1.398, allocations: 10.38 MB / 0.8184 GB, free: 79.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07757/1.476, allocations: 37.65 MB / 0.8552 GB, free: 51.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.494, allocations: 4.589 MB / 0.8597 GB, free: 47.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006735/1.501, allocations: 2.411 MB / 0.862 GB, free: 45.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/1.503, allocations: 1.314 MB / 0.8633 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/1.503, allocations: 56.56 kB / 0.8634 GB, free: 43.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 9.198e-06/1.503, allocations: 0 / 0.8634 GB, free: 43.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.08118/1.584, allocations: 17.62 MB / 0.8806 GB, free: 25.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/1.584, allocations: 73.41 kB / 0.8807 GB, free: 25.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/1.589, allocations: 2.764 MB / 0.8834 GB, free: 23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000483/1.589, allocations: 58.95 kB / 0.8834 GB, free: 22.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.591, allocations: 2.84 MB / 0.8862 GB, free: 20.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/1.592, allocations: 0.9162 MB / 0.8871 GB, free: 19.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/1.593, allocations: 107.9 kB / 0.8872 GB, free: 19.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000376/1.593, allocations: 0.5414 MB / 0.8877 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004873/1.598, allocations: 2.291 MB / 0.8899 GB, free: 16.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006897/1.605, allocations: 5.25 MB / 0.8951 GB, free: 9.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007943/1.613, allocations: 3.47 MB / 0.8985 GB, free: 6.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.437e-05/1.613, allocations: 28 kB / 0.8985 GB, free: 6.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.02119/1.634, allocations: 8.263 MB / 0.9066 GB, free: 13.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.634, allocations: 52 kB / 0.9066 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001517/1.634, allocations: 104 kB / 0.9067 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005029/1.639, allocations: 0.954 MB / 0.9076 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/1.647, allocations: 1.244 MB / 0.9089 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.659, allocations: 4.751 MB / 0.9135 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/1.665, allocations: 295.8 kB / 0.9138 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.666, allocations: 312 kB / 0.9141 GB, free: 5.949 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.006864/1.673, allocations: 2.18 MB / 0.9162 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008177/1.674, allocations: 285.3 kB / 0.9165 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3369/2.011, allocations: 5.097 MB / 0.9215 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/2.011, allocations: 45.55 kB / 0.9215 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/2.011, allocations: 2.531 kB / 0.9215 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.85e-05/2.011, allocations: 12.2 kB / 0.9215 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03655/2.048, allocations: 11.96 MB / 0.9332 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.44e-05/2.048, allocations: 12.73 kB / 0.9332 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/2.051, allocations: 398 kB / 0.9336 GB, free: 91.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004468/2.056, allocations: 0.7707 MB / 0.9343 GB, free: 91.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005545/2.056, allocations: 54.33 kB / 0.9344 GB, free: 91.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008734/2.065, allocations: 4.023 MB / 0.9383 GB, free: 90.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.539e-05/2.065, allocations: 16.12 kB / 0.9383 GB, free: 90.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0198/2.085, allocations: 7.586 MB / 0.9457 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/2.088, allocations: 0.6848 MB / 0.9464 GB, free: 89.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/2.089, allocations: 46.23 kB / 0.9464 GB, free: 89.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/2.092, allocations: 144.6 kB / 0.9466 GB, free: 89.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007361/2.092, allocations: 156.2 kB / 0.9467 GB, free: 89.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/2.093, allocations: 74.38 kB / 0.9468 GB, free: 89.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004117/2.097, allocations: 1.684 MB / 0.9485 GB, free: 89.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.222e-06/2.097, allocations: 3.875 kB / 0.9485 GB, free: 89.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006572/2.104, allocations: 1.008 MB / 0.9494 GB, free: 89.48 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.0009368/2.104, allocations: 190.2 kB / 0.9496 GB, free: 89.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/2.117, allocations: 5.601 MB / 0.9551 GB, free: 87.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/2.117, allocations: 0 / 0.9551 GB, free: 87.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005012/2.122, allocations: 2.14 MB / 0.9572 GB, free: 86.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/2.126, allocations: 383.2 kB / 0.9575 GB, free: 86.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/2.154, allocations: 12.25 MB / 0.9695 GB, free: 80.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008239/2.162, allocations: 3.519 MB / 0.9729 GB, free: 79.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008924/2.171, allocations: 1.995 MB / 0.9749 GB, free: 79.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/2.173, allocations: 210.9 kB / 0.9751 GB, free: 79.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.823e-06/2.173, allocations: 0 / 0.9751 GB, free: 79.27 MB / 426.7 MB Notification: Performance of Templates: time 0.08964/2.263, allocations: 31.65 MB / 1.006 GB, free: 64.33 MB / 426.7 MB