Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002708/0.002712, allocations: 360 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.388/4.388, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003552/0.003552, allocations: 224.4 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5604/0.5604, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004667, allocations: 16 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 54.86 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5082/0.6194, allocations: 99.85 MB / 0.7776 GB, free: 1.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.6198, allocations: 85.95 kB / 0.7777 GB, free: 1.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5094/1.129, allocations: 116 MB / 0.891 GB, free: 4.898 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.417e-06/1.129, allocations: 7.938 kB / 0.891 GB, free: 4.891 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002881/1.13, allocations: 88 kB / 0.8911 GB, free: 4.805 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.3766/1.506, allocations: 4.628 MB / 0.8956 GB, free: 100.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.506, allocations: 9.469 kB / 0.8956 GB, free: 100.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02932/1.536, allocations: 3.625 MB / 0.8992 GB, free: 100.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/1.55, allocations: 3.713 MB / 0.9028 GB, free: 100.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007453/1.551, allocations: 378.8 kB / 0.9031 GB, free: 100.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003879/1.555, allocations: 0.4892 MB / 0.9036 GB, free: 100.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04299/1.598, allocations: 12.13 MB / 0.9155 GB, free: 98.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000399/1.598, allocations: 37.89 kB / 0.9155 GB, free: 98.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003291/1.601, allocations: 227.6 kB / 0.9157 GB, free: 98.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003498/1.605, allocations: 1.393 MB / 0.9171 GB, free: 98.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03378/1.639, allocations: 11.21 MB / 0.928 GB, free: 98.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08791/1.727, allocations: 42.68 MB / 0.9697 GB, free: 75.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/1.742, allocations: 4.73 MB / 0.9743 GB, free: 73.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005312/1.747, allocations: 2.431 MB / 0.9767 GB, free: 72.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/1.749, allocations: 1.322 MB / 0.978 GB, free: 70.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/1.749, allocations: 52.12 kB / 0.978 GB, free: 70.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 6.953e-06/1.749, allocations: 0 / 0.978 GB, free: 70.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.07826/1.827, allocations: 19.52 MB / 0.9971 GB, free: 59.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.827, allocations: 103 kB / 0.9972 GB, free: 59.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/1.834, allocations: 3.225 MB / 1 GB, free: 56.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006683/1.835, allocations: 65.95 kB / 1 GB, free: 56.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.838, allocations: 3.265 MB / 1.004 GB, free: 53.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.839, allocations: 0.9725 MB / 1.005 GB, free: 52.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007562/1.84, allocations: 120 kB / 1.005 GB, free: 52.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004818/1.841, allocations: 0.5719 MB / 1.005 GB, free: 52.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006218/1.847, allocations: 2.449 MB / 1.008 GB, free: 50.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009175/1.856, allocations: 5.83 MB / 1.013 GB, free: 43.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008444/1.865, allocations: 3.763 MB / 1.017 GB, free: 40.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001177/1.865, allocations: 36 kB / 1.017 GB, free: 39.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02567/1.891, allocations: 9.056 MB / 1.026 GB, free: 32.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.891, allocations: 55.94 kB / 1.026 GB, free: 32.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/1.891, allocations: 124.2 kB / 1.026 GB, free: 32.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/1.896, allocations: 1.059 MB / 1.027 GB, free: 31.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008808/1.905, allocations: 1.395 MB / 1.028 GB, free: 30.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.916, allocations: 5.082 MB / 1.033 GB, free: 25.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006464/1.923, allocations: 324.3 kB / 1.034 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/1.924, allocations: 349.9 kB / 1.034 GB, free: 25.07 MB / 474.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.006941/1.931, allocations: 2.476 MB / 1.036 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008403/1.932, allocations: 319.8 kB / 1.037 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/1.947, allocations: 5.34 MB / 1.042 GB, free: 17.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/1.948, allocations: 47.98 kB / 1.042 GB, free: 17.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.948, allocations: 8 kB / 1.042 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.464e-05/1.948, allocations: 11.95 kB / 1.042 GB, free: 17.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03744/1.985, allocations: 13.33 MB / 1.055 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/1.985, allocations: 12.25 kB / 1.055 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/1.989, allocations: 423.3 kB / 1.055 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005045/1.994, allocations: 0.8831 MB / 1.056 GB, free: 2.898 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006593/1.995, allocations: 59.81 kB / 1.056 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/2.005, allocations: 4.427 MB / 1.061 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-05/2.005, allocations: 15.94 kB / 1.061 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02286/2.028, allocations: 7.994 MB / 1.069 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/2.031, allocations: 0.7352 MB / 1.069 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/2.032, allocations: 52.09 kB / 1.069 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003196/2.035, allocations: 143.8 kB / 1.069 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009241/2.036, allocations: 173.5 kB / 1.07 GB, free: 4.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/2.036, allocations: 76 kB / 1.07 GB, free: 4.871 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006046/2.043, allocations: 1.974 MB / 1.072 GB, free: 2.902 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.342e-06/2.043, allocations: 0 / 1.072 GB, free: 2.902 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008828/2.051, allocations: 1.118 MB / 1.073 GB, free: 1.793 MB / 490.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.001317/2.053, allocations: 200.8 kB / 1.073 GB, free: 1.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.369/2.422, allocations: 5.997 MB / 1.079 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/2.422, allocations: 1.438 kB / 1.079 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006055/2.428, allocations: 2.255 MB / 1.081 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005075/2.433, allocations: 416.3 kB / 1.081 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03714/2.47, allocations: 13.86 MB / 1.095 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01135/2.482, allocations: 3.922 MB / 1.099 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01335/2.495, allocations: 2.209 MB / 1.101 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/2.498, allocations: 236 kB / 1.101 GB, free: 100.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.495e-06/2.498, allocations: 3.844 kB / 1.101 GB, free: 100.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1233/2.621, allocations: 35.04 MB / 1.135 GB, free: 98.73 MB / 490.7 MB