Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004361/0.00436, allocations: 348.3 kB / 15.94 MB, free: 6.215 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 4/4, allocations: 341.5 MB / 358.2 MB, free: 12.57 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.005401/0.0054, allocations: 226.1 kB / 397.9 MB, free: 4.906 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.5226/0.5226, allocations: 76.1 MB / 0.5014 GB, free: 112.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00078/0.0007802, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1307, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5357/0.6664, allocations: 92.49 MB / 0.6971 GB, free: 20.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.6668, allocations: 79.97 kB / 0.6971 GB, free: 20.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8295/1.496, allocations: 127.6 MB / 0.8217 GB, free: 84.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.747e-06/1.496, allocations: 3.938 kB / 0.8217 GB, free: 84.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004078/1.497, allocations: 116.7 kB / 0.8218 GB, free: 84.07 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: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.03232/1.529, allocations: 6.491 MB / 0.8282 GB, free: 79.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/1.529, allocations: 7.875 kB / 0.8282 GB, free: 79.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04585/1.575, allocations: 5.542 MB / 0.8336 GB, free: 77.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02143/1.597, allocations: 7.131 MB / 0.8406 GB, free: 70.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/1.597, allocations: 441.6 kB / 0.841 GB, free: 69.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004147/1.601, allocations: 0.5751 MB / 0.8415 GB, free: 69.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05094/1.652, allocations: 15.28 MB / 0.8565 GB, free: 53.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004541/1.653, allocations: 55.5 kB / 0.8565 GB, free: 53.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003747/1.657, allocations: 267.3 kB / 0.8568 GB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004264/1.661, allocations: 1.691 MB / 0.8584 GB, free: 51.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04438/1.705, allocations: 14.66 MB / 0.8727 GB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4414/2.147, allocations: 56.12 MB / 0.9275 GB, free: 80.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0318/2.179, allocations: 7.942 MB / 0.9353 GB, free: 79.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01116/2.19, allocations: 4.726 MB / 0.9399 GB, free: 79.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/2.193, allocations: 2.21 MB / 0.9421 GB, free: 77.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.225e-05/2.193, allocations: 67.81 kB / 0.9421 GB, free: 77.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=367): time 8.877e-06/2.193, allocations: 0 / 0.9421 GB, free: 77.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=419): time 0.1893/2.383, allocations: 39.58 MB / 0.9808 GB, free: 71.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/2.383, allocations: 113.3 kB / 0.9809 GB, free: 71.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/2.394, allocations: 4.345 MB / 0.9851 GB, free: 70.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001306/2.395, allocations: 93.2 kB / 0.9852 GB, free: 69.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003702/2.399, allocations: 3.9 MB / 0.989 GB, free: 67.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002847/2.402, allocations: 1.493 MB / 0.9905 GB, free: 65.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/2.403, allocations: 156.8 kB / 0.9906 GB, free: 65.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007784/2.404, allocations: 0.636 MB / 0.9913 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/2.415, allocations: 3.892 MB / 0.9951 GB, free: 64.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01338/2.428, allocations: 7.704 MB / 1.003 GB, free: 57.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.442, allocations: 5.432 MB / 1.008 GB, free: 54.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/2.442, allocations: 36 kB / 1.008 GB, free: 54.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.04391/2.486, allocations: 14.04 MB / 1.022 GB, free: 43.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/2.486, allocations: 60 kB / 1.022 GB, free: 43.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/2.486, allocations: 128 kB / 1.022 GB, free: 43.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/2.5, allocations: 2.625 MB / 1.024 GB, free: 41.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/2.514, allocations: 1.944 MB / 1.026 GB, free: 40.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03032/2.544, allocations: 13.64 MB / 1.04 GB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00994/2.554, allocations: 479.1 kB / 1.04 GB, free: 28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/2.557, allocations: 431.4 kB / 1.04 GB, free: 27.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (920): * Single equations (assignments): 912 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009651/2.566, allocations: 2.898 MB / 1.043 GB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/2.568, allocations: 466 kB / 1.044 GB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03313/2.601, allocations: 10.41 MB / 1.054 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001237/2.601, allocations: 65.31 kB / 1.054 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-05/2.601, allocations: 12 kB / 1.054 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/2.601, allocations: 15.94 kB / 1.054 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06925/2.671, allocations: 21.03 MB / 1.075 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.417e-05/2.671, allocations: 12 kB / 1.075 GB, free: 8.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007869/2.679, allocations: 0.7917 MB / 1.075 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/2.693, allocations: 2.395 MB / 1.078 GB, free: 5.715 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/2.694, allocations: 76.94 kB / 1.078 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03163/2.726, allocations: 12.38 MB / 1.09 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-05/2.726, allocations: 15.94 kB / 1.09 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.371/3.097, allocations: 14.84 MB / 1.104 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004699/3.102, allocations: 1.156 MB / 1.105 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/3.104, allocations: 76.31 kB / 1.106 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006114/3.11, allocations: 291.6 kB / 1.106 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001538/3.111, allocations: 266.9 kB / 1.106 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005416/3.112, allocations: 113.7 kB / 1.106 GB, free: 110.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008069/3.12, allocations: 2.708 MB / 1.109 GB, free: 110 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.593e-06/3.12, allocations: 1.906 kB / 1.109 GB, free: 110 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01101/3.131, allocations: 1.657 MB / 1.11 GB, free: 110 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/3.133, allocations: 233.6 kB / 1.111 GB, free: 110 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02531/3.158, allocations: 9.726 MB / 1.12 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/3.158, allocations: 2.219 kB / 1.12 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01072/3.169, allocations: 4.235 MB / 1.124 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007569/3.176, allocations: 0.6898 MB / 1.125 GB, free: 107.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04324/3.22, allocations: 18.42 MB / 1.143 GB, free: 98.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/3.231, allocations: 4.742 MB / 1.148 GB, free: 97.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01279/3.244, allocations: 2.734 MB / 1.15 GB, free: 97.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003186/3.247, allocations: 343.8 kB / 1.151 GB, free: 97.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/3.247, allocations: 0 / 1.151 GB, free: 97.04 MB / 458.7 MB Notification: Performance of Templates: time 0.1915/3.439, allocations: 65.23 MB / 1.214 GB, free: 49.84 MB / 458.7 MB