Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002649/0.002655, allocations: 363.3 kB / 15.95 MB, free: 6.207 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 3.995/3.995, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.00367/0.00367, allocations: 228.2 kB / 451 MB, free: 145 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.5068/0.5068, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006179/0.0006182, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09818, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5268/0.6251, allocations: 98.16 MB / 0.776 GB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6254, allocations: 79.09 kB / 0.776 GB, free: 3.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3957/1.021, allocations: 94.07 MB / 0.8679 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.021, allocations: 0 / 0.8679 GB, free: 12.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002405/1.021, allocations: 84 kB / 0.868 GB, free: 12.66 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.0245/1.046, allocations: 4.594 MB / 0.8725 GB, free: 7.992 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.046, allocations: 8.031 kB / 0.8725 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03844/1.084, allocations: 3.566 MB / 0.8759 GB, free: 4.406 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01973/1.104, allocations: 3.707 MB / 0.8796 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008049/1.105, allocations: 361.2 kB / 0.8799 GB, free: 308 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00425/1.109, allocations: 471.9 kB / 0.8804 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05504/1.164, allocations: 11.43 MB / 0.8915 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004071/1.165, allocations: 31.66 kB / 0.8916 GB, free: 3.906 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003656/1.169, allocations: 211.9 kB / 0.8918 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004824/1.174, allocations: 1.236 MB / 0.893 GB, free: 2.461 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4604/1.634, allocations: 10.88 MB / 0.9036 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08151/1.716, allocations: 38.4 MB / 0.9411 GB, free: 91.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.728, allocations: 4.388 MB / 0.9454 GB, free: 89.13 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004823/1.733, allocations: 2.164 MB / 0.9475 GB, free: 88.33 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/1.734, allocations: 1.316 MB / 0.9488 GB, free: 87.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/1.735, allocations: 60.31 kB / 0.9488 GB, free: 87.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 6.733e-06/1.735, allocations: 0 / 0.9488 GB, free: 87.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.07054/1.805, allocations: 13.98 MB / 0.9625 GB, free: 83.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.805, allocations: 78.75 kB / 0.9626 GB, free: 83.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005216/1.81, allocations: 2.958 MB / 0.9654 GB, free: 82.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007543/1.811, allocations: 60.11 kB / 0.9655 GB, free: 82.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003889/1.815, allocations: 3.098 MB / 0.9685 GB, free: 79.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/1.817, allocations: 0.9831 MB / 0.9695 GB, free: 79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/1.819, allocations: 121 kB / 0.9696 GB, free: 78.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009379/1.82, allocations: 0.5647 MB / 0.9702 GB, free: 78.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008964/1.829, allocations: 2.372 MB / 0.9725 GB, free: 77.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/1.84, allocations: 5.648 MB / 0.978 GB, free: 72.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.853, allocations: 3.661 MB / 0.9816 GB, free: 71.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001368/1.853, allocations: 35.59 kB / 0.9816 GB, free: 71.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.03841/1.891, allocations: 8.721 MB / 0.9901 GB, free: 67.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.891, allocations: 52 kB / 0.9902 GB, free: 67.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/1.892, allocations: 116 kB / 0.9903 GB, free: 67.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.902, allocations: 1.054 MB / 0.9913 GB, free: 66.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009126/1.912, allocations: 1.371 MB / 0.9926 GB, free: 65.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/1.915, allocations: 2.462 MB / 0.995 GB, free: 63.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005808/1.921, allocations: 323.1 kB / 0.9954 GB, free: 62.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.923, allocations: 348.2 kB / 0.9957 GB, free: 62.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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 (740): * Single equations (assignments): 731 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006358/1.929, allocations: 2.361 MB / 0.998 GB, free: 60.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000788/1.93, allocations: 300.1 kB / 0.9983 GB, free: 60.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.945, allocations: 5.078 MB / 1.003 GB, free: 56.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/1.945, allocations: 48.72 kB / 1.003 GB, free: 55.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.946, allocations: 8 kB / 1.003 GB, free: 55.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/1.946, allocations: 10.55 kB / 1.003 GB, free: 55.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0336/1.979, allocations: 11.8 MB / 1.015 GB, free: 46.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-05/1.979, allocations: 11.94 kB / 1.015 GB, free: 46.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/1.983, allocations: 429.1 kB / 1.015 GB, free: 45.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006021/1.989, allocations: 0.9119 MB / 1.016 GB, free: 45.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005874/1.99, allocations: 57.36 kB / 1.016 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003293/1.993, allocations: 2.267 MB / 1.018 GB, free: 43.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.993, allocations: 16.06 kB / 1.018 GB, free: 43.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/2.012, allocations: 7.518 MB / 1.026 GB, free: 36.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/2.013, allocations: 352.6 kB / 1.026 GB, free: 36.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009712/2.014, allocations: 49.56 kB / 1.026 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/2.018, allocations: 137.7 kB / 1.026 GB, free: 35.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/2.019, allocations: 166.3 kB / 1.026 GB, free: 35.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008554/2.02, allocations: 74.62 kB / 1.027 GB, free: 35.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007192/2.027, allocations: 1.8 MB / 1.028 GB, free: 34.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.027, allocations: 0 / 1.028 GB, free: 34.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0108/2.038, allocations: 1.045 MB / 1.029 GB, free: 33.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/2.039, allocations: 195.6 kB / 1.029 GB, free: 33.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02379/2.063, allocations: 6.218 MB / 1.036 GB, free: 26.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/2.063, allocations: 0 / 1.036 GB, free: 26.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01144/2.074, allocations: 2.598 MB / 1.038 GB, free: 24.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007686/2.082, allocations: 493 kB / 1.039 GB, free: 23.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04382/2.126, allocations: 13.53 MB / 1.052 GB, free: 10.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/2.138, allocations: 3.75 MB / 1.055 GB, free: 6.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01339/2.151, allocations: 2.144 MB / 1.058 GB, free: 4.348 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/2.154, allocations: 246.8 kB / 1.058 GB, free: 4.109 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/2.154, allocations: 0 / 1.058 GB, free: 4.109 MB / 474.7 MB Notification: Performance of Templates: time 0.4508/2.605, allocations: 33.48 MB / 1.09 GB, free: 102.6 MB / 490.7 MB