Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002674/0.002679, allocations: 360.8 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.004/4.004, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003748/0.003748, allocations: 231 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.5223/0.5224, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.6385, allocations: 101.7 MB / 0.7794 GB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.6389, allocations: 85.89 kB / 0.7795 GB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4718/1.111, allocations: 96.9 MB / 0.8741 GB, free: 6.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.309e-06/1.111, allocations: 0 / 0.8741 GB, free: 6.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000357/1.111, allocations: 88 kB / 0.8742 GB, free: 6.234 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.03637/1.148, allocations: 4.744 MB / 0.8788 GB, free: 1.418 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.148, allocations: 8.031 kB / 0.8788 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0288/1.176, allocations: 3.589 MB / 0.8823 GB, free: 13.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/1.19, allocations: 3.793 MB / 0.886 GB, free: 9.973 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/1.191, allocations: 378.2 kB / 0.8864 GB, free: 9.602 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/1.194, allocations: 495.7 kB / 0.8869 GB, free: 9.117 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3776/1.571, allocations: 12.13 MB / 0.8987 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003365/1.572, allocations: 31.83 kB / 0.8988 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002815/1.575, allocations: 224.1 kB / 0.899 GB, free: 101 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003507/1.578, allocations: 1.315 MB / 0.9003 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03694/1.615, allocations: 11.41 MB / 0.9114 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08502/1.7, allocations: 41.81 MB / 0.9522 GB, free: 81.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/1.716, allocations: 4.954 MB / 0.9571 GB, free: 79.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00527/1.722, allocations: 2.384 MB / 0.9594 GB, free: 78.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/1.737, allocations: 6.51 MB / 0.9657 GB, free: 74.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/1.737, allocations: 59.09 kB / 0.9658 GB, free: 74.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=228): time 6.482e-06/1.737, allocations: 0 / 0.9658 GB, free: 74.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=237): time 0.06349/1.801, allocations: 16.23 MB / 0.9816 GB, free: 69.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/1.801, allocations: 71.31 kB / 0.9817 GB, free: 69.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00629/1.807, allocations: 3.179 MB / 0.9848 GB, free: 68.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005641/1.808, allocations: 59.16 kB / 0.9849 GB, free: 68.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002623/1.81, allocations: 3.274 MB / 0.9881 GB, free: 65.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.812, allocations: 0.885 MB / 0.9889 GB, free: 64.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/1.813, allocations: 119.6 kB / 0.9891 GB, free: 64.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004151/1.813, allocations: 0.57 MB / 0.9896 GB, free: 64.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005573/1.819, allocations: 2.381 MB / 0.9919 GB, free: 63.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008187/1.827, allocations: 5.757 MB / 0.9976 GB, free: 58.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007979/1.835, allocations: 3.693 MB / 1.001 GB, free: 55.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/1.835, allocations: 32 kB / 1.001 GB, free: 55.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02582/1.861, allocations: 8.909 MB / 1.01 GB, free: 48.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.861, allocations: 63.53 kB / 1.01 GB, free: 47.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/1.861, allocations: 116 kB / 1.01 GB, free: 47.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006185/1.867, allocations: 1.159 MB / 1.011 GB, free: 47.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/1.876, allocations: 1.377 MB / 1.013 GB, free: 45.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008447/1.884, allocations: 4.591 MB / 1.017 GB, free: 41.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006151/1.891, allocations: 323.6 kB / 1.017 GB, free: 41.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.892, allocations: 352.8 kB / 1.018 GB, free: 41.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (742): * Single equations (assignments): 734 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.005971/1.898, allocations: 2.415 MB / 1.02 GB, free: 39.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000748/1.899, allocations: 304 kB / 1.02 GB, free: 38.76 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.91, allocations: 4.432 MB / 1.025 GB, free: 35.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.622e-05/1.91, allocations: 53.41 kB / 1.025 GB, free: 35.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.91, allocations: 0 / 1.025 GB, free: 35.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-05/1.91, allocations: 10.83 kB / 1.025 GB, free: 35.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.936, allocations: 10.45 MB / 1.035 GB, free: 26.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.936, allocations: 8 kB / 1.035 GB, free: 26.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003539/1.94, allocations: 398.1 kB / 1.035 GB, free: 25.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003357/1.943, allocations: 0.6717 MB / 1.036 GB, free: 25.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000489/1.944, allocations: 53.53 kB / 1.036 GB, free: 25.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/1.948, allocations: 2.406 MB / 1.038 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.948, allocations: 11.94 kB / 1.038 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.964, allocations: 6.774 MB / 1.045 GB, free: 16.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/1.965, allocations: 345.1 kB / 1.045 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.966, allocations: 52.88 kB / 1.045 GB, free: 16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.969, allocations: 136.7 kB / 1.045 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006275/1.969, allocations: 130.7 kB / 1.046 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.97, allocations: 68.69 kB / 1.046 GB, free: 15.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004641/1.974, allocations: 1.924 MB / 1.048 GB, free: 13.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/1.974, allocations: 0 / 1.048 GB, free: 13.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0066/1.981, allocations: 1.077 MB / 1.049 GB, free: 12.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[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 (191): * Single equations (assignments): 182 * 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.0008035/1.982, allocations: 187.9 kB / 1.049 GB, free: 12.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0138/1.996, allocations: 5.813 MB / 1.054 GB, free: 6.707 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.996, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006672/2.002, allocations: 2.412 MB / 1.057 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/2.007, allocations: 449.4 kB / 1.057 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03288/2.039, allocations: 13.47 MB / 1.07 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009526/2.049, allocations: 3.835 MB / 1.074 GB, free: 2.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009581/2.059, allocations: 2.055 MB / 1.076 GB, free: 476 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/2.06, allocations: 235.4 kB / 1.076 GB, free: 240 kB / 490.7 MB Notification: Performance of SimCode: time 1.533e-06/2.06, allocations: 0 / 1.076 GB, free: 240 kB / 490.7 MB Notification: Performance of Templates: time 0.4777/2.538, allocations: 34.23 MB / 1.11 GB, free: 103.4 MB / 490.7 MB