Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002696/0.002695, allocations: 348.3 kB / 15.94 MB, free: 6.219 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.687/3.687, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.006098/0.006098, allocations: 222.1 kB / 397.9 MB, free: 4.973 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.5588/0.5588, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09598, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5459, allocations: 93.05 MB / 0.6976 GB, free: 19.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5463, allocations: 79.95 kB / 0.6977 GB, free: 19.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7764/1.323, allocations: 115.9 MB / 0.8109 GB, free: 87.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.323, allocations: 7.875 kB / 0.8109 GB, free: 87.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002416/1.323, allocations: 90.16 kB / 0.811 GB, free: 87.59 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.02047/1.343, allocations: 4.638 MB / 0.8155 GB, free: 85.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.344, allocations: 7.25 kB / 0.8155 GB, free: 85.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02739/1.371, allocations: 3.633 MB / 0.8191 GB, free: 84.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/1.383, allocations: 3.7 MB / 0.8227 GB, free: 83.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00048/1.384, allocations: 375.8 kB / 0.823 GB, free: 82.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/1.387, allocations: 495.6 kB / 0.8235 GB, free: 82.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03786/1.425, allocations: 12.14 MB / 0.8354 GB, free: 75.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/1.425, allocations: 31.66 kB / 0.8354 GB, free: 75.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0025/1.428, allocations: 225.7 kB / 0.8356 GB, free: 75.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003272/1.431, allocations: 1.394 MB / 0.837 GB, free: 73.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03281/1.464, allocations: 11.22 MB / 0.8479 GB, free: 62.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08963/1.554, allocations: 42.66 MB / 0.8896 GB, free: 19.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/1.569, allocations: 4.72 MB / 0.8942 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00538/1.575, allocations: 2.432 MB / 0.8966 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/1.576, allocations: 1.318 MB / 0.8978 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.576, allocations: 60.56 kB / 0.8979 GB, free: 10.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=250): time 6.793e-06/1.576, allocations: 0 / 0.8979 GB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=268): time 0.0838/1.66, allocations: 19.52 MB / 0.917 GB, free: 6.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/1.66, allocations: 103.1 kB / 0.9171 GB, free: 6.227 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008665/1.669, allocations: 3.23 MB / 0.9202 GB, free: 2.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007097/1.67, allocations: 65.7 kB / 0.9203 GB, free: 2.918 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3207/1.991, allocations: 3.243 MB / 0.9235 GB, free: 96.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002085/1.993, allocations: 0.9755 MB / 0.9244 GB, free: 96.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009888/1.994, allocations: 122.5 kB / 0.9245 GB, free: 96.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007114/1.994, allocations: 0.5636 MB / 0.9251 GB, free: 95.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007238/2.002, allocations: 2.454 MB / 0.9275 GB, free: 95.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01066/2.012, allocations: 5.83 MB / 0.9332 GB, free: 91.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009629/2.022, allocations: 3.767 MB / 0.9368 GB, free: 91.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002384/2.022, allocations: 34.31 kB / 0.9369 GB, free: 91.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.03054/2.053, allocations: 9.062 MB / 0.9457 GB, free: 90.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/2.053, allocations: 59.94 kB / 0.9458 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003169/2.054, allocations: 115.6 kB / 0.9459 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/2.06, allocations: 1.068 MB / 0.9469 GB, free: 90.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009272/2.069, allocations: 1.378 MB / 0.9483 GB, free: 90.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/2.082, allocations: 5.091 MB / 0.9533 GB, free: 89.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006896/2.088, allocations: 323.2 kB / 0.9536 GB, free: 89.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002137/2.091, allocations: 354.5 kB / 0.9539 GB, free: 88.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (743): * Single equations (assignments): 736 * 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 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00853/2.099, allocations: 2.479 MB / 0.9563 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000911/2.1, allocations: 320.3 kB / 0.9566 GB, free: 87.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/2.117, allocations: 5.348 MB / 0.9618 GB, free: 85.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/2.117, allocations: 41.47 kB / 0.9619 GB, free: 85.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/2.117, allocations: 3.875 kB / 0.9619 GB, free: 85.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.783e-05/2.117, allocations: 17.73 kB / 0.9619 GB, free: 85.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03965/2.157, allocations: 13.32 MB / 0.9749 GB, free: 81.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.316e-05/2.157, allocations: 11.09 kB / 0.9749 GB, free: 81.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003842/2.161, allocations: 425.1 kB / 0.9753 GB, free: 81.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005129/2.166, allocations: 0.8954 MB / 0.9762 GB, free: 81.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006841/2.167, allocations: 55.61 kB / 0.9763 GB, free: 81.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00984/2.177, allocations: 4.424 MB / 0.9806 GB, free: 78.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/2.177, allocations: 18.47 kB / 0.9806 GB, free: 78.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/2.198, allocations: 7.983 MB / 0.9884 GB, free: 75.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003/2.201, allocations: 0.7355 MB / 0.9891 GB, free: 75.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/2.202, allocations: 55.69 kB / 0.9892 GB, free: 75.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/2.205, allocations: 137.5 kB / 0.9893 GB, free: 75.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/2.207, allocations: 175.5 kB / 0.9895 GB, free: 75.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/2.207, allocations: 75.64 kB / 0.9895 GB, free: 75.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005512/2.212, allocations: 1.978 MB / 0.9915 GB, free: 74.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.453e-06/2.213, allocations: 0 / 0.9915 GB, free: 74.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008441/2.221, allocations: 1.12 MB / 0.9926 GB, free: 74.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (209): * Single equations (assignments): 202 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/2.222, allocations: 205.2 kB / 0.9928 GB, free: 74.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01433/2.237, allocations: 5.992 MB / 0.9986 GB, free: 69.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/2.237, allocations: 4 kB / 0.9986 GB, free: 69.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00524/2.242, allocations: 2.252 MB / 1.001 GB, free: 67.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/2.246, allocations: 414.9 kB / 1.001 GB, free: 67.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/2.277, allocations: 13.85 MB / 1.015 GB, free: 54.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/2.287, allocations: 3.928 MB / 1.019 GB, free: 51.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009426/2.297, allocations: 2.209 MB / 1.021 GB, free: 49.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/2.298, allocations: 234.9 kB / 1.021 GB, free: 49.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/2.298, allocations: 0 / 1.021 GB, free: 49.59 MB / 426.7 MB Notification: Performance of Templates: time 0.1119/2.41, allocations: 35.04 MB / 1.055 GB, free: 18.61 MB / 426.7 MB